ARM-Linux uses ARM chips, which have high execution efficiency, powerful functions, and relatively rich peripherals. It is a powerful computer system and needs to run an operating system, so its startup method is quite different from that of a single-chip microcomputer, but it is basically the same as the startup method of a home computer. Its startup generally includes BIOS, bootloader, kernel startup, application startup and other stages.
(a) Start BIOS
BIOS is the corresponding startup information set by the device manufacturer (chip or circuit board manufacturer). After the device is powered on, it will read the corresponding hardware device information, initialize the hardware device, and then jump to the location of the bootloader (this location is a fixed location set by BIOS). (According to my personal understanding, the startup of BIOS is similar to the startup of the microcontroller. The corresponding hardware debugger is required to write the firmware and store it in a certain flash space. After the device is powered on, the instructions in the flash space are read to start the BIOS program.)
(b) Start the bootloader
This part already belongs to the embedded Linux software development part. You can modify the code to customize the corresponding bootloader program. The bootloader is usually downloaded by directly reading and writing the SD card. That is, write and customize the corresponding bootloader, compile and generate the bootloader image file, and then use the tool (special or general) to download it to the MBR area of the SD card (usually the first sector of the storage area). At this time, you need to set it in the BIOS, or through the hardware circuit setting of the circuit board, select the loading location of the bootloader; if the BIOS is set to start from the SD card, after the BIOS initialization is completed, it will jump to the location of the SD card to execute the bootloader, thereby realizing the startup of the bootloader.
The main function of the Bootloader is to initialize the necessary hardware devices, create some information required by the kernel and pass this information to the kernel through relevant mechanisms, so as to bring the system's hardware and software environment to a suitable state, and finally call the operating system kernel to truly play the role of booting and loading the kernel.
(c) Start the kernel
After the bootloader completes initialization and other related work, it will call the kernel startup program. This is the start of the actual operating system related content, including the corresponding hardware configuration, task management, resource management and other kernel program startup.
(d) Start the application
After the operating system kernel is started, you can start the required applications to complete the actual business operations.
Previous article:Memory alignment processing for ARM processors
Next article:S5PV210 (TQ210) study notes - Nand configuration
Recommended ReadingLatest update time:2024-11-16 16:54
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Today's live broadcast: Battery management chip solution design and precautions
- [Repost] 7 PCB layout principles, good PCB design depends on it
- How to choose electromagnetic relay
- It’s terrible. Two manufacturers in the PCB industry are engaged in a price war. Did you get any benefits yesterday?
- 【McQueen Trial】Python Programming (4)
- Partial Discharge in Switching Power Supplies
- Crazy Shell AI open source drone interruption (key detection)
- How does GaN meet the challenges brought by 5G?
- PCB
- (Help) [New version of Zhongke Bluexun AB32VG1 RISC-V development board] - 6: "COM is closed"