Differences

This shows you the differences between two versions of the page.

Link to this comparison view

maca2:recover [2025/12/12 13:12] (current)
jokubas.s created
Line 1: Line 1:
 +===== Recover Firmware =====
  
 +The following section goes into detail of the firmware recovery process for Maca2 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 ===
 +
 +<​html><​p style="​color:​red;​font-size:​120%;">​
 +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!
 +</​p></​html>​
 +
 +
 +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 Maca2 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 Maca2'​s RAM:
 +
 +  tftpboot 0x80060000 openwrt-8devices-v2.10-ar71xx-generic-maca-squashfs-sysupgrade.bin
 +
 +7. Write firmware from RAM to FLASH memory. **Warning: do not proceed with this step if step 6 failed !!!**
 +
 +  sf erase 0xC0000 +${filesize};​ sf write 0x80060000 0xC0000 ${filesize}
 +
 +8. Reset board:
 +
 +  reset