Safae Ouajih 636da2039a android: boot: support boot image header version 3 and 4
Enable the support for boot image header version 3 and 4
using abootimg command.

In order to use version 3 or 4:

1- Vendor boot image address should be given to abootimg cmd.

	abootimg addr $1 $vendor_boot_load_addr

2- "ramdisk_addr_r" env variable (ramdisk address) should be set to host
the ramdisk : generic ramdisk + vendor ramdisk

Replace "struct andr_boot_img_hdr_v0*" by "void *" in
some functions since v3 and v4 are now supported as well.

Signed-off-by: Safae Ouajih <souajih@baylibre.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
2023-04-04 14:50:47 -04:00
..
2022-01-19 18:11:34 +01:00
2023-02-06 13:04:53 -05:00
2021-11-11 19:01:56 -05:00
2023-01-16 18:26:50 -05:00
2022-01-19 18:11:34 +01:00
2021-11-11 19:01:56 -05:00
2021-11-11 19:01:56 -05:00
2021-11-11 19:01:56 -05:00
2023-03-27 15:19:57 -04:00
2023-01-09 11:30:08 -05:00
2023-01-16 18:26:50 -05:00
2023-01-16 18:26:50 -05:00
2023-01-16 18:26:50 -05:00
2023-03-02 17:45:58 -05:00
2022-08-26 16:32:59 -06:00