History log of /rk3399_rockchip-uboot/cmd/android.c (Results 1 – 3 of 3)
Revision Date Author Comments
# 745aeb1a 09-Sep-2020 Joseph Chen <chenjh@rock-chips.com>

common: android: add boot_img_hdr_v3 and vendor boot support

Android Header v3 and vendor boot partition are introduced
from Android-11(R).

Header populate:
Header v3 is no longer compatible with

common: android: add boot_img_hdr_v3 and vendor boot support

Android Header v3 and vendor boot partition are introduced
from Android-11(R).

Header populate:
Header v3 is no longer compatible with v0/1/2 header, we
add populate_andr_img_hdr() to merge boot and vendor_boot
partition header into struct andr_img_hdr in order to
compatible with v0/1/2 header.

resource.img:
The second_addr and second_size fields are removed in v3,
so we require resource partition to restore resource.img.

A/B system:
If not A/B system, the boot.img header version is 3 and
recovery header is version 2.

AVB load image:
- If allow verification error: the image is loaded by
ops->get_preloaded_partition() which auto populates
boot_img_hdr_v3.
- If not allow verification error: the image is full loaded
by ops->read_from_partition() which doesn't populate
boot_img_hdr_v3, we need to fix it.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I2afce53c43d782fc57baa01acf9c05518b580840

show more ...


# df3ff372 30-Aug-2019 Joseph Chen <chenjh@rock-chips.com>

cmd: android: round up image header size

Change-Id: I79e1b31ae2d018c0a8da030482f2ac0be44cb177
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# eae0a6b1 22-Jul-2019 Joseph Chen <chenjh@rock-chips.com>

cmd: add command "android_print_hdr" support

This is useful for debug.

Change-Id: I6e56255d6e32e692031c6c3226d0dc041433dd48
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>