mtk uboot 分析

MTK Uboot 分析        2020-3-1

  参考 http://blog.sina.com.cn/s/blog_89bfd9400101f32s.html

  uboot 启动分两阶段,第一阶段为汇编,第二阶段为 c 语言。本文只分析 uboot 启动第二阶段,即 c 语言阶段。

  c 语言入口在 lib_mips/board.c 的  board_init_f 函数,board_init_f 函数执行后回到第一阶段汇编,汇编程序接着调 lib_mips/board.c 的  board_init_r 函数

  board_init_r 函数中会调用 devices_init,devices_init 会进行各种设备初始化

猜你喜欢

转载自www.cnblogs.com/dcq798221028/p/12388655.html