[U-Boot] [PATCH v5 3/6] cmd: Add 'ab_select' command

Tom Rini trini at konsulko.com
Wed Jul 24 20:06:11 UTC 2019


On Fri, Jul 05, 2019 at 03:37:33PM +0300, Igor Opaniuk wrote:

> From: Ruslan Trofymenko <ruslan.trofymenko at linaro.org>
> 
> For A/B system update support the Android boot process requires to send
> 'androidboot.slot_suffix' parameter as a command line argument. This
> patch implementes 'ab_select' command which allows us to obtain current
> slot by processing the A/B metadata.
> 
> The patch was extracted from commit [1] with one modification: the
> separator for specifying the name of metadata partition was changed
> from ';' to '#', because ';' is used for commands separation.
> 
> [1] https://android-review.googlesource.com/c/platform/external/u-boot/+/729880/2
> 
> Signed-off-by: Ruslan Trofymenko <ruslan.trofymenko at linaro.org>
> Signed-off-by: Igor Opaniuk <igor.opaniuk at gmail.com>
> Reviewed-by: Alistair Strachan <astrachan at google.com>
> Reviewed-by: Sam Protsenko <semen.protsenko at linaro.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190724/b3cc6846/attachment.sig>


More information about the U-Boot mailing list