您的位置:首页 > 其它

U-Boot编译过程

2017-01-21 09:21 134 查看
ubuntu 16

arm-none-linux-gnueabi :
arm-2014.05-29-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 

uboot:u-boot-2015.04

解压,命令为:

tar -jxvf u-boot-2010.03.tar.bz2 

在readme文件中描述了如何查找 XXX_config,内容如下

where "NAME_defconfig" is the name of one of the existing configu-

rations; see boards.cfg for supported names.

但实际发现新版的已没有boards.cfg文件存在了,要找到相关开发板的config应在
configs目录下面,如果这个目录下面也没有则到

doc/README.scrapyard中查找,若在这个文档中找到则说明这个config文件已被移出了uboot中.你只能自己建一个config或用旧版本的uboot

设置:make versatilepb_config

编译:make  arch=ARM CROSS_COMPILE=arm-none-linux-gnueabi-

u-boot-2015.04.tar.bz2下载地址: ftp://ftp.denx.de/pub/u-boot/u-boot-2015.04.tar.bz2
uboot官方下载地址:ftp://ftp.denx.de/pub/u-boot/

参考文档:http://www.cnblogs.com/pengdonglin137/p/5023704.html用Qemu模拟vexpress-a9 (三)--- 实现用u-boot引导Linux内核
http://blog.csdn.net/fantasy_wxe/article/details/19754979   Qemu下u-Boot + Kernel + rootfs完整启动移植
http://www.elinux.org/Virtual_Development_Board Virtual Development Board
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: