diff options
| author | Guillaume La Roque (TI.com) <[email protected]> | 2026-01-12 11:55:39 +0100 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2026-01-15 14:00:24 +0100 |
| commit | 733f5a601989f5404947c4b268d40724bac414f6 (patch) | |
| tree | b1494749d88ad9b82544cc14121e3089f72d5a91 /cmd/stackprot_test.c | |
| parent | 8f6d43557056c73469c1e70d2949ebef6ce5ce44 (diff) | |
boot: android: Add bootconfig support
For android vendor boot image version 4 bootconfig is mandatory.[1]
In the android_image_get_ramdisk function, after copying both vendor and
boot ramdisks, we extract all androidboot.* entries from the kernel
command line. These entries are added to the bootconfig section.
We then update the sizes of the ramdisk and bootconfig.
Finally, all androidboot.* entries are removed from the kernel command
line.
[1] https://source.android.com/docs/core/architecture/partitions/vendor-boot-partitions#bootloader-support
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Guillaume La Roque (TI.com) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[mkorpershoek: dropped irrelevant code comments]
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'cmd/stackprot_test.c')
0 files changed, 0 insertions, 0 deletions
