Skip to content

am57xx: Implement Android 10 boot flow

Sam Protsenko u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 0 repliesNew
  2. v28 patches 0 repliesSuperseded
  3. v17 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- 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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9image: android: Add functions for handling dtb fieldcommon/Makefile common/image-android.c include/image.h+220 -11 reply
1/9image: android: Add functions for handling dtb field+0 -01 reply
2/9image: android: Add routine to get dtbo paramscommon/image-android.c include/image.h+62 -01 reply
3/9cmd: abootimg: Add abootimg commandcmd/Kconfig cmd/Makefile cmd/abootimg.c+251 -02 replies
4/9doc: android: Add documentation for Android Boot Imagecmd/Kconfig doc/android/boot-image.rst+156 -01 reply
5/9test/py: android: Add test for abootimgconfigs/sandbox_defconfig test/py/tests/test_android/test_abootimg.py+160 -01 reply
6/9configs: am57xx_evm: Enable Android commandsconfigs/am57xx_evm_defconfig configs/am57xx_hs_evm_defconfig configs/am57xx_hs_evm_usb_defconfig+18 -01 reply
7/9env: ti: boot: Respect slot_suffix in AVB commandsinclude/environment/ti/boot.h+1 -10 replies
8/9env: ti: boot: Boot Android with dynamic partitionsinclude/environment/ti/boot.h+42 -650 replies
9/9arm: ti: boot: Use correct dtb and dtbo on Android bootinclude/configs/ti_armv7_common.h include/environment/ti/boot.h+47 -30 replies

Reviews trailers per patch

4 of 10 patches have a Reviewed-by or Acked-by.

PatchEugeniu RoscaSimon Glass
1/9
1/9
2/9
3/9R-b T-b R-b
4/9R-b
5/9R-b
6/9R-b
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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
Signature · 1 line
2.24.0