pandaboard ES学习之旅——3 Uboot源码下载与编译

3.1 Uboot源码下载:

方法1:Linux中用git下载

$ git clone git://git.linaro.org/boot/u-boot-linaro-stable

 

方法2:window7下直接下载

http://www.linaro.org/downloads/找到最新的版本下载

3.2 编译工具下载与编译

window7下直接下载

http://www.linaro.org/downloads/找到最新的gcc-arm-none-eabi下载

1 下载gcc-arm-none-eabi-4_6-2012q2-20120614.tar.bz2

2 解压源文件参考TI的安装,安装路径为/opt目录,解压源文件到/opt目录下。

$ tar –vxjf gcc-arm-none-eabi-4_6-2012q2-20120614.tar.bz2

 

3 修改权限

root@fwtdev2:/opt/arm2009q1/gcc-arm-none-eabi-4_6-2012q2/bin#ls -l

total 18008

-rwxr-xr-x 1 rootroot  586368 2012-06-14 00:50arm-none-eabi-addr2line

-rwxr-xr-x 2 rootroot  609576 2012-06-14 00:50 arm-none-eabi-ar

-rwxr-xr-x 2 rootroot 1040992 2012-06-14 00:50 arm-none-eabi-as

-rwxr-xr-x 2 rootroot  270232 2012-06-14 00:50arm-none-eabi-c++

-rwxr-xr-x 1 rootroot  584912 2012-06-14 00:50arm-none-eabi-c++filt

-rwxr-xr-x 1 rootroot  270232 2012-06-14 00:50arm-none-eabi-cpp

-rwxr-xr-x 1 rootroot   21268 2012-06-14 00:50arm-none-eabi-elfedit

-rwxr-xr-x 2 rootroot  270232 2012-06-14 00:50arm-none-eabi-g++

-rwxr-xr-x 2 rootroot  270232 2012-06-14 00:50arm-none-eabi-gcc

-rwxr-xr-x 2 rootroot  270232 2012-06-14 00:50arm-none-eabi-gcc-4.6.2

-rwxr-xr-x 1 rootroot   27284 2012-06-14 00:50arm-none-eabi-gcov

-rwxr-xr-x 1 rootroot 3347224 2012-06-14 00:50 arm-none-eabi-gdb

-rwxr-xr-x 1 rootroot 3347224 2012-06-14 00:50 arm-none-eabi-gdbtui

-rwxr-xr-x 1 rootroot  646420 2012-06-14 00:50arm-none-eabi-gprof

-rwxr-xr-x 4 rootroot  871364 2012-06-14 00:50arm-none-eabi-ld

-rwxr-xr-x 4 rootroot  871364 2012-06-14 00:50arm-none-eabi-ld.bfd

-rwxr-xr-x 2 rootroot  595648 2012-06-14 00:50arm-none-eabi-nm

-rwxr-xr-x 2 rootroot  741964 2012-06-14 00:50arm-none-eabi-objcopy

-rwxr-xr-x 2 rootroot  888832 2012-06-14 00:50arm-none-eabi-objdump

-rwxr-xr-x 2 rootroot  609608 2012-06-14 00:50arm-none-eabi-ranlib

-rwxr-xr-x 1 rootroot  340708 2012-06-14 00:50arm-none-eabi-readelf

-rwxr-xr-x 1 rootroot  587700 2012-06-14 00:50arm-none-eabi-size

-rwxr-xr-x 1 rootroot  587104 2012-06-14 00:50arm-none-eabi-strings

-rwxr-xr-x 2 rootroot  741964 2012-06-14 00:50arm-none-eabi-strip

root@fwtdev2:/opt/arm2009q1/gcc-arm-none-eabi-4_6-2012q2/bin#chmod 777 *


4 执行编译命令

makeCROSS_COMPILE=/opt/arm2009q1/gcc-arm-none-eabi-4_6-2012q2/bin/arm-none-eabi-omap4_panda

5 拷贝生成的MLO u-boot.bin复制到SD卡的第一个FAT32分区

6 重启ES开发板,查看uboot版本与版本生成时间。

posted @ 2012-11-05 08:39  richard.hmm  阅读(481)  评论(0编辑  收藏  举报