Skip to content

Commit c344dd3

Browse files
FournierMxStaticRocket
authored andcommitted
feat(android): add note for avbtool dependency
The secure.sh generate_avb_keys command requires avbtool. Add a note to mention where the tool is in order to get it added to the PATH. Signed-off-by: Maxime Fournier <[email protected]>
1 parent bbba5ec commit c344dd3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

source/android/Application_Notes_Android_Secure_Build.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,19 @@ Build Secure Bootloaders
6666
6767
That will generate ``avb.key`` and ``avb_pub.key`` under ``build/.keys``.
6868

69+
.. note::
70+
71+
**Dependency on avbtool**:
72+
73+
The ``./secure.sh generate_avb_keys`` command has a dependency on the ``avbtool`` binary.
74+
The tool is present in the kernel repository at ``prebuilts/kernel-build-tools/linux-x86/bin/avbtool``.
75+
If the command fails with the message: ``avbtool: command not found``, update your ``PATH``
76+
environment variable to include the avbtool path:
77+
78+
.. code-block:: console
79+
80+
$ export PATH=$PATH:${YOUR_PATH}/ti-kernel-aosp/prebuilts/kernel-build-tools/linux-x86/bin
81+
6982
The bootloaders scripts will detect that ``avb_pub.key`` is present and will include it into U-Boot.
7083

7184
.. ifconfig:: CONFIG_part_variant in ('AM62X')

0 commit comments

Comments
 (0)