]> git.ipfire.org Git - thirdparty/u-boot.git/commit
test: abootimg: Add test for bootconfig handling
authorGuillaume La Roque (TI.com) <glaroque@baylibre.com>
Mon, 12 Jan 2026 10:55:41 +0000 (11:55 +0100)
committerMattijs Korpershoek <mkorpershoek@kernel.org>
Fri, 16 Jan 2026 13:07:58 +0000 (14:07 +0100)
commit0efe1d9502a022d5d5c39c73340dd0b7b3f9cbe5
tree0efa116ad6d743d101c79858e9bd9bbebed3887b
parent892409d4fc04d585fc974e33ef63b735d401e11a
test: abootimg: Add test for bootconfig handling

Add test to verify that androidboot.* parameters are correctly extracted
from bootargs and appended to the bootconfig section when using
'abootimg get ramdisk' with boot image v4 and vendor_boot image.

The test verifies:
- androidboot.* parameters are removed from bootargs
- They are appended to the bootconfig section in the ramdisk
- Non-androidboot parameters remain in bootargs
- The bootconfig trailer is properly updated

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Guillaume La Roque (TI.com) <glaroque@baylibre.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Link: https://lore.kernel.org/r/20260112-bootconfig-v5-5-79b242159ac7@baylibre.com
[mkorpershoek: dropped whitespace changes from original patch]
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
test/py/tests/test_android/test_abootimg.py