Skip to content

Draft: android: Add bootconfig support

Guillaume LA ROQUE requested to merge glaroque/bootconfig into integ/ti-u-boot-2024.04

For android vendor boot image version 4 bootconfig is mandatory.[1] Add in bootmeth_android some check to not populate cmdline when we are in android image version 4.

In image-android.c add booconfig in android_image_get_ramdisk after both ramdisk (vendor ramdisk and boot ramdisk).

  • copy both ramdisk
  • copy at the end bootconfig data.

Bootconfig data MUST be copy at this moment so use internal buffer to concaatane all bootconfig information from bootmeth_android in image-android.c

1: https://source.android.com/docs/core/architecture/partitions/vendor-boot-partitions#vendor-boot-partition-v4

Signed-off-by: Guillaume La Roque glaroque@baylibre.com

Merge request reports

Loading