Add support of Android Boot Image version 2 and non-AB image
Get series with b4
b4 am [email protected] change-id 20241015-adnroidv2-a01dca609707Versions newest first
- v4 Latest5 patches 1 replyIn review
- v35 patches 10 repliesSuperseded
- v25 patches 8 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 6 patches | 11 replies | Superseded |
Changes in v4 from the cover letter
- test: fix test after patch done on it by Mattijs :
https://lore.kernel.org/r/all/20241123024300.GY3600562@bill-the-cat/
- Link to v3: https://lore.kernel.org/r/[email protected]
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | bootstd: android: add support of bootimage v2boot/ | +12 | 0 replies | |
| 2/5 | bootstd: android: add non-A/B image supportboot/ boot/ configs/ +1 more | +44 | 0 replies | |
| 3/5 | configs: khadas-vim3l_android{_ab}: move on bootmeth androidconfigs/ configs/ include/ +1 more | +33 | 0 replies | |
| 4/5 | configs: khadas-vim3_android{_ab}: move on bootmeth androidconfigs/ configs/ include/ +1 more | +33 | 0 replies | |
| 5/5 | bootstd: Add test for Android boot image v2arch/ test/ test/ | +84 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Julien Masson | Mattijs Korpershoek | Neil Armstrong |
|---|---|---|---|
| 1/5 | T-b | R-b | |
| 2/5 | R-b | ||
| 3/5 | R-b | A-b | |
| 4/5 | R-b | A-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 0/5] Add support of Android Boot Image version 2 and non-AB image
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.
---
Changes in v4:
- test: fix test after patch done on it by Mattijs :
https://lore.kernel.org/r/all/20241123024300.GY3600562@bill-the-cat/
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Remove gpio recovery stuff not needed anymore.
- Link to v2: https://lore.kernel.org/r/[email protected]
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/[email protected]
---
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 | 25 ++++++++-- include/configs/khadas-vim3l_android.h | 25 ++++++++-- include/configs/meson64_android.h | 6 --- test/boot/bootflow.c | 29 ++++++++++-- test/py/tests/test_ut.py | 49 +++++++++++++++++++ 14 files changed, 206 insertions(+), 47 deletions(-)
---
base-commit: 48380f9b2a12e3fc6339d6af5a154bded769d911
change-id: 20241015-adnroidv2-a01dca609707
Best regards,
Signature · 1 line
Guillaume La Roque <[email protected]>