uboot
骆英
随便看看
展开
-
do_bootm 相关函数分析
首先有函数do_bootm,在这个函数一开始的地方,重定位boot的功能表:/* relocate boot function table */ if (!relocated) { int i; for (i = 0; i < ARRAY_SIZE(boot_os); i++) if (boot_os[i] != NULL) boot_os[i] += gd-&...原创 2018-07-26 16:27:19 · 833 阅读 · 0 评论 -
UBOOT 简要分析
uboot分析: linux的启动过程:嵌入式系统上电后先执行uboot,然后uboot负责初始化DDR,初始化FLASH,然后将OS(操作系统)从FLASH中读取到DDR中,然后启动OS,OS启动后uboot就没有用处啦。 uboot的作用:1.用来启动操作系统的内核; 2.部署整个计算机系统 3.包含操作flash等板子上...原创 2018-07-28 08:13:50 · 347 阅读 · 0 评论 -
u-boot 与 kernel 间的参数传递
在do_bootm_linux函数中,用到函数char *commandline = getenv ("bootargs") 来从环境变量中获取命令参数,下面就来分析一下参数的传递过程: 首先要讲一个重要的结构体:struct tag { struct tag_header hdr; union { struct tag_core core; ...原创 2018-08-11 09:20:32 · 489 阅读 · 0 评论 -
lowlevel_init 相关代码分析
文件路径board/freescale/mx6q_sabresd/low_init.S .globl lowlevel_init lowlevel_init: inv_dcache init_l2cc init_aips init_clock mov pc, lr1.寄存器相关说明r0-r3 用作传入函数参数,传出...原创 2018-08-08 16:57:14 · 399 阅读 · 0 评论