Recover Firmware

The following section goes into detail of the firmware recovery process for Lima when it does not boot any further than U-Boot. This can happen during an accidental shutdown during the firmware upgrade process or any corrupted system files. Some recovery methods will require LAN and serial access. Note: any configuration changes made previously will be cleared!


Recover via U-Boot

ATENTION! It is possible to brick your board while making changes inside the bootloader so make sure you are entering correct commands. If you make a mistake while typing use CTRL+C instead of backspace!

1. Install tftp server.

2. Copy firmware to your tftp directory.

3. Set 192.168.1.254 IP address on your tftp server's ethernet interface.

4. Reboot Lima and press ESC when prompted to enter bootloader then press <Ctrl+C> a few times to clear console buffer.

5. Set local and server IP addresses:

setenv ipaddr 192.168.1.1
setenv serverip 192.168.1.254

6. Copy firmware from tftp server to Lima's RAM:

tftpboot 0x80060000 openwrt-8devices-v2.10-ar71xx-generic-centipede-squashfs-sysupgrade.bin

7. Write firmware from RAM to FLASH memory. Warning: do not proceed with this step if step 6 failed !!!

erase 0x9f050000 +${filesize}; cp.b 0x80060000 0x9f050000 ${filesize}

8. Reset board:

reset