scp test@192.168.0.104:/home/test/openwrt-8devices-v2.9-ar71xx-generic-lima-squashfs-sysupgrade.bin /tmp
mtd -r write /tmp/openwrt-8devices-v2.9-ar71xx-generic-lima-squashfs-sysupgrade.bin firmware
These instructions are for Lima board
U-Boot 1.1.4-g4ef14f8b-dirty (Apr 11 2016 - 14:56:54) ===================================== Caraboot v2.5-dev (QCA9531) U-boot http://www.8devices.com/ ------------------------------------- DRAM: 128 MB Flash: 64 MB Net: eth0, eth1 ===================================== Hit '<ESC>' key(s) to stop autoboot: 0 ath>
Hit '<ESC>' key(s) to stop autoboot: 0 ath> INTERRUPT> ath> <INTERRUPT>
setenv ipaddr 192.168.1.1; setenv serverip 192.168.1.20
ath> tftpboot 0x80060000 openwrt-8devices-v2.9-ar71xx-generic-lima-squashfs-sysupgrade.bin
eth0 link down
enet1 port1 up
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.20; our IP address is 192.168.1.1
Filename 'openwrt-8devices-v2.9-ar71xx-generic-lima-squashfs-sysupgrade.bin'.
Load address: 0x80060000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################################################
done
Bytes transferred = 3932164 (3c0004 hex)
ath>
'Bytes transferred =' matches actual size of firmware image file.ath> sf erase 0xC0000 +${filesize}; sf write 0x80060000 0xC0000 ${filesize}
SF: 4194304 bytes @ 0xc0000 Erased: OK
SF: 3932164 bytes @ 0xc0000 Written: OK
ath>
reset