嵌入式Linux学习笔记03--U-Boot的移植和使用

常见的bootloader:U-Boot、 vivi、 RedBoot 等等。

uboot 的全称是 Universal Boot Loader, uboot 是一个遵循 GPL 协议的开源软件, uboot 是一个裸机代码,可以看作是一个裸机综合例程。现在的 uboot 已经支持液晶屏、网络、 USB 等高级功能。

uboot 官网: http://www.denx.de/wiki/U-Boot/

NXP维护的2016.03这个版本的uboot,下载地址为 :

http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tag/?h=imx_v2016.03_4.1.15_2.0.0_ga&id=rel_imx_4.1.15_2.1.0_ga
U-Boot编译脚本

#!/bin/bash
2 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
3 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mx6ull_14x14_ddr512_emmc_defconfig
4 make V=1 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j12

uboot 本质工作是引导 Linux,uboot 肯定有相关 boot(引导)命令来启动 Linux。常用boot 命令有: bootz、 bootm 和 boot。
 

发布了336 篇原创文章 · 获赞 331 · 访问量 10万+

猜你喜欢

转载自blog.csdn.net/zym326975/article/details/102972293