|
I'd have the boot loader copy the new image, or be capable of booting from two images, usually the newer one, and that you can validate the image.
If the code is not running from NOR, you could probably also overwrite a fixed address image in flash from user space, or with the help of a driver. I'd probably want to have two images, so as to reduce the chance of bricking a working one.
If the board has an MMC card, you could have a boot loader pull update content from that also.
Anyway you need to think of strategies, and potential failure points, so you don't brick devices in the field. And then you need to test your mechanism thoroughly.
|