summaryrefslogtreecommitdiff
path: root/doc/android
diff options
context:
space:
mode:
Diffstat (limited to 'doc/android')
-rw-r--r--doc/android/ab.rst2
-rw-r--r--doc/android/avb2.rst9
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/android/ab.rst b/doc/android/ab.rst
index 7fd4aeb6a72..b0123db28e4 100644
--- a/doc/android/ab.rst
+++ b/doc/android/ab.rst
@@ -54,7 +54,7 @@ or::
Result::
- => printenv slot_name
+ => env print slot_name
slot_name=a
Based on this slot information, the current boot partition should be defined,
diff --git a/doc/android/avb2.rst b/doc/android/avb2.rst
index 4aca7a5c660..858f4c01e5b 100644
--- a/doc/android/avb2.rst
+++ b/doc/android/avb2.rst
@@ -22,6 +22,11 @@ Verified Boot establishes a chain of trust from the bootloader to system images:
Integrity of the bootloader (U-Boot BLOB and environment) is out of scope.
+Verification is performed by libavb, which is vendored under ``lib/libavb/``
+from the AOSP ``external/avb`` project (AVB version 1.3.0). Only the U-Boot
+integration in ``common/avb_verify.c`` and the platform port under
+``lib/libavb/avb_sysdeps*`` are U-Boot-specific.
+
For additional details check [1]_.
AVB using OP-TEE (optional)
@@ -128,12 +133,12 @@ After flashing U-Boot don't forget to update environment and write new
partition table::
=> env default -f -a
- => setenv partitions $partitions_android
+ => env set partitions $partitions_android
=> env save
=> gpt write mmc 1 $partitions_android
References
----------
-.. [1] https://android.googlesource.com/platform/external/avb/+/master/README.md
+.. [1] https://android.googlesource.com/platform/external/avb/+/a1fe228b86543a21739c51352f5ce72f134fccfa/README.md
.. [2] https://www.op-tee.org/