summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRuslan Trofymenko <[email protected]>2019-07-05 15:37:33 +0300
committerTom Rini <[email protected]>2019-07-24 13:16:29 -0400
commit17030c7c4c99c09f439641628734dfc5840da3ff (patch)
tree6ed313808c2ba2312fa304cbea4828a73c505ba1 /scripts
parentd65e8da92ee7d594226aeee04eb0bef5d60f8bda (diff)
cmd: Add 'ab_select' command
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 <[email protected]> Signed-off-by: Igor Opaniuk <[email protected]> Reviewed-by: Alistair Strachan <[email protected]> Reviewed-by: Sam Protsenko <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions