其他分享
首页 > 其他分享> > 树莓派3 启动过程分析

树莓派3 启动过程分析

作者:互联网

The boot sequence of the Raspberry Pi is basically this:

Stage 1 boot is in the on-chip ROM. Loads Stage 2 in the L2 cache
Stage 2 is bootcode.bin. Enables SDRAM and loads Stage 3
Stage 3 is loader.bin. It knows about the .elf format and loads start.elf
start.elf loads kernel.img. It then also reads config.txt, cmdline.txt and bcm2835.dtb If the dtb file exists, it is loaded at 0×100 & kernel @ 0×8000 If disable_commandline_tags is set it loads kernel @ 0×0 Otherwise it loads kernel @ 0×8000 and put ATAGS at 0×100
kernel.img is then run on the ARM.

Everything is run on the GPU until kernel.img is loaded on the ARM.

image

很奇怪哈,启动过程都是 GPU 在主导。

标签:分析,kernel,树莓,img,启动,elf,loaded,loads,Stage
来源: https://www.cnblogs.com/konosubaakua/p/15366908.html