This is an old revision of the document!
1. Install tftp server.
2. Copy u-boot binary to the tftp directory.
3. Set 192.168.1.254 IP address on your tftp server's ethernet interface.
4. Reboot Maca 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. Download u-boot binary into Lima's RAM.
tftp 80060000 caraboot-maca-v2.8.bin
7. Write u-boot binary from RAM to FLASH memory. Warning: do not proceed with this step if step 5 failed !!!
sf erase 0x0 +${filesize}; sf write 0x80060000 0x0 ${filesize}
8. Set environment to correct defaults:
sf erase 0x40000 +0x40000
9. Reset board:
reset
10. Press ESC when prompted to enter bootloader then press <Ctrl+C> a few times to clear console buffer.
Issue save environment command:
saveenv
11. Reset board:
reset