| Tag name | Description |
|---|---|
| ATAG_NONE | Empty tag used to end list |
| ATAG_CORE | First tag used to start list |
| ATAG_MEM | Describes a physical area of memory |
| ATAG_VIDEOTEXT | Describes a VGA text display |
| ATAG_RAMDISK | Describes how the ramdisk will be used in kernel |
| ATAG_INITRD2 | Describes where the compressed ramdisk image is placed in memory |
| ATAG_SERIAL | 64 bit board serial number |
| ATAG_REVISION | 32 bit board revision number |
| ATAG_VIDEOLFB | Initial values for vesafb-type framebuffers |
| ATAG_CMDLINE | Command line to pass to kernel |
In the Linux SMP environment, CPU0 is responsible for initializing all resources just as in a uniprocessor environment. Once configured, access to a resource is tightly controlled using synchronization rules such as a spinlock. CPU0 will configure the boot page translation so secondary cores boot from a dedicated section of Linux rather than the default reset vector. When secondary cores boot the same Linux image, they will enter Linux at a specific location so they simply initialize resources specific only to their core (caches, MMU) and don’t reinitialize resources that have already been configured, and then execute the idle process with PID 0.
A step-by-step walkthrough for the Linux kernel boot process is provided below:
This appendix will provide a walkthrough in the Linux kernel boot process for the ARM-based systems, specifically the ARM11 MPCore, by highlighting the source code of the kernel that executes each step. The boot process comprises of 3 main stages:
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| |
image001.png | manage | 20.7 K | 09 Jan 2009 - 17:29 | PeterPearse | Boot sequence image |
| |
image002.jpg | manage | 9.2 K | 19 Jan 2009 - 17:02 | PeterPearse | Boot sequence image |
| |
image003.png | manage | 41.8 K | 19 Jan 2009 - 17:03 | PeterPearse | Flowchart image |
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.