diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2019-10-21 13:55:16 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-31 14:22:53 +0300 |
commit | 965ec3caa8fcaafe3d18ad7c3810a13b09ee8abe (patch) | |
tree | 64dc068fc19e783a169b768bdb4788d15caf75c9 /doc/android | |
parent | bb43c2784704b79eaa383fe38255b2ecf73b46ff (diff) | |
download | u-boot-965ec3caa8fcaafe3d18ad7c3810a13b09ee8abe.tar.xz |
cmd: avb: Support A/B slots
Add optional parameter to 'avb verify' sub-command, so that user is able
to specify which slot to use, in case when user's partitions are
slotted. If that parameter is omitted, the behavior of 'avb verify' will
be the same as before, so user API is content.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Acked-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Diffstat (limited to 'doc/android')
-rw-r--r-- | doc/android/avb2.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/android/avb2.txt b/doc/android/avb2.txt index a29cee1b6f..48e9297c75 100644 --- a/doc/android/avb2.txt +++ b/doc/android/avb2.txt @@ -95,6 +95,10 @@ e.g.: mmc read ${loadaddr} ${boot_start} ${boot_size}; \ bootm $loadaddr $loadaddr $fdtaddr; \ +If partitions you want to verify are slotted (have A/B suffixes), then current +slot suffix should be passed to 'avb verify' sub-command, e.g.: + +=> avb verify _a To switch on automatic generation of vbmeta partition in AOSP build, add these lines to device configuration mk file: |