Skip to content
Commit 636da203 authored by Safae Ouajih's avatar Safae Ouajih Committed by Tom Rini
Browse files

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: default avatarSafae Ouajih <souajih@baylibre.com>
Reviewed-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
parent bc6413bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment