Flash Bootloader

ATTENTION! Bootloader upgrade is a risky operation and should not be performed unless absolutely necessary! If anything goes wrong during this process (power shortage, mistype, etc.) the board will be BRICKED (broken). Keep in mind that warranty does not cover Mango module if it is damaged due to user's fault.

1. Install tftp server.

2. Copy u-boot binary to the tftp directory.

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

4. Reboot Mango 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
setenv serverip

6. Download u-boot binary into Mango's RAM.

tftpboot 44000000 u-boot-mango-v5.1.mbn

7. Write u-boot binary from RAM to FLASH memory. Warning: do not proceed with this step if step 5 failed !!!

sf probe; sf erase 0x2c0000 0xa0000; sf write 44000000 0x2c0000 ${filesize}

8. Reset board: