制作SD启动盘
sudo -s 登陆超级权限
1,添加环境变量
vi /etc/profile
export PATH=/home/mingming/CodeSourcery/Sourcery_G++_Lite/bin:$PATH
export PATH=/home/mingming/ezsdk:$PATH
export PATH=/home/mingming/ezsdk/board-support/u-boot-2010.06-psp04.07.00.02/tools:$PATH
source /etc/profile
2,编译一级UBOOT
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm ti811x_evm_min_sd
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm u-boot.ti
把生成的二进制文件(u-boot.min.sd)改名为"MLO",然后拷贝到home/mingming/TI81XX下
3,编译二级UBOOT
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm ti811x_evm_config_sd
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm u-boot.ti
4,制作SD启动盘
拷贝以下文件到TI81XX下:
MLO, u-boot.bin and uImage, nfs.tar.gz and mksd-ti814x.sh
sudo ./mksd-ti814x.sh /dev/sdb MLO u-boot.bin uImage ezsdk-c6a811x-evm-rootfs.tar.gz(大)
sudo ./mksd-ti814x.sh /dev/sdb MLO u-boot.bin uImage
arago-base-tisdk-image-c6a811x-evm
.tar.gz(小)
5,设置环境
setenv bootargs 'console=ttyO0,115200n8 root=/dev/mmcblk0p2 mem=128M rootwait'
setenv bootcmd 'mmc rescan 0; fatload mmc 0 0x81000000 uImage; bootm 0x81000000'
boot