Skip to content

android: add bootconfig support

Guillaume La Roque (TI.com) u-boot 5 versions – In review

Get series with b4
b4 am [email protected] change-id 20241128-bootconfig-276e247be992

Versions newest first

  1. v5 Latest5 patches 5 repliesIn review
  2. v45 patches 2 repliesSuperseded
  3. v35 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches17 repliesSuperseded
v12 patches5 repliesSuperseded

Changes in v5 from the cover letter

- Fix android boot test.
- update actual boot test image instead of recreate new one.
- Link to v4: https://lore.kernel.org/r/[email protected]

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5boot: android: import addBootConfigParameters() from AOSPboot/image-android.c+40 -00 replies
2/5boot: android: Add sandbox memory mapping supportboot/image-android.c cmd/abootimg.c+39 -390 replies
3/5boot: android: Add bootconfig supportboot/image-android.c+163 -112 replies
4/5cmd: abootimg: Add 'get ramdisk' commandcmd/abootimg.c+34 -10 replies
5/5test: abootimg: Add test for bootconfig handlingtest/py/tests/test_android/test_abootimg.py+73 -182 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMattijs KorpershoekSimon Glass
1/5R-b
2/5R-b R-b
3/5R-b
4/5R-b R-b
5/5R-b R-b

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

Read the v5 thread

Cover letter [PATCH v5 0/5] android: add bootconfig support

This patchset add support of android bootconfig partition[1] in u-boot. With Android boot image v4, all androidboot.* arguments must be passed via bootconfig instead of using the kernel commandline.

[1] https://source.android.com/docs/core/architecture/bootloader/implementing-bootconfig

---
Changes in v5:
- Fix android boot test.
- update actual boot test image instead of recreate new one.
- Link to v4: https://lore.kernel.org/r/[email protected]

Changes in v4:
- Create some subfunction.
- Update some variable name.
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- fix test check
- reate subfunction for bootconfig append
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Add test
- Add new command to be able to load and read bootconfig before booting
- Somes fixes to works with sandbox test
- Link to v1: https://lore.kernel.org/all/[email protected]/

---
Guillaume La Roque (TI.com) (4):
boot: android: Add sandbox memory mapping support
boot: android: Add bootconfig support
cmd: abootimg: Add 'get ramdisk' command
test: abootimg: Add test for bootconfig handling

Mattijs Korpershoek (TI.com) (1):
boot: android: import addBootConfigParameters() from AOSP

 boot/image-android.c                        | 272 ++++++++++++++++++++++++----
 cmd/abootimg.c                              |  55 ++++--
 test/py/tests/test_android/test_abootimg.py |  91 ++++++++--
 3 files changed, 349 insertions(+), 69 deletions(-)

---
base-commit: cbff44d3d29f73324b313c1ee6629ec6e904054e
change-id: 20241128-bootconfig-276e247be992

Best regards,

Signature · 1 line
Guillaume La Roque (TI.com) <[email protected]>