Uboot启动流程分析
2013-08-15 10:07
218 查看
Uboot是嵌入式系统中最常用的bootloader,这里我们以s3c2410为例分析一下uboot的启动流程。首先通过uboot的链接文件,我们可以看到uboot运行是执行的第一段代码在start.S中。
ENTRY(_start)
SECTIONS
{
. = 0x00000000;
. = ALIGN(4);
.text :
{
cpu/arm920t/start.o (.text)
*(.text)
}
. = ALIGN(4);
.rodata : { *(.rodata) }
. = ALIGN(4);
.data : { *(.data) }
. = ALIGN(4);
.got : { *(.got) }
. = .;
__u_boot_cmd_start = .;
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
__bss_start = .;
.bss : { *(.bss) }
_end = .;
}
我们找到这个文件,以这个文件为起点看uboot的启动流程。这里我们通过一个图来说明这个过程。
最后我们把整个uboot在执行过程中,代码的搬移籍内存的使用情况通过一个图,来说明一下。
ENTRY(_start)
SECTIONS
{
. = 0x00000000;
. = ALIGN(4);
.text :
{
cpu/arm920t/start.o (.text)
*(.text)
}
. = ALIGN(4);
.rodata : { *(.rodata) }
. = ALIGN(4);
.data : { *(.data) }
. = ALIGN(4);
.got : { *(.got) }
. = .;
__u_boot_cmd_start = .;
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
__bss_start = .;
.bss : { *(.bss) }
_end = .;
}
我们找到这个文件,以这个文件为起点看uboot的启动流程。这里我们通过一个图来说明这个过程。
最后我们把整个uboot在执行过程中,代码的搬移籍内存的使用情况通过一个图,来说明一下。
相关文章推荐
- 从0移植uboot (二) _uboot启动流程分析
- uboot启动流程分析之二
- uboot流程分析--修改android启动模式按键
- Uboot启动流程分析:启动阶段1 Start.S
- uboot 启动流程分析
- FSL Imx53启动流程分析(2)-uboot
- uboot流程分析--修改android启动模式按键
- uboot 启动流程分析
- Uboot 启动流程分析:启动阶段2 board.c
- uboot启动流程分析之六
- HISI3520DV300 折腾记录(一)之 《Uboot-Start.S分析 以及 相关启动流程分析》
- uboot 分析之 启动流程
- Uboot启动流程分析
- uboot 启动流程分析
- Uboot启动流程分析
- uboot流程分析--修改android启动模式按键【转】
- uboot启动流程分析和uboot移植(粗略分析)
- Uboot启动流程分析
- 从0移植uboot (二) _uboot启动流程分析
- Uboot 2017.01 启动流程分析