Research and Implementation of Board Support Based on Embedded Linux System
- Author
- XuLin
- Advisor
- LiuYanMing
- School
- Xi'an University of Electronic Science and Technology
- Major
- Communication and Information System
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 80
- Citations
- 3
Abstract
This thesis mainly discusses the BSP technology of embedded Linux system. Firstly, the thesis introduces the basic concept of embedded Linux BSP and analyzes the basic function, implementation, programming interface of bootloader and device driver.The Linux 2.6 kernel builds a unified device model as a foundation mechanism behind device driver. The device model decides the framework and programming interface of device driver. We study the data structures, hierarchy, components of device model in detail and discuss the driver programming of platform bus device including device registrations, main data structure and framework. A basic procedure and method porting driver to new device model are proposed accordingly.Finally, the thesis describes the detail procedure of the BSP development in an actual project. We use U-boot as bootloader, and discuss its structure, characteristic and porting. As an example, a driver for ethernet interface chip is analyzed to show all details involved for driver development. Therefore, a reference model is proposed to understand and design device driver under kernel 2.6.
Table of contents
Abstract 3-4
Abstract 4-8
first chapter 8-12
1.1 topics background 8-9 < br /> 1.2 BSP Technical Overview 9-10
1.3 The main contents and work 10
1.4 thesis is organized 10-12
second Zhang embedded LINUX system BSP 12-34
2.1 BSP and embedded operating system 12-17
2.1.1 BSP function 12-13 <br / > 2.1.2 BSP caused by differences in the hardware structural differences 13
2.1.3 BSP functional differences caused by structural differences 13-14
2.1.4 different operating systems BSP comparison 14-16
2.1.5 embedded Linux System BSP 16-17
2.2 embedded system boot technology 17-24
2.2.1 Bootloader role 17-18
2.2.2 Bootloader related technologies 18-20
2.2.3 Bootloader stage1 process 20-22
2.2.4 Bootloader stage2 process 22-24
2.3 device driver basic concepts 24-28
2.3.1 external I / O device composition principle 24-25
2.3.2 external I / O device software principles 25-26
2.3.3 device driver functions and call 26-28 <br / > 2.4 LINUX device driver 28-34
2.4.1 on Linux device driver role 28-29
2.4.2 Linux devices under classification 29-30
2.4.3 Linux in a device-independent software 30-31
2.4.4 device file nodes 31-32
2.4.5 driver module 32
2.4.6 Linux device services under the flow 32-34
Chapter LINUX device model 34-48
3.1 equipment model Overview 34-36
3.1.1 kernel object mechanism 34-35
3.1.2 sysfs virtual file system 35-36
3.2 kernel object key mechanism data structure 36-39
3.2.1 kobject kernel objects 36-37
3.2.2 kset kernel object collection 37
3.2.3 subsystem kernel Object subsystem 37-38
3.2.4 kobject, kset and subsystem structural relationship 38-39
3.3 device model components 39-43 <br / > 3.3.1 devices (devices) 39-40
3.3.2 driver (drivers) 40
3.3.3 bus (buses) 40-42 < br /> 3.3.4 categories (classes) 42-43
3.3.5 relationship between the various components of the device model 43
3.4 device driver model in embedded systems programming achieve 43-48
3.4.1 Platform bus registered 44
3.4.2 platform bus device driver core data structure 44-45
3.4.3 platform bus driven framework 45-47
3.4.4 Platform comparison bus and PCI bus 47
3.4.5 embedded -based device driver model write 47-48
Chapter LINUX-based systems embedded industrial controllers BSP achieve 48-66
4.1 embedded controller hardware description 48 -51
4.1.1 hardware Details 48-49
4.1.2 LAN91C111 ethernet controller Introduction 49-51
4.2 LINUX boot loader under the U- BOOT transplant 51-56
4.2.1 U-boot feature 51-52
4.2.2 U-boot source code directory structure 52-53
4.2.3 U-boot porting process 53-56
4.3 LINUX2.6 kernel MYPRO board transplant 56-59
4.3.1 Linux2 .6 the ARM memory map 56-58
4.3.2 build development board platform description file 58-59
4.4 LINUX network driver to prepare 59 - 62
4.4.1 Linux network device driver framework 59-60
4.4.2 Linux network Device Interface 60-62
4.5 LAN91C111 network device driver implementation 62-66
4.5.1 network devices registered 62-63
4.5.2 network equipment operator interface functions to achieve 63-66
Summary and Prospect 66-68
Thanks 68-70
References 70-72
during the reading of research 72-73
Related dissertations
- Research on Oil Fume Monitoring System Based on WinCE/GPRS
- Research and Implementation of embedded the LINUX development platform BSP technology
- Marine navigation system board support package software design
- Based on the study of manufacturing enterprise information strategy CSB Z company in Chongqing as an example
- Design of Security Surveillance System Based on Intelligent Video Analysis
- Research on the Embedded Control System of Fed-Batch Culture in the Production of Monosodium Glutamate
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
- Research and Implementation of Fault Recovery Mechanism in Large-scale Graph Processing System Based on BSP
- Design and Implementation of Data Partitioning in BSP-Based Big Graph Processing System
- Real-time Operating System Customization of Linux and Development of Device Driver
- Plan and Investigation of C Zone Urban Planning Management Information System
- Task Scheduling and Synchronization Controlling in a BSP-based Large Scale Graph Processing System
- Research and Implementation of Usbtmc Specification about Universal Test Instrument
- Research and Development of Bottom Software of Inkjet Printer System Based on Embedded Linux
- Radio Monitoring and Direction-finding System Software Development
- Design and development of laser gyro and USB interface frequency test system
- The Development of the Navigation Hardware Platform BSP and System Migration Based on WinCE6.0
- Research on the Modeling of Conducted Interference in LED Driver Topologies
- The Effect of Salmon Calcitonin on the Related Cytokine of Rat Root Resorption Repair
- The Relationship between ABCA1Methylation and Genotype and Atherothrombotic Cerebral Infarction