1. Linux versions and features
The Linux kernel version number can be found in the Makefile in the top-level directory.
VERSION = 2
VERSION = 6
SUBLEVEL = 22
EXTRAVERSION = .6
These lines make up the version number 2.6.22.6. VERSION and VERSION make up the major version number of the version. SUBLEVEL is the minor version number, and EXTRAVERSION is the extended version number. Linux kernel versions are divided into test versions and stable versions. VERSION values that are even are stable versions, and VERSION values that are odd indicate that new content has been added to the version, and the version is an unstable test type.
2. Linux Porting Preparation
1. Get the kernel source code
Log in to the official website of the Linux kernel http://www.kernel.org/, you can see the following content:
The meaning of each symbol:
To port and develop on Linux 2.6.22.6, you can first download Linux-2.6.22.6.tar.bz2 and then decompress it to get linux-2.6.22.6, which contains the kernel source code.
You can also download the kernel source file and then apply the patch.
3. Kernel source code structure
There are nearly 20,000 kernel files, which are located in 17 subdirectories under the top-level directory. Each directory has independent functions. The last two directories do not contain kernel code.
For the ARM architecture S3C2440, the system-related codes are in the arch/arm/ directory. When porting Linux later, the first step is to modify the files in this directory. The following figure shows the hierarchy of the kernel code.
Previous article:TQ2440 Study Notes—— 22. System Clock and Timer
Next article:[Linux porting]——4. Porting u-boot-2012.04.01 to support NAND boot
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- TLP3547 Review (Part 2)
- 【Silicon Labs Development Kit Review】+Hardware Appreciation
- One-button power on/off
- The company has launched a new medical product, but is still hesitant about the piracy in the market. Is there any good way to promote it?
- 【Gravity:AS7341 Review】Color Temperature Perception Measurement 1: Unboxing
- Feelings after receiving the GD32F350Rx development board: excitement and anxiety
- How hard is a hard real-time system?
- MSP430 capture device is simple and practical
- HT MCU large table reading
- Transformer Overview - Transformer Classic Article (Chinese PDF)