![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
U-boot
文章平均质量分 95
liuer2004_82
坚持,专注。。。。。。。。。。
1. 阅读源码 -头文件库-可以提高对项目整体框架的认识。
展开
-
uboot 之uboot.lds分析
对于.lds文件,它定义了整个程序编译之后的连接过程,决定了一个可执行程序的各个段的存储位置,很有必要了解一下。先看一下GNU官方网站上对.lds文件形式的完整描述: SECTIONS { ... secname start BLOCK(align) (NOLOAD) : AT ( ldadr ) { contents } > region :phdr =fill ... }secname和转载 2016-02-19 20:37:00 · 347 阅读 · 0 评论 -
U-boot启动流程分析 Start.s 汇编文件
2014.4版本uboot启动至命令行几个重要函数为:_start,_main,board_init_f,relocate_code,board_init_r。 _start在arch/arm/cpu/armv7/start.S中,一段一段的分析,如下: [cpp] view plain copy .globl _start _star转载 2016-02-19 21:35:48 · 2779 阅读 · 0 评论 -
arch/arm/lib/crt0.S main主函数
_main 来自于crt0.s函数的注释说明: /* * This file handles the target-independent stages of the U-Boot * start-up where a C runtime environment is needed. Its entry point * is _main and is branc转载 2016-02-19 22:01:42 · 1827 阅读 · 0 评论 -
uboot CMD 命令体系
参考文献地址:http://xouou.iteye.com/blog/2150061 先贴一个重要结构,位于uboot/include/command.h,这个结构代表每个uboot命令 struct cmd_tbl_s { char *name; /* Command Name */ int maxargs; /* maximu转载 2016-03-20 15:15:53 · 824 阅读 · 0 评论