public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Add support of Android Boot Image version 2 and non-AB image
@ 2024-11-14 21:29 Guillaume La Roque
  2024-11-14 21:29 ` [PATCH v2 1/5] bootstd: android: add support of bootimage v2 Guillaume La Roque
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Guillaume La Roque @ 2024-11-14 21:29 UTC (permalink / raw)
  To: Mattijs Korpershoek, Simon Glass, Tom Rini, Neil Armstrong
  Cc: Julien Masson, u-boot, u-boot-amlogic, Guillaume La Roque

Actually bootmethod android only support android boot image version 4
and with AB image, some old platform wtill use android boot image
version 2 with AB or without AB slot.

This patchset add support of both version 2 and non-AB slot images.
It's fixed in same time a boot issue seen on khadas vim3{l} board with 16GB eMMC

patchset was tested on khadas VIM3 and VIM3L with AOSP main branch and
android-mainline kernel and with TI AM62P with android release provided
by TI.

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
---
Changes in v2:
- Drop patch 3 (configs: khadas-vim3{l}: fix userdata size) already
  applied 
- Apply Tested-by and Reviewed-by from v1
- Fix comments
- Revert malloc/free for slot_suffix
- Remove vim3/vim3l stuff in meson64_android.h 
- Link to v1: https://lore.kernel.org/r/20241017-adnroidv2-v1-0-781c939902c9@baylibre.com

---
Guillaume La Roque (5):
      bootstd: android: add support of bootimage v2
      bootstd: android: add non-A/B image support
      configs: khadas-vim3l_android{_ab}: move on bootmeth android
      configs: khadas-vim3_android{_ab}: move on bootmeth android
      bootstd: Add test for Android boot image v2

 arch/sandbox/dts/test.dts                 | 10 +++-
 boot/Kconfig                              |  1 -
 boot/bootmeth_android.c                   | 78 +++++++++++++++++++++----------
 configs/am62x_a53_android.config          |  1 +
 configs/khadas-vim3_android_ab_defconfig  |  7 ++-
 configs/khadas-vim3_android_defconfig     |  7 ++-
 configs/khadas-vim3l_android_ab_defconfig |  7 ++-
 configs/khadas-vim3l_android_defconfig    |  7 ++-
 configs/sandbox_defconfig                 |  1 +
 include/configs/khadas-vim3_android.h     | 26 +++++++++--
 include/configs/khadas-vim3l_android.h    | 26 +++++++++--
 include/configs/meson64_android.h         |  6 ---
 test/boot/bootflow.c                      | 29 ++++++++++--
 test/py/tests/test_ut.py                  | 49 +++++++++++++++++++
 14 files changed, 208 insertions(+), 47 deletions(-)
---
base-commit: ce427e40a2422b75374ee3404e3f5c6536e8984a
change-id: 20241015-adnroidv2-a01dca609707

Best regards,
-- 
Guillaume La Roque <glaroque@baylibre.com>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-11-19 11:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-14 21:29 [PATCH v2 0/5] Add support of Android Boot Image version 2 and non-AB image Guillaume La Roque
2024-11-14 21:29 ` [PATCH v2 1/5] bootstd: android: add support of bootimage v2 Guillaume La Roque
2024-11-14 21:29 ` [PATCH v2 2/5] bootstd: android: add non-A/B image support Guillaume La Roque
2024-11-19 10:17   ` Mattijs Korpershoek
2024-11-14 21:29 ` [PATCH v2 3/5] configs: khadas-vim3l_android{_ab}: move on bootmeth android Guillaume La Roque
2024-11-15 14:04   ` Neil Armstrong
2024-11-19 10:35   ` Mattijs Korpershoek
2024-11-19 11:21     ` Guillaume LA ROQUE
2024-11-14 21:29 ` [PATCH v2 4/5] configs: khadas-vim3_android{_ab}: " Guillaume La Roque
2024-11-15 14:04   ` Neil Armstrong
2024-11-19 10:36   ` Mattijs Korpershoek
2024-11-19 11:20     ` Guillaume LA ROQUE
2024-11-14 21:29 ` [PATCH v2 5/5] bootstd: Add test for Android boot image v2 Guillaume La Roque
2024-11-19 10:21 ` [PATCH v2 0/5] Add support of Android Boot Image version 2 and non-AB image Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox