
On Thu, 26 Jan 2023 at 09:05, Safae Ouajih souajih@baylibre.com wrote:
This adds support for v3/v4 boot image format by adding the following structures:
- andr_boot_img_hdr_v3 : describes boot image header
- andr_vendor_img_hdr : describes vendor boot image header
These definitions have been copied over from the AOSP documentation at [1] and [2]
Boot arg sizes are taken from [3]: commit: 35fb6262bc3f (ANDROID: Support for vendor boot)
This also adds documentation for boot image header v3/v4 structure that was imported from [4], file: include/bootimg/bootimg.h commit: 8d0922bfb932 (Adding GKI signature in boot.img v4)
Link:[1] https://source.android.com/docs/core/architecture/bootloader/boot-image-head... Link:[2] https://source.android.com/docs/core/architecture/bootloader/partitions/vend... Link:[3] https://android.googlesource.com/platform/external/u-boot Link:[4] https://android.googlesource.com/platform/system/tools/mkbootimg
Signed-off-by: Safae Ouajih souajih@baylibre.com
include/android_image.h | 183 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 182 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org
You might consider using the sphinx style for struct comments so you can include this header file into the docs directly.