![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uboot
文章平均质量分 85
温人之周.
这个作者很懒,什么都没留下…
展开
-
Uboot启动内核和根文件系统命令分析
uboot有两种启动 Linux 内核和rootfs的方法,一种是直接从flash(nand或emmc)启动,一种是从网络启动。这里面用到了两个非常重要的环境变量bootcmd 和 bootargs。一、bootcmd 和 bootargs 环境变量bootcmd 保存着 uboot 默认命令, uboot 倒计时结束以后就会执行 bootcmd 中的命令。这些命令一般都是用来启动 Linux 内核的,比如读取 EMMC 或者 NAND Flash 中的 Linux 内核镜像文件和设备树文件到 DRAM原创 2021-08-26 20:48:12 · 22261 阅读 · 1 评论 -
U-Boot 顶层 Makefile 分析二
6、代码检查uboot 支持代码检查,使用命令“make C=1”使能代码检查,检查那些需要重新编译的文件。“make C=2”用于检查所有的源码文件# Call a source code checker (by default, "sparse") as part of the# C compilation.## Use 'make C=1' to enable checking of only re-compiled files.# Use 'make C=2' to enable che原创 2021-08-26 19:26:00 · 18632 阅读 · 0 评论 -
U-Boot 顶层 Makefile 分析一
顶层 Makefile 也就是 uboot 根目录下的 Makefile 文件。原创 2021-08-26 10:01:19 · 18774 阅读 · 0 评论