2009年1月14日

BF532芯片内调试UART程序补充

编译步骤:
0. 替换jump.S文件
1. 修改u-boot/tools/bin2ldr/runme.sh,减小code size
# strongly recommend to run this script to convert u-boot.bin to LDR format file
#!/bin/sh
if [ -e ../../u-boot.bin ];then
make clean
make all
echo "" > app.bin
./bin2ldr
bfin-uclinux-objcopy -I binary -O ihex app.ldr app.hex
make distclean
else
echo -e "ERR:Please build the u-boot package first"
fi

2. run ./runme.sh
3. brun app.ldr to sflash
4. app.ldr的内容(无法上传,郁闷!)

没有评论: