This Gist attempts to document the research and (hopefully) steps to successfully allowing U-Boot to perform an OTA (over-the-air) update.
Please comment with corrections and suggestions!
Performing an OTA Update: Place the contents of the toFlash
directory onto the update partition of the Intel Edison. Then, at the U-Boot prompt run do_ota
. Or, if the system is running in multi-user mode, run as root: reboot ota
.
Motivation: Currently (Yocto 2.1, Intel Edison) has an update partition of ~800MB. The Yocto toFlash
directory is ~500MB, so placing it on to the update partition is no problem, allowing an OTA update through U-Boot. However, to do an OTA update using Emutex Labs' Ubilinxu is currently impossible as the Ubilinux toFlash
directory is ~1.6GB.