以AR9331为例。
1.用烧录器将uboot烧写到flash中 (AR9331_U-Boot_Oolite-v1-v20170713.bin)
2.登录:192.168.1.1网页烧写uboot ( tuboot_Oolite-v2_Active_L-v20170508.bin)
3.用SecureCRTPortable 串口登录 波特率115200,进入在uboot页面。
4.操作以下操作命令:
>>> setenv serverip 192.168.1.33(电脑本机ip)
>>>tftp 0x81000000 minibox-uboot-google-ok_avtive-L-v20150124.bin (烧写uboot)
打印显示 Bytes transferred =65536(10000 hex)
>>>erase 0x9f000000 +0x10000 (擦除uboot)
>>>cp.b 0x81000000 0x9f000000 0x10000
>>>tftp 0x81000000 openwrt-ar71xx-20170329.bin(烧写openwrt固件)
打印显示 Bytes transferred =5439492(530004 hex)
>>>erase 0x9f020000 +0xfd0000
>>>cp.b 0x81000000 0x9f020000 0x530004