diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-10 16:24:10 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-08 13:35:32 +0200 |
commit | fa61152d972a47edcad1a3da0a6500db194c1a77 (patch) | |
tree | a7487609ecc6b4fd12d1fb6a7286322c553b3be3 /Documentation | |
parent | 1e6955fdb815906bdd2ecbf2c50e5059852f2400 (diff) | |
download | barebox-fa61152d972a47edcad1a3da0a6500db194c1a77.tar.gz barebox-fa61152d972a47edcad1a3da0a6500db194c1a77.tar.xz |
bbu: Allow to refresh/repair images
Some SoCs allow to store multiple boot images on a device in order to
improve robustness. This adds a -r option to barebox_update to indicate
we do not want to make an update but instead repair/refresh an existing
image. Handlers which want to support this feature must set the
BBU_HANDLER_CAN_REFRESH flag during registration.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/user/updating.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/user/updating.rst b/Documentation/user/updating.rst index 6a1a73348c..7aac0a99d6 100644 --- a/Documentation/user/updating.rst +++ b/Documentation/user/updating.rst @@ -30,3 +30,11 @@ commands. The exact commands are board specific. **NOTE** barebox images can be enriched with metadata which can be used to check if a given image is suitable for updating barebox, see :ref:`imd`. + +Repairing existing boot images +------------------------------ + +Some SoCs allow to store multiple boot images on a device in order to +improve robustness. When an update handler supports it the handler can +repair and/or refresh an image from this redundant information. This is +done with the '-r' option to :ref:`command_barebox_update`. |