[PATCH v4 00/10] am57xx: Implement Android 10 boot flow
Sam Protsenko
joe.skb7 at gmail.com
Fri Jan 24 16:53:39 CET 2020
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
--
2.24.0
More information about the U-Boot
mailing list