From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sam Protsenko Date: Tue, 24 Dec 2019 21:54:46 +0200 Subject: [PATCH v3 0/9] am57xx: Implement Android 10 boot flow Message-ID: <20191224195455.31836-1-semen.protsenko@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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