| /rk3399_rockchip-uboot/cmd/ |
| H A D | android.c | 745aeb1a7d34894ca02c79ec6eae74650aa519a8 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 D | android_image.h | 745aeb1a7d34894ca02c79ec6eae74650aa519a8 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 D | boot_rkimg.h | 745aeb1a7d34894ca02c79ec6eae74650aa519a8 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 D | image.h | 745aeb1a7d34894ca02c79ec6eae74650aa519a8 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 D | resource_img.c | 745aeb1a7d34894ca02c79ec6eae74650aa519a8 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 D | image-android.c | 745aeb1a7d34894ca02c79ec6eae74650aa519a8 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 D | android_bootloader.c | 745aeb1a7d34894ca02c79ec6eae74650aa519a8 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
|