mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
1be82afa80
Use proper project name in comments, Kconfig, readmes. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/0dbdf0432405c1c38ffca55703b6737a48219e79.1684307818.git.michal.simek@amd.com
18 lines
980 B
Text
18 lines
980 B
Text
Field Fail-Save U-Boot Update
|
||
-----------------------------
|
||
Field Fail-Save u-boot update is a feature that allows save u-boot update
|
||
of FOX and XMC products that are rolled out in the field.
|
||
|
||
The feature is initially implemented for designs based on LS102x SoC, but in
|
||
theory can be used on all designs that are booting from parallel NOR flash.
|
||
|
||
The implementation expects redundant (secondary) u-boot image on a predefined
|
||
location in the NOR flash, u-boot execution will be transferred to the redundant
|
||
(secondary) u-boot and redundant u-boot will be started if 'updateduboot' envvar
|
||
is set to 'yes'.
|
||
Update logic check_for_uboot_update() has to be invoked from the design early
|
||
before relocation just after SoC initialization, e.g from board_early_init_f or
|
||
misc_init_f functions.
|
||
By design it is expected that primary u-boot image is burned in the factory and
|
||
never updated, and in case u-boot update is required it can flashed and started
|
||
from secondary u-boot location.
|