History log of /rk3399_rockchip-uboot/include/boot_rkimg.h (Results 1 – 25 of 28)
Revision Date Author Comments
# f39aacfa 30-Apr-2024 Xuhui Lin <xuhui.lin@rock-chips.com>

spl: fit tb: Add standalone ramdisk partition support

Update:
fa81071353 spl: fit tb: Add standalone ramdisk partition support

Build from commit id fa81071353 under u-boot-tb repo with
additional c

spl: fit tb: Add standalone ramdisk partition support

Update:
fa81071353 spl: fit tb: Add standalone ramdisk partition support

Build from commit id fa81071353 under u-boot-tb repo with
additional configs as follows based on rv1106-spi-nor-tb.config:

CONFIG_FIT_SIGNATURE=y
CONFIG_DM_CRYPTO=y
CONFIG_FIT_HW_CRYPTO=y
CONFIG_SPL_FIT_SIGNATURE=y
CONFIG_SPL_FIT_ROLLBACK_PROTECT=y
CONFIG_SPL_AB=y
CONFIG_RSA_N_SIZE=0x200
CONFIG_RSA_E_SIZE=0x10
CONFIG_RSA_C_SIZE=0x20
CONFIG_SPL_OPTEE=y
CONFIG_SPL_GZIP=y

Change-Id: I572d83e333e28f2b9fa93288d46c31794a069a25
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>

show more ...


# 8af25352 17-Mar-2023 Zorro Liu <lyx@rock-chips.com>

rockchip: boot mode: Support android cmd 'reboot quiescent'

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I9c07c697817846d4f034b299b89787b728182bef


# 9f68846b 03-Nov-2022 Joseph Chen <chenjh@rock-chips.com>

rockchip: spl: Add arch_fpga_init() call

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


# 48201c4c 04-Jul-2022 Jason Zhu <jason.zhu@rock-chips.com>

rockchip: meta: support rockchip meta

We use meta to load the info, like isp, etc.

Support pass info to other process and pass info to kernel through
cmdline.

Signed-off-by: Jason Zhu <jason.zhu@r

rockchip: meta: support rockchip meta

We use meta to load the info, like isp, etc.

Support pass info to other process and pass info to kernel through
cmdline.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Icf8e5edd215a402682254b6c097fcefc30365f5b

show more ...


# 25a706d2 12-Jan-2022 Joseph Chen <chenjh@rock-chips.com>

rockchip: fit: make resource code can be disabled

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


# e9f9d90d 08-Jun-2021 Joseph Chen <chenjh@rock-chips.com>

rockchip: board: export fit_write_trusty_rollback_index()

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


# 57504d99 02-Jul-2021 Joseph Chen <chenjh@rock-chips.com>

rockchip: spl: support get boot mode

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


# 706ec1d4 07-May-2021 Joseph Chen <chenjh@rock-chips.com>

rockchip: add get_bcb_recovery_msg() to record recovery msg

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


# 0efe6414 01-Mar-2021 Tony Xu <tony.xu@rock-chips.com>

rockchip: boot mode: add dfu boot mode

Signed-off-by: Tony Xu <tony.xu@rock-chips.com>
Change-Id: I965982c71d37f4550be364f5fbcc9ae39b22e3d1


# 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 ...


# b693f156 22-Jul-2020 Jason Zhu <jason.zhu@rock-chips.com>

include: boot_rkimg: define system partition name

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ifaaf5c5eb6baf777ed32e28ca6e5ef382e782c11


# 869c6dc2 21-May-2020 Joseph Chen <chenjh@rock-chips.com>

include: boot_rkimg: define more partition name

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


# 1a4f6af8 02-Mar-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 57be1825 15-Jan-2020 Joseph Chen <chenjh@rock-chips.com>

rockchip: clean kernel dtb code to kernel_dtb.c

Since there is a lot of code for kernel dtb feature, let's
move them into a individual file to make board.c clean.

Signed-off-by: Joseph Chen <chenjh

rockchip: clean kernel dtb code to kernel_dtb.c

Since there is a lot of code for kernel dtb feature, let's
move them into a individual file to make board.c clean.

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

show more ...


# bc4ccd53 14-Jan-2020 Joseph Chen <chenjh@rock-chips.com>

rockchip: clean rockchip_read_dtb_file() api to boot_rkimg.c

rockchip_read_dtb_file() is top level api which reads dtb from
resource/fit/uImage/distro image, etc.

only leave code about resource ima

rockchip: clean rockchip_read_dtb_file() api to boot_rkimg.c

rockchip_read_dtb_file() is top level api which reads dtb from
resource/fit/uImage/distro image, etc.

only leave code about resource image in resource_img.c.

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

show more ...


# 5ae165da 15-Jan-2020 Joseph Chen <chenjh@rock-chips.com>

include: rkimg: add resource partition macro

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


# d04ada6c 07-Jan-2020 Joseph Chen <chenjh@rock-chips.com>

rockchip: clean boot_mode.c and boot_rkimg.c

Clean the code into where it belongs to.

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


# e72b9125 06-Jan-2020 Joseph Chen <chenjh@rock-chips.com>

common: rkimg: move rkimg boot code into bootrkp.c

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


# b8dc613c 19-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 0ed06f16 21-Oct-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: support boot from U-disk

- The U-disk boot is only supported from U-Boot, the earlier preloader
doesn't support it;
- MMC1(SD) has higher priority than U-disk;
- Always boot into recover

rockchip: support boot from U-disk

- The U-disk boot is only supported from U-Boot, the earlier preloader
doesn't support it;
- MMC1(SD) has higher priority than U-disk;
- Always boot into recovery mode and deliver "usbfwupdate" to cmdline;
- Usb driver may depend on clock/regulator init, so behind of them;
- Suggest to add ./dts/kern.dtb file to promise the kernel dtb always
to be loaded successfully even the native images are all damaged.

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

show more ...


# 1d30bcc5 08-Jul-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: resource: support parse "logo" partition picture

We provide a "logo" partition for user to store logo.bmp
and update from kernel user space dynamically.

This patch follows the rkdevelop u

rockchip: resource: support parse "logo" partition picture

We provide a "logo" partition for user to store logo.bmp
and update from kernel user space dynamically.

This patch follows the rkdevelop usage:
- Only support store one picture named "logo.bmp";
- Use "dd" command to generate partition image with logo.img
eg: "dd if=logo.bmp of=logo.img count=1 bs=19456"

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

show more ...


# 0bc19640 27-Jun-2019 Joseph Chen <chenjh@rock-chips.com>

common: rkimg: clear boot mode register when its value is not reboot reason

It's not safe to drop clear operation, example: using "reboot fastboot" from
kernel to enter U-Boot fastboot mode and fina

common: rkimg: clear boot mode register when its value is not reboot reason

It's not safe to drop clear operation, example: using "reboot fastboot" from
kernel to enter U-Boot fastboot mode and finally reset system by fastboot
command "fastboot reboot", the system reboot and enter U-Boot fastboot mode
again but not boot to kernel.

Take back the clear operation which was dropped on:
(9d2bc40 boot_rkimg: don't override BOOT_MODE_REG)

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

show more ...


# 6e15146e 14-Mar-2019 Joseph Chen <chenjh@rock-chips.com>

lib: sysmem: refactor code

- import memblk id to manage memory blocks;
- change "sysmem_property" to generic "memblock";
- use alloc instead of reserve for all memory blocks;
- clean up and fix some

lib: sysmem: refactor code

- import memblk id to manage memory blocks;
- change "sysmem_property" to generic "memblock";
- use alloc instead of reserve for all memory blocks;
- clean up and fix some logic;
- add U-Boot cmd for sysmem;

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

show more ...


# f8dbe861 01-Aug-2018 Joseph Chen <chenjh@rock-chips.com>

android: support dtb overlay

- read dtbo from recovery or dtbo partition;
- append "androidboot.dtbo_idx" to cmdline;
- apply dtb overlay when first read kernel dtb;
- pass dtb that first time read

android: support dtb overlay

- read dtbo from recovery or dtbo partition;
- append "androidboot.dtbo_idx" to cmdline;
- apply dtb overlay when first read kernel dtb;
- pass dtb that first time read to kernel;

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

show more ...


12