board: sl28: add update image documentation

Document the update image and how to use the EFI UpdateCapsule.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
Michael Walle 2021-09-29 13:39:13 +02:00 committed by Priyanka Jain
parent f06add11f0
commit cbdc4c974f

View file

@ -52,6 +52,21 @@ Disable the builtin watchdog
- power-cycle the board
Update image
------------
After the build finished, there will be an update image called
u-boot.update. This can either be used in the DFU mode (which isn't
supported yet) or encapsulated in an EFI UpdateCapsule.
To build the capsule use the following command
$ tools/mkeficapsule -f u-boot.update -i 1 UpdateUboot
Afterward you can copy this file to your ESP into the /EFI/UpdateCapsule/
folder. On the next EFI boot this will automatically update your
bootloader.
Useful I2C tricks
-----------------