Home
last modified time | relevance | path

Searched hist:"745 aeb1a7d34894ca02c79ec6eae74650aa519a8" (Results 1 – 7 of 7) sorted by relevance

/rk3399_rockchip-uboot/cmd/
H A Dandroid.c745aeb1a7d34894ca02c79ec6eae74650aa519a8 Wed Sep 09 10:05:01 UTC 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 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
/rk3399_rockchip-uboot/include/
H A Dandroid_image.h745aeb1a7d34894ca02c79ec6eae74650aa519a8 Wed Sep 09 10:05:01 UTC 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 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
H A Dboot_rkimg.h745aeb1a7d34894ca02c79ec6eae74650aa519a8 Wed Sep 09 10:05:01 UTC 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 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
H A Dimage.h745aeb1a7d34894ca02c79ec6eae74650aa519a8 Wed Sep 09 10:05:01 UTC 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 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
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dresource_img.c745aeb1a7d34894ca02c79ec6eae74650aa519a8 Wed Sep 09 10:05:01 UTC 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 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
/rk3399_rockchip-uboot/common/
H A Dimage-android.c745aeb1a7d34894ca02c79ec6eae74650aa519a8 Wed Sep 09 10:05:01 UTC 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 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
H A Dandroid_bootloader.c745aeb1a7d34894ca02c79ec6eae74650aa519a8 Wed Sep 09 10:05:01 UTC 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 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