[U-Boot] [PATCH v2 0/8] am57xx: Implement Android 10 boot flow

Sam Protsenko semen.protsenko at linaro.org
Wed Oct 23 14:34:19 UTC 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.

This patch series denends on next (still not merged) patches:
  1. libavb: Update libavb to current AOSP master [2]
  2. libavb: Fix build warnings after updating the lib [3]
  3. cmd: avb: Support A/B slots [4]
  4. cmd: avb: Fix requested partitions list [5]

Changes in v2:
  - add the unit test for new functionality ('bootimg' command, dtb/dtbo
    fields in Android Boot Image)
  - add "bootimg set_addr" sub-command
  - provide mem mappings so that 'bootimg' command works in sandbox
    (needed for tests to work correctly)
  - rebase on top of most recent master
  - re-sync am57x defconfigs with "make savedefconfig"

[1] https://source.android.com/devices/bootloader
[2] https://patchwork.ozlabs.org/patch/1147825/
[3] https://patchwork.ozlabs.org/patch/1147826/
[4] https://patchwork.ozlabs.org/patch/1144646/
[5] https://patchwork.ozlabs.org/patch/1147731/

Sam Protsenko (8):
  image: android: Add functions for handling dtb field
  image: android: Add routine to get dtbo params
  cmd: bootimg: Add bootimg command
  test/py: android: Add test for bootimg
  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                                |   8 +
 cmd/Makefile                               |   1 +
 cmd/bootimg.c                              | 210 ++++++++++++++++
 common/Makefile                            |   2 +-
 common/image-android.c                     | 276 +++++++++++++++++++++
 configs/am57xx_evm_defconfig               |  10 +-
 configs/am57xx_hs_evm_defconfig            |   6 +
 configs/am57xx_hs_evm_usb_defconfig        |   6 +
 configs/sandbox_defconfig                  |   1 +
 include/configs/ti_armv7_common.h          |   7 +
 include/environment/ti/boot.h              | 145 ++++++-----
 include/image.h                            |   6 +
 test/py/tests/test_android/test_bootimg.py | 157 ++++++++++++
 13 files changed, 767 insertions(+), 68 deletions(-)
 create mode 100644 cmd/bootimg.c
 create mode 100644 test/py/tests/test_android/test_bootimg.py

-- 
2.23.0



More information about the U-Boot mailing list