特牛网址导航

U-Boot启动过程源码分析(2)-第二阶段-CSDN博客

网友收藏
文章浏览阅读492次。第二阶段start_armboot函数需要用到include/asm-arm/global_data.h中结构体gd_t; include/asm-arm.u/u-boot.h中结构体bd_t。gd_t,bd_t结构体中的信息来设置标记列表,U-Boot启动内核时给内核传递参数。逐个调用init_sequence数组中的初始化函数。最后执行 common/main.c中的 main_loop函数