Skip to content

am57xx: Implement Android 10 boot flow

Sam Protsenko u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest10 patches 0 repliesNew

Changes in v4 from the cover letter

- fixed broken build due to recent load_addr -> image_load_addr renaming
- added "doc: android: Convert to Sphinx format" patch to series
- addressed pending comments for v3 on mailing list
- rebased series on top of current master

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10image: android: Add functions for handling dtb fieldcommon/Makefile common/image-android.c include/image.h+227 -10 replies
2/10image: android: Add routine to get dtbo paramscommon/image-android.c include/image.h+62 -00 replies
3/10cmd: abootimg: Add abootimg commandcmd/Kconfig cmd/Makefile cmd/abootimg.c+267 -00 replies
4/10doc: android: Add documentation for Android Boot Imagecmd/Kconfig doc/android/boot-image.rst+156 -00 replies
5/10doc: android: Convert to Sphinx formatMAINTAINERS cmd/Kconfig doc/android/ab.rst +9 more+351 -2960 replies
6/10test/py: android: Add test for abootimgconfigs/sandbox_defconfig test/py/tests/test_android/test_abootimg.py+160 -00 replies
7/10configs: am57xx_evm: Enable Android commandsconfigs/am57xx_evm_defconfig configs/am57xx_hs_evm_defconfig configs/am57xx_hs_evm_usb_defconfig+18 -00 replies
8/10env: ti: boot: Respect slot_suffix in AVB commandsinclude/environment/ti/boot.h+1 -10 replies
9/10env: ti: boot: Boot Android with dynamic partitionsinclude/environment/ti/boot.h+49 -660 replies
10/10arm: 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

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPraneeth Bajjuri
SeriesA-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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

Read the v4 thread

Cover letter [PATCH v4 00/10] 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).

Changes in v4:
- fixed broken build due to recent load_addr -> image_load_addr renaming
- added "doc: android: Convert to Sphinx format" patch to series
- addressed pending comments for v3 on mailing list
- rebased series on top of current master

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 (10):
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
doc: android: Convert to Sphinx format 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

 MAINTAINERS                                   |   4 +-
 cmd/Kconfig                                   |  12 +-
 cmd/Makefile                                  |   1 +
 cmd/abootimg.c                                | 258 ++++++++++++++++
 common/Makefile                               |   2 +-
 common/image-android.c                        | 282 ++++++++++++++++++
 configs/am57xx_evm_defconfig                  |   6 +
 configs/am57xx_hs_evm_defconfig               |   6 +
 configs/am57xx_hs_evm_usb_defconfig           |   6 +
 configs/sandbox_defconfig                     |   1 +
 doc/android/{ab.txt => ab.rst}                |  39 +--
 doc/android/avb2.rst                          | 133 +++++++++
 doc/android/avb2.txt                          | 115 -------
 doc/android/bcb.rst                           | 100 +++++++
 doc/android/bcb.txt                           |  89 ------
 doc/android/boot-image.rst                    | 154 ++++++++++
 ...oot-protocol.txt => fastboot-protocol.rst} |  45 +--
 doc/android/{fastboot.txt => fastboot.rst}    |  92 +++---
 doc/android/index.rst                         |  14 +
 doc/index.rst                                 |  12 +
 include/configs/ti_armv7_common.h             |   7 +
 include/environment/ti/boot.h                 | 154 +++++-----
 include/image.h                               |   6 +
 test/py/tests/test_android/test_abootimg.py   | 159 ++++++++++
 test/py/tests/test_android/test_avb.py        |   2 +-
 25 files changed, 1335 insertions(+), 364 deletions(-)
 create mode 100644 cmd/abootimg.c
 rename doc/android/{ab.txt => ab.rst} (52%)
 create mode 100644 doc/android/avb2.rst
 delete mode 100644 doc/android/avb2.txt
 create mode 100644 doc/android/bcb.rst
 delete mode 100644 doc/android/bcb.txt
 create mode 100644 doc/android/boot-image.rst
 rename doc/android/{fastboot-protocol.txt => fastboot-protocol.rst} (82%)
 rename doc/android/{fastboot.txt => fastboot.rst} (79%)
 create mode 100644 doc/android/index.rst
 create mode 100644 test/py/tests/test_android/test_abootimg.py
Signature · 1 line
2.24.0