[PATCH v3 0/9] am57xx: Implement Android 10 boot flow

Sam Protsenko semen.protsenko at linaro.org
Tue Dec 24 20:54:46 CET 2019


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

[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

-- 
2.24.0



More information about the U-Boot mailing list