2. 编译u-boot
来源:互联网 发布:js更改input的value值 编辑:程序博客网 时间:2024/05/16 06:28
1. 下载u-boot源码
git clone git://git.xilinx.com/u-boot-xlnx.git
或者直接从光盘中拷Chapter13/src/13.3 Embeddedlinux/u-boot-xarm.tar.bz2(解压:tar jxvf )
最后选择了光盘自带的u-boot-xarm.tar.bz2文件,因为u-boot-xlnx文件在后面make时出错
2. 配置u-boot
cd u-boot-xarm
make zynq_zed_config
3. 编译u-boot
进入交叉编译器的bin目录/root/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/bin/
ln –s arm-xilinx-linux-gnueabi-gccarm-linux-gcc
ln –s arm-xilinx-linux-gnueabi-ararm-linux-ar
ln –s arm-xilinx-linux-gnueabi-ldarm-linux-ld
ln –sarm-xilinx-linux-gnueabi-objcopy arm-linux- objcopy
ln –sarm-xilinx-linux-gnueabi-objdump arm-linux- objdump
4. 配置环境变量
exportCROSS_COMPILE=arm-xilinx-linux-gnueabi-
export PATH= /root/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/bin/:$PATH
系统重启后环境变量失效
make
编译结束后,会生成一个u-boot文件(没有后缀名),这是一个elf文件,将其另存为u-boot.elf
mv ./u-boot ./u-boot.elf
成功生成u-boot.elf文件
- 2. 编译u-boot
- u-boot编译笔记
- u-boot编译
- 编译U-Boot
- u-boot 2010 编译
- u-boot编译笔记
- u-boot编译方法
- u-boot编译问题
- 365u-boot编译
- u-boot编译
- U-boot编译过程
- u-boot编译错误
- 2440 u-boot编译
- U-Boot编译过程
- u-boot编译过程
- u-boot的编译
- tiny6410编译u-boot
- U-boot编译问题
- 第一章:介绍Solr
- uva - 11520 - Fill the Square(贪心、字典序)
- Linux下/proc目录简介
- 基于MFC的时钟绘制
- uva12105 - Bigger is Better 大数
- 2. 编译u-boot
- usaco training 4.1.2 Fence Rails 题解
- stagefright与opencore对比
- P、V操作
- 3.编译内核
- 英文投稿过程中的十种状态
- 浏览器缓存机制(2)
- crontab 不执行的原因解析
- POJ 1005 I Think I Need a Houseboat - 强制类型转换