Differences

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

Link to this comparison view

kiwi:uboot [2026/02/05 14:40] (current)
augustas.p created
Line 1: Line 1:
 +===== Flash Bootloader =====
 +
 +----
 +
 +<​html><​p style="​color:​red;​font-size:​120%;">​
 +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 Kiwi module if it is damaged due to user's fault.
 +</​p></​html>​
 +
 +----
 +
 +<​html>​
 +<​asciinema-player cols=144 font-size=11px poster="​npt:​1:​50"​ preload=1 src="​https://​wiki.8devices.com/​_media/​kiwi:​kiwi_flash_uboot.cast"></​asciinema-player>​
 +</​html>​
 +
 +1. Install tftp server.
 +
 +2. Copy u-boot-kiwi.bin binary file to the tftp directory (can check the directory using ''​cat /​etc/​default/​tftpd-hpa''​).
 +
 +3. Set ''​192.168.2.254''​ IP address on your tftp server'​s ethernet interface.
 +
 +4. Reboot Kiwi and press ESC when prompted to enter bootloader then press <​Ctrl+C>​ a few times to clear console buffer.
 +
 +<​html><​p>​
 +5. Download u-boot binary into Kiwi's RAM. <span style="​color:​red;​font-size:​120%;">​WARNING! DO NOT PROCEED TO THE NEXT STEPS IF THIS ONE FAILED!!.</​span>​
 +</​p></​html>​
 +
 +''​tftpboot 0x41000000 u-boot-kiwi.bin''​
 +
 +6. Erase the old bootloader from the device and write u-boot binary from RAM to flash memory.
 +
 +Erase:
 +  mmc erase 0x4a22 0x600
 +Write:
 +  mmc write 0x41000000 0x4a22 0x600
 +
 +7. Reset board:
 +
 +''​reset''​