
Tom,
On 12/24/2019 1:54 PM, Sam Protsenko wrote:
Android 10 brings a lot of new requirements for bootloaders: [1]. This patch series attempts to implement such a boot process on BeagleBoard X15 platform. Some common code is added too, which can be reused later for other platforms (see "abootimg" command and associated C API).
This patch series must be applied on top of these recently sent patches by Eugeniu:
[PATCH 0/3] cmd: dtimg: Rename to adtimg and refactor usage style
Changes in v3:
- rename command to "abootimg" (requested by Simon Glass)
- rework command interface (as discussed with Eugeniu)
- add command documentation
- address other comments
Since this series is functionally mature, can this series be pulled as-is in the next merge window, verified v3 with current aosp master and functionality is working as expected.
the comments on changing to a more suitable names , adding a new test script for the functionality can be done as a incremental update on the top during the next cycle.
[1] https://source.android.com/devices/bootloader
Sam Protsenko (9): image: android: Add functions for handling dtb field image: android: Add routine to get dtbo params cmd: abootimg: Add abootimg command doc: android: Add documentation for Android Boot Image test/py: android: Add test for abootimg configs: am57xx_evm: Enable Android commands env: ti: boot: Respect slot_suffix in AVB commands env: ti: boot: Boot Android with dynamic partitions arm: ti: boot: Use correct dtb and dtbo on Android boot
cmd/Kconfig | 10 + cmd/Makefile | 1 + cmd/abootimg.c | 242 +++++++++++++++++ common/Makefile | 2 +- common/image-android.c | 275 ++++++++++++++++++++ configs/am57xx_evm_defconfig | 6 + configs/am57xx_hs_evm_defconfig | 6 + configs/am57xx_hs_evm_usb_defconfig | 6 + configs/sandbox_defconfig | 1 + doc/android/boot-image.rst | 154 +++++++++++ include/configs/ti_armv7_common.h | 7 + include/environment/ti/boot.h | 146 ++++++----- include/image.h | 6 + test/py/tests/test_android/test_abootimg.py | 159 +++++++++++ 14 files changed, 954 insertions(+), 67 deletions(-) create mode 100644 cmd/abootimg.c create mode 100644 doc/android/boot-image.rst create mode 100644 test/py/tests/test_android/test_abootimg.py