https://segmentfault.com/q/1010000004829859/a-1020000004850311 Q: STM32的启动文件startup_stm32f10x_hd.s中的描述是 This module performs: Set the initial SP Set the initial PC == Reset_Handler Set the vector table entries with the exceptions ISR address Configur
开发板上电后,执行U-Boot的第一条指令,然后顺序执行U-Boot启动函数.看一下board/smdk2410/u-boot.lds这个链接脚本,可以知道目标程序的各部分链接顺序.第一个要链接的是cpu/arm920t/start.o,那么U-Boot的入口指令一定位于这个程序中.下面分两阶段介绍启动流程: 第一阶段 .cpu/arm920t/start.S 这个汇编程序是U-Boot的入口程序,开头就是复位向量的代码. _start: b r