With an available network connection, U-Boot can load images quickly and easily via TFTP.
Preparation
We’ll start off with a terminal connected to the board and sitting at the U-Boot prompt.
Upgrade Bootloader
1 | kvim# tftp 1080000 u-boot.bin |
NoteYou might also need to clean up the old U-Boot environment value stored in the
env
partition, and then save it as a new value:
1
2 kvim# defenv
kvim# saveenvRun
reset
or pressreset
button to boot from the new bootloader:
1 kvim# reset
Load and Run boot.img
Load image into memory, then run bootm
to boot from memory:
1 | kvim# tftp 1080000 boot.img |
NoteOnly for Android.
Load and Run Linux Kernel Image
Download and run Linux:
1 | kvim# tftp 1080000 zImage |
NoteOnly for Ubuntu.
Troubleshooting
Failed to saveenv
:
1 | kvim# saveenv |
You need to write a DTB first!