资源说明:
宿主机操作系统:Ubuntu10.04 , 虚拟机为VMware10.0
交叉编译器版本:arm-arago-linux-gnueabi-gcc,gcc version 4.3.3
(源于TI:dvsdk_omapl138-evm_04_03_00_06_setuplinux.bin)
开发板
平台:Omap-L138EVM (LOGIC PD)
u-boot
版本:u-boot-2010.12(2010年12月发布)
u-boot
源码包:u-boot-2010.12-psp03.21.00.04.sdk
(源于TI:dvsdk_omapl138-evm_04_03_00_06_setuplinux.bin)
1.
首先进入u-boot-2010.12-psp03.21.00.04.sdk目录,执行如下命令清楚上次编译生成文件。
axz@ubuntu:~/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk$ make distclean CROSS_COMPILE=/home/axz/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-
2.
针对Omap-L138EVM开发板使用"include/configs/da850evm.h"配置u-boot,执行如下命令:
axz@ubuntu:~/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk$ make da850evm_config CROSS_COMPILE=/home/axz/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-
Configuring for da850evm board...
3.
编译u-boot,成功编译后产生u-boot.bin文件。
axz@ubuntu:~/ti-dvsdk_omapl138-evm_04_03_00_06/psp/u-boot-2010.12-psp03.21.00.04.sdk$ make all CROSS_COMPILE=
/home/axz/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-
................................................
此处省略了很多编译输出信息 .........................................................
..............................................
此处省略了很多编译输出信息
......................................................................
................................................-2010.12-psp03.21.00.04.sdk/arch/arm/lib/eabi_compat.o
-L /home/axz/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/../lib/gcc/arm-arago-linux-gnueabi/4.3.3 -lgcc -Map
u-boot.map -o u-boot/home/axz/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-objcopy -O srec u-boot
u-boot.srec/home/axz/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-objcopy --gap-fill=0xff -O binary u-boot
u-boot.bin
阅读(1855) | 评论(0) | 转发(0) |