2011年5月1日 星期日

OpenWRT(1) - flash image from u-boot

MZK-W04NU with OpenWRT

1. Serial port pins:
pin 1 (square box) = +3.3V,
pin 2 = RX,
pin 3 = TX,
pin 4 = Ground.

2. U-Boot commands for erase image and flash new image:
erase 0xbf050000 +0x770000
setenv serverip 192.168.1.254; setenv ipaddr 192.168.1.1
tftp 0xa0800000 openwrt-ar71xx-mzk-w04nu-squashfs.bin
cp.b 0xa0800000 0xbf050000 0x770000
reset

沒有留言: