Key and difficult points of Linux device drivers

Source: Internet
Author: User

1. Write Linux device driver, require engineers have a certain hardware foundation, know how SRAM, Flash, SDRAM, disk read and write,

The interface of UART, I²c, USB and other devices, polling, interrupt, DMA principle, PCI bus working mode and CPU memory management MMU.

2. Have a good C language Foundation, can flexibly use the structure, pointers, function pointers and memory dynamic application and release.

3. Have a certain Linux kernel base, at least understand the interface between the driver and the kernel,

4. Requires engineers to have very good multi-tasking concurrency control and synchronization basis, because in the drive will be used in a large number of spin locks, mutexes, semaphores, etc.

Wait for the queue and other concurrency and synchronization mechanisms.

5. The Linux-driven analysis method is entire areas, which puts the understanding of functions and data structures in the context of the entire framework.

Key and difficult points of Linux device drivers

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.