. Change to that directory enters the catalog that you just created. [Email protected]-desktop:~ $CD hello- World4. Source the environment Setup toGetaccess to Qmake and the GCC compiler import environment variables so that you can use the Qmake and GCC compilers. [Email protected]-desktop:~/hello-world$ source/home/user/ti-sdk-am335x-evm-05.03.00.00/linux-devkit/environment-Setup5. Create ANewFile:hello-world.cpp and copyinchThe following sour
Contents
[Hide]
1Introduction
2Driver Configuration
2.1Sysfs entries configuration
3IRQ handling
4Driver Usage
4.1Kernel Level
4.2User Space-Sysfs control
5References
Introduction
This wiki page provides the usage information of GPIO Linux driver usage, both in user and kernel space.
Set pinmux configuration for GPIO pin usage, details of pinmux configuration are mentioned on PSP user guide. If the pinmux settings are not proper then expected functionality will not
Mail: bookworepeng@Hotmail.com
QQ: 196568501
Author: drivermonkey
Phone: 13410905075
Tested hardware platform: Ti am335x
Test code:
/* * SPI testing utility (using spidev driver) * * Copyright (c) 2007 MontaVista Software, Inc. * Copyright (c) 2007 Anton Vorontsov
Test results:
Currently, the SPI Driver Interface transfers up to 4 K bytes of data at a time.
the transmitter and receiver respectively. Each channel has its own data, clock, and control signal. The MII data interface requires a total of 16 signals. The management interface is a dual-signal interface: one is the clock signal, and the other is the data signal. Through the management interface, the upper layer can monitor and control the phy.To sum up, MII can be understood as the exchange interface between MAC and PHY. There are two types of interfaces. One is the management interface, w
Android from hardware to application: Step by Step 2 -- run the C program to test the hardware driver
Compile a C program to quickly test the hardware driver:
Create the driver_test folder in the external Folder under the root directory of the Android source code:
Cd external
Mkdir driver_test
Cd driver_test
Create Android. mk:
LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)LOCAL_MODULE_TAGS := optionalLOCAL_MODULE := driver_testLOCAL_SRC_FILES := driver_test.cinclude $(BUILD_EXECUTABLE)Creat
, you need to manually mount the USB flash drive:
mount /dev/sda4 /mntYou can mount the USB flash drive to the mnt directory. Then run the cd command to switch to the/mnt directory, and then run the ls command to view the files in the USB flash drive:
@tqimx6q #mount /dev/sda4 mnt/FAT-fs (sda4): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.@tqimx6q #cd mnt/@tqimx6q mnt#lsDDR??M.txtL3.0.35_4.1.0_130816_source.tar.gzalsa-wm8960.tar.bz2archimx6_corec_q1g_cd1.isoim
Label: style blog HTTP ar SP Div 2014 on
Am335x is a powerful arm cortex A8 kernel processing chip launched by Ti (Texas Instruments. As an official partner of Ti (Texas Instruments), based on this chip, Alibaba Cloud has successively developed and produced three industrial development platforms: 335xd, 335xs, and 335xs-ⅱ. As the latest 335xs-ⅱ development platform for all products, since its advent, its small size (104mm * 81mm ), the quality of in
/************************************************************************** * OK335XS U-boot compilation problem no Li Nux Shell Problem * Statement: * Mainly because the system was made by my master, he removed some information, and because he is not currently in the next, in reference to some documents when the following situations occur. * 2015-7-17 Yin Shenzhen Nanshan Ping Shan village Zengjianfeng ************************************************************** ***********/first, the use of
command:$ ./configure --host=arm-arago-linux-gnueabiThe –host=arm-arago-linux-gnueabi here indicates the development of the platform, if not run on the corresponding arm, directly run "./configure" can.Generate makefile, load execute make command. There will be a dynamic library libglog.so.0 of. So in the Glog current directory. Copy it to the target machine's/usr/lib directory.Note: The compiler and runtime are not the same, the runtime is in the/usr/lib, when the compiler applied to the Glog
first, the hardware platform: TI am335x Chip
Second, the software platform: Ubuntu 10.04
introduction of USB CDC ACM Drive
The CDC class of USB is the abbreviation of USB Communication device Class (Communication Device Class). CDC class is a type of USB subclass that is defined by a USB organization to be used by a variety of communication devices (telecommunications and medium-speed network communication devices).
Linux Kernel native to the provin
VS2010 to debug Linux program method based on arm
To build such a debugging environment, is inadvertently mentioned visulgdb this plug-in, and then search to its official website, found that there is a raspberry based on the document. So, just want to use the Development Board also run Linux system, can also learn from such debugging means. Although the two systems are still different, but think of such debugging means, after all, than the command line debugging, or by print debugging convenien
the system (can enter UNAME-R to view the system version) seems to have bugs, their own dtbo files, even if placed in the specified directory, the system can not automatically load. I'll solve the problem in the back of the log. )Finally, the DTS file I used was changed on the basis of/lib/firmware/bb-bone-lcd4-01-00a1.dts. (In fact, basically nothing changed, that is, the name and version number changed a bit.) I don't know how to change the parameters of the LCD. ) Hardware Connection The EEP
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.