Recently, due to learning needs, we had to switch from windows to Linux, and the school had to pass the re certification on the Internet. After reading a lot of materials, we finally achieved the re certification on Ubuntu. If you don't talk much
This article is from:Http://blog.csdn.net/hongchangfirst
1./USR and usr are not the abbreviation of user, But UNIX software resource. That is to say,/usr is the directory of UNIX operating system software resources.
In 2tar-jxvf filename.tar.bz2,
Generally, the development of embedded Linux requires the following process:
01. Establish a Development Environment
02. Configure the development host
> Minicom
> FTP
> NFS
03. Create a bootstrap loader
> U-boot
> Blob
> Vivi
> Lilo
>
Linux LCD Devices are abstracted as standard framebuffer devices. You only need to modify the scanning time and resolution related to the LCD.
1. Modify ARCH/ARM/mach-s3c2440/mach-smdk2440.c as follows:
/* LCD Driver info */
Static struct
In Linux, SD card support is very complete. We only need to follow the following modifications to complete SD card initialization.
1, arch/ARM/mach-s3c2440/mach-smdk2440.c platform structure to add the & amp; S _ device_sdi statement.
Static struct
I. Introduction to the Environment Platform1. kernel environment: vivilinux-2.6.34 crossover compiler arm-cross4.3.2-EABI (soft floating point Operation)2. source code package of the yaffs File System
Ii. compilation processDownload the linux2.6.34
Comparison between Linux and uClinux
Standard Linux is designed for MMU processors. On such a processor, virtual addresses are sent to MMU to map virtual addresses to physical addresses. By assigning different virtual-physical address translation
Currently, Linux software engineers can be divided into two levels:
(1) Application Software Engineer ):
Mainly uses C library functions and Linux APIs to write application software;
For development in this area, you need to learn about the
Struct super_operation new_super{. Read = new_read;. Write = new_write;// More such statements};
Another syntax is as follows:Struct super_operation new_super{Read: new_read;Write: new_write;// More such statements};First, assign a value to the
In kernel 2.4, the stack is defined as follows:
Union task_union {
Struct task_struct task;
Unsigned long stack [init_task_size/sizeof (long)];
};
Init_task_size can only be 8 K.
When the kernel assigns a task_struct structure to each process,
Embedded Linux OS learning plan
The arm + LINUX route focuses on the embedded Linux operating system and its application software development goals: (1) master the structure and principles of mainstream embedded microprocessor (initially set as ARM9
Linux Kernel linked list (2)
I previously described how to create a kernel linked list (init_list_head) and add a node (list_add) to the linked list to delete a linked list node (list_del) to obtain the struct (list_entry) corresponding to a linked
Driver of a blocking character device
As mentioned above, how to implement read write and other operations, but if the device buffer is full and the user wants to write data to the device now, the request cannot be executed immediately. What should
Important data structures in character Devices
Most character-driven designs three important data structures struct file_operationsStruct FileStruct inode
I. File OperationsIn the previous article, I have already introduced how to use device
Character Device Simulation pipe driver
Let's end the simple character device with a device driver of "pipe" (The Pipe mentioned here is not a standard pipe, but it just simulates a device that writes data from one end to the other)
Test code 1 test
Main file operation methods
File operation functions have many operation interfaces. driver programming needs to implement these interfaces, which will be called by the System During User Programming.
struct file_operations {...loff_t (*llseek)
Socket process communication and network communication use a unified set of interfaces, but the address structure is different from some parameters.
I. The process for creating a socket server is as follows:
(1) create a socket of the af_local or af_
Kernel boot is stuck in Uncompressing Linux... Done, booting the kernel. This seems to be a common problem. There are also a number of causes listed on the Internet, but this time I met, but Baidu did not come up with a solution, and it took me a
Cu homepage comment fh265> blog, Weibo, album, personal center, friend message [exit] Comment
Announcement: remembering that the Dennis Ritchie event is about to kick off! Xiao Bai's blog-improve yourself and share others
Xiaoyun.blog.chinaunix.net
From: http://blog.csdn.net/hongchangfirst
The last time we talked about the Linux Process descriptor, this time we are talking about the memory descriptor. the Linux memory descriptor is also represented by a struct, specifically the mm_struct
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service