linux的启动过程。
每一个系统都是由3个镜像组成,分别是Uboot、kernel、fs。
加载 挂载
Uboot(引导程序) ------> kernel(内核) -----> fs(根文件系统)
1. 开始加载uboot引导程序
DDR3 Init Done!
CCI Init!
Wakeup CPU Wakeup CPU 1234567
CPU Wakeup done! WFI is expected.
CPU0 is Master!
Loading from sdmmc…
Image Loading Done! -> 开始加载uboot镜像
Launch to 0x0000000043C00000
Hit any key to stop autoboot: 3
如果在倒数5秒内,按下任何键,就会切换到uboot模式。
如果在倒数5秒内,不要按下任何按键,就会开始加载内核kernel。
2. 开始加载kernel。
Booting kernel from Legacy Image at 48000000 …
-> 内核的地址:48000000
Image Name: Linux-3.4.39-gec -> 内核的版本 3.4.39
Image Type: ARM Linux Kernel Image (uncompressed) -> 内核的类型
Data Size: 5532608 Bytes = 5.3 MiB -> 内核镜像大小
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum … OK
Loading Kernel Image … OK
Starting kernel … -> 开始加载内核。
[ 0.000000] Booting Linux on physical CPU 0 -> 内核输出的内容都是有时间在前面的。
[ 0.000000] Initializing cgroup subsys cpu
… 初始化硬件
[ 4.347000] stmmac_open: failed PTP initialisation
[ 4.592000] usbcore: registered new interface driver rtl8723bu -> 内核加载完毕。
3. 挂载根文件系统。
[root@GEC6818 /]# -> linux内核的命令行。