[PATCH v3 0/5] android: add bootconfig support

Guillaume La Roque (TI.com) glaroque at baylibre.com
Fri Nov 14 16:28:39 CET 2025


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

Signed-off-by: Guillaume La Roque (TI.com) <glaroque at baylibre.com>
---
Changes in v3:
- fix test check
- reate subfunction for bootconfig append
- Link to v2: https://lore.kernel.org/r/20251017-bootconfig-v2-0-8c7c2f2e5474@baylibre.com

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/20241128-bootconfig-v1-0-0e63a5dae82c@baylibre.com/

---
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                        | 199 ++++++++++++++++++++++++----
 cmd/abootimg.c                              |  35 ++++-
 test/py/tests/test_android/test_abootimg.py | 108 +++++++++++++--
 3 files changed, 308 insertions(+), 34 deletions(-)
---
base-commit: bf1d8c1fec863b7da2f0d1ed4bd5526275d70dc2
change-id: 20241128-bootconfig-276e247be992

Best regards,
-- 
Guillaume La Roque (TI.com) <glaroque at baylibre.com>



More information about the U-Boot mailing list