| cee2fb0e | 29-Sep-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: android_ab: move the ab functions to android_ab.c
Move the ab functions to android_ab.c and add "ab_" prefix to api function.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id:
common: android_ab: move the ab functions to android_ab.c
Move the ab functions to android_ab.c and add "ab_" prefix to api function.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I4527a0c957aa7853a1b75d456ca3fabaf80c1c57
show more ...
|
| cf87ffd3 | 29-Sep-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
include: android_image: move some android common definitions to this file
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Ia0da707408bcd43b50b49cef89495af7f9d97cd7 |
| 295b6466 | 17-Oct-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: fit: print ATF and U-Boot load address
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0b732934c1aa63ed6e849d85bd77fa8ec1f622b3 |
| e7498cb0 | 28-Sep-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: show ramdisk size of boot and vendor-boot
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ia8eca7010989e64d10b09628a12bcfc5aaeb988c |
| 132e9eca | 22-Sep-2020 |
Dayao Ji <jdy@rock-chips.com> |
rockchip: rkimg: Add R/W interfaces for virtual A/B metadata
According to the AOSP default definition, the virtual A/B metadata is located at the offset 32KB of the misc partition.
Signed-off-by: D
rockchip: rkimg: Add R/W interfaces for virtual A/B metadata
According to the AOSP default definition, the virtual A/B metadata is located at the offset 32KB of the misc partition.
Signed-off-by: Dayao Ji <jdy@rock-chips.com> Change-Id: Ib60379f25e4c72be9f5ed03934ab7dc928cdd585
show more ...
|
| 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 ...
|
| 93fd134f | 17-Sep-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: malloc simple: enable space exhausted message
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If089f38abf5e205a2b9f00fd2d735751fd7d5201 |
| 69b1ad46 | 05-Sep-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: clean up code
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I98dfd54edd813f892c5f2717a694b2424b8ecded |
| fdb19f39 | 07-Sep-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: fit: add file spl_fit_tb_arm_v7.S
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I59554a339cbad5f03806c6b1007ccf69e03be470 |
| 2201a451 | 07-Sep-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: fit: add fit_image_is_preload()
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I3c3001a347ae59fcfd186156382c04b4b8a77546 |
| 3eac03e2 | 02-Sep-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: spl: ab: allow missing misc partition
Return partition name without any slot suffix in this case.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If0692e3e2845f152802632994f5d
common: spl: ab: allow missing misc partition
Return partition name without any slot suffix in this case.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If0692e3e2845f152802632994f5da5a9d3fb1731
show more ...
|
| b8fa0995 | 02-Sep-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: console: support enable timestamp in SPL
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Iefe5f9ea6e9abb8c3cc07e75beb68c387f20320f |
| 29725e85 | 20-Aug-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: fit: print invalid fit magic
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I89da3797e444bb12e58cf99f902cb758c6fd82f9 |
| a00b516f | 12-Aug-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: fit: use CONFIG_SPL_KERNEL_BOOT for thunder-boot
This option was added by RKFW boot flow, let's reuse it.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id4625a783747ce2e4ebaf69
spl: fit: use CONFIG_SPL_KERNEL_BOOT for thunder-boot
This option was added by RKFW boot flow, let's reuse it.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id4625a783747ce2e4ebaf69a5fa3812077a79639
show more ...
|
| 45d851f4 | 13-Aug-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: spl: show total time of SPL
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I93de59f4064a2579f8010da2655607f45840f8ed |
| 01c0df48 | 17-Aug-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: android: decrease ab tries count after load firmware successfully
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I31842eda26f05b03ea6a0274502a60814e00e6a0 |
| 50466f58 | 27-Jul-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: fit: update newline position
Adding newline after board_fit_image_post_process() message.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I325f26bfb33638a4dfe8fef473d6c5062e566158 |
| fb743922 | 24-Jul-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: mtd_blk: use CONFIG_MTD_BLK_U_BOOT_OFFS as uboot location address
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I7a8e75095e30541947503481e214462b3d543fd0 |
| 3b1ddd14 | 24-Jul-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: add CONFIG_MTD_BLK_U_BOOT_OFFS
Find the uboot by CONFIG_MTD_BLK_U_BOOT_OFFS address from nand, spi nand, nor flash with mtd block interface.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
spl: add CONFIG_MTD_BLK_U_BOOT_OFFS
Find the uboot by CONFIG_MTD_BLK_U_BOOT_OFFS address from nand, spi nand, nor flash with mtd block interface.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I6032570406a8eda2609ad877785e71c6c8b5df0c
show more ...
|
| d3bfb68b | 28-Jun-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: fit: seperate compress and decompress address
Address definition: comp = <0x...>: compress image address; load = <0x...>: decompress image address;
We default reserve 1MB size for decompress
spl: fit: seperate compress and decompress address
Address definition: comp = <0x...>: compress image address; load = <0x...>: decompress image address;
We default reserve 1MB size for decompress if there is no "comp = <0x...>", assuming it's enough for U-Boot, tee and atf, etc.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ic82f69551301121f08fba88ff433ad5789859b70
show more ...
|
| e12dde2d | 28-Jun-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: fit: support load kernel fit
Support load kernel fit image from boot/recovery partition and ignore U-Boot proper if we expect to boot kernel in SPL.
Signed-off-by: Joseph Chen <chenjh@rock-chi
spl: fit: support load kernel fit
Support load kernel fit image from boot/recovery partition and ignore U-Boot proper if we expect to boot kernel in SPL.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I220c70c784e2327feea591756cbbde97ada8335f
show more ...
|
| 3d94fb28 | 22-Jul-2020 |
Joseph Chen <chenjh@rock-chips.com> |
Kconfig: fit: add options for loading kernel in SPL
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ice46bc2e457bb8d421d9002057ee0f00af229da8 |
| 569a1737 | 23-Jun-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: fit: add spl_fit_load_blob()
Move code to a function in order to be shared with other code.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0d54ea7bb28a54a54eb313cda11c33f4d4564
spl: fit: add spl_fit_load_blob()
Move code to a function in order to be shared with other code.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0d54ea7bb28a54a54eb313cda11c33f4d4564a84
show more ...
|
| 8b16d676 | 22-Jun-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: mmc: always load U-Boot partition
On the view of spl_xxx.c, it only cares about loading U-Boot by spl_load_simple_fit().
Other partitions is better to be loaded in the spl_load_simple_fit().
spl: mmc: always load U-Boot partition
On the view of spl_xxx.c, it only cares about loading U-Boot by spl_load_simple_fit().
Other partitions is better to be loaded in the spl_load_simple_fit().
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I15625f7ebdb3aaee5491fddabf544951723b00a9
show more ...
|
| a2b9279d | 02-Jul-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: Kconfig: wrap some option by CONFIG_SPL_KERNEL_BOOT
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ia599ec3f94726e490467b5f8bc24199832d62dca |