1 烧写u-boot.bin到OK6410开发板
2 用USB转串口线连接开发板与PC,安装驱动HL-232-340.exe
3
编译bin文件
启动CodeWarrior for RVDS,设置如下:
(1)Edit->Debug
Settings->Language Settings->RealView Assembler/RealView
Compiler Target->Architecture,选择ARM1176JZF-S
(2)Edit->Debug
Settings->Linker->RealView Linker Output->Simple
Image->RO Base,设置成0x100000
(3)Edit->Debug
Settings->Linker->RealView
Linker Layout->Object/Symbol,设置成init.o
(4)Edit->Debug
Settings->Linker->RealView FromELF Output file
name:zImage.bin
(5)F7 Make
4 使用超级终端下载程序
启动ARM开发板,进入u-boot
#loadb
0x50008000
发送文件 zImage.bin
#go 0x50008000
5
使用dnw下载程序(存在蓝屏问题)
启动ARM开发板,进入u-boot,连接usb
#dnw
0x50008000
transmit zImage.bin
#go 0x50008000