1.1. Phase 1
arch/arm/kernel/vmlinux.lds
--------------------Makefile
2.1 arch/arm/boot/compressed/start.S decompression code
2.2 arch/arm/kernel/head.S
2.2.1 __lookup_machine_type Machine ID
àMACH_START
àmachine_desc //Put it in __arch_info_begin…__arch_info_end
2.2.2 __create_page_tables creates page tables
2.2.3 Enabling MMU
2.2.4 __switch_data
àb start_kernel jump to C code
1.2. Phase 2
2.3 init/main.c
2.3.1 start_kernel
setup_arch(&command_line) parses command line arguments
setup_processor();
setup_machine(machine_arch_type);
parse_tags(tags);
parse_cmdline(cmdline_p, from);
paging_init(mdesc);
devicemaps_init(mdesc);
mdesc->map_io()
setup_command_line(command_line)
parse_early_param()
do_early_param
init_IRQ()
console_init();
s3c24xx_serial_initconsole
reset_init()
kernel_init
prepare_namespace
mount_root mounts the file system
init_post
Previous article:Mini2440 system transplantation chapter rootfs production
Next article:u-boot analysis of mini2440 system transplantation
Recommended ReadingLatest update time:2024-11-25 10:14
- 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?
- Apple is going to launch first! TSMC announces that 2nm is ready
- Apple is going to launch first! TSMC announces that 2nm is ready
- AMD is expected to use a new chip stacking technology: greatly reduced latency and significantly improved performance
- AMD is expected to use a new chip stacking technology: greatly reduced latency and significantly improved performance
- CATL releases October battle report
- Battery industry in October 2024: growth momentum remains unabated!
- Mercedes-Benz will launch the eCitaro equipped with NMC4 batteries to provide high energy density and long life
- Many companies have announced progress on solid-state batteries. When will solid-state batteries go into mass production?
- Xsens Sirius Series Inertial Sensors Enable 3D Inertial Navigation in Harsh Environments
- Infineon's Automotive Landscape: From Hardware to Systems
- NUCLEO-G431RB Review -> OPAMP
- CCS8.0
- MYZR EK140 Full-featured Board Compilation Manual
- Advantages of Integrated Current Sensing
- [GD32L233C-START Review] - 8. Driving a 1.5-inch OLED screen using ordinary GPIO
- High-speed acquisition module
- What does USB_OTG_FS and USB_OTG_HS mean?
- I2C Master Mode for TI BLE CC2541
- Where can I find the PHI EVM Controller information for the TI ADC acquisition board?
- Loto Practical Tips (8) Application of Loto Oscilloscope in Repairing LED Desk Lamp Dimming Problems