u-boot
Huang_Dongdong
这个作者很懒,什么都没留下…
展开
-
u-boot的流程、主要的数据结构、内存分配
1、u-boot的启动流程: 从文件层面上看主要流程是在两个文件中:cpu/arm920t/start.s,lib_arm/board.c, 1)start.s 在flash中执行的引导代码,也就是bootloader中的stage1,负责初始化硬件环境,把u-boot从flash加载到RAM中去,然后跳到lib_arm/board.c中的start_armboot中去执行原创 2014-04-28 18:26:51 · 339 阅读 · 0 评论 -
u-boot中的命令
1、命令相关的函数和定义 @main_loop:这个函数里有太多编译选项,对于s3c2440,去掉所有选项后等效下面的程序 void main_loop() { static char lastcommand[CFG_CBSIZE] = { 0, }; int len; int rc = 1; int flag; char *原创 2014-04-28 19:02:37 · 352 阅读 · 0 评论 -
u-boot总体结构
本文和接下来几篇u-boot文章dous原创 2014-04-28 15:35:59 · 347 阅读 · 0 评论