History log of /rk3399_rockchip-uboot/common/spl/spl_fit.c (Results 1 – 25 of 92)
Revision Date Author Comments
# f11415a8 13-Jun-2025 Xuhui Lin <xuhui.lin@rock-chips.com>

rockchip: spl: Correct bootargs append support for kernel boot

Fixes: b6bda7d5f40 (rockchip: spl: Fix bootargs append support for kernel boot)

Change-Id: I3fdea470d87966e538d837910f60f1b1065489f3
S

rockchip: spl: Correct bootargs append support for kernel boot

Fixes: b6bda7d5f40 (rockchip: spl: Fix bootargs append support for kernel boot)

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

show more ...


# b6bda7d5 12-Jun-2025 Xuhui Lin <xuhui.lin@rock-chips.com>

rockchip: spl: Fix bootargs append support for kernel boot

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


# 6da15b9f 21-May-2025 Xuhui Lin <xuhui.lin@rock-chips.com>

rockchip: fit_misc: Add return value for board_fit_image_post_process()

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


# 5dd9177c 26-Apr-2025 Xuhui Lin <xuhui.lin@rock-chips.com>

common: spl: fit: Add cipher support

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


# 99011ac4 13-Mar-2025 Xuhui Lin <xuhui.lin@rock-chips.com>

common: spl_fit: Fix ifdef condition when running on FPGA

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


# 2e71311c 08-Jan-2025 Xuhui Lin <xuhui.lin@rock-chips.com>

common: spl: Deliver aarch32 params based on uboot.itb

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


# 22ad705a 20-Nov-2024 Zain Wang <wzz@rock-chips.com>

common: spl: fix ramdisk support for thunderboot

Signed-off-by: Zain Wang <wzz@rock-chips.com>
Change-Id: I5c82c94f967d8f63b3d2ca1886944d60fa4ba8a6


# 10ba722d 18-Nov-2024 Kever Yang <kever.yang@rock-chips.com>

spl_fit: Use CONFIG_SPL_MTD_SUPPORT instead of CONFIG_MTD_BLK

SPL is using CONFIG_SPL_MTD_SUPPORT.

Change-Id: I8b605bb3629d114ae82def3a8df42ebb2ffbb812
Signed-off-by: Kever Yang <kever.yang@rock-ch

spl_fit: Use CONFIG_SPL_MTD_SUPPORT instead of CONFIG_MTD_BLK

SPL is using CONFIG_SPL_MTD_SUPPORT.

Change-Id: I8b605bb3629d114ae82def3a8df42ebb2ffbb812
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


# c8ec6b59 04-Nov-2024 Xuhui Lin <xuhui.lin@rock-chips.com>

common: spl: Fix optee support for thunderboot

Before, optee param is recorded in U-Boot dtb.
SPL thunderboot doesn't record loadables info in kernel's
dtb so use entry_point_bl32 instead to indicat

common: spl: Fix optee support for thunderboot

Before, optee param is recorded in U-Boot dtb.
SPL thunderboot doesn't record loadables info in kernel's
dtb so use entry_point_bl32 instead to indicate bl32_entry.

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

show more ...


# c1aa1148 30-Jul-2024 Xuhui Lin <xuhui.lin@rock-chips.com>

common: spl: fit: Fix ab support for open source thunderboot

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


# 44f37eaa 17-Jul-2024 Xuhui Lin <xuhui.lin@rock-chips.com>

common: spl: Add HW-ID dtb support for thunderboot

Steps to enable HW-ID dtb on thunderboot:
1、configs: Enable the following configurations:
CONFIG_SPL_ROCKCHIP_HWID_DTB
CONFIG

common: spl: Add HW-ID dtb support for thunderboot

Steps to enable HW-ID dtb on thunderboot:
1、configs: Enable the following configurations:
CONFIG_SPL_ROCKCHIP_HWID_DTB
CONFIG_ADC
CONFIG_SPL_ADC_SUPPORT
CONFIG_SARADC_ROCKCHIP_V2 or CONFIG_SARADC_ROCKCHIP
2、dts: add u-boot,dm-spl on saradc node
3、Add HW-ID description for packaging boot.img:
+ #_saradc_ch1_10 {
+ data = /incbin/("/home/nickey/211/3562_dict/sdk/kernel/arch/arm64/boot/dts/rockchip/rk3562-y03-v10.dtb");
+ type = "flat_dt";
+ arch = "arm64";
+ compression = "none";
+ load = <0x208000>;
+ hash {
+ algo = "sha256";
+ };
+ };
+
kernel {
data = /incbin/("@KERNEL_IMG@");
type = "kernel";
@@ -43,7 +55,7 @@
conf {
description = "Boot Linux kernel with FDT blob";
rollback-index = <0x0>;
- fdt = "fdt";
+ fdt = "#_saradc_ch1_10", "fdt";
kernel = "kernel";
signature {

Tested-On: RK3562
Change-Id: If38f49296f1073e69262da21b5502b1437eb2744
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>

show more ...


# 7db562c3 25-Jun-2024 Jason Zhu <jason.zhu@rock-chips.com>

spl: fit: flush dcache when load data for other cpu

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


# 4024d9e5 07-Sep-2023 Joseph Chen <chenjh@rock-chips.com>

spl: fit: Not allow append fdt failed

Try the backup image when any image load fail.

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


# 36c449fe 17-May-2023 Joseph Chen <chenjh@rock-chips.com>

common: Add MP boot support

mp_boot build from: a5185c920.

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


# 9d3df7af 28-Mar-2023 Joseph Chen <chenjh@rock-chips.com>

spl: fit: Print kernel image source information

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


# f34b44cf 09-Feb-2023 Xuhui Lin <xuhui.lin@rock-chips.com>

common: spl: do reset automatically when boot A/B slot fail

Without this patch, spl will hang and wait for reset when slot boot fail.
Example: if uboot_a is damaged, user needs to repeat pressing do

common: spl: do reset automatically when boot A/B slot fail

Without this patch, spl will hang and wait for reset when slot boot fail.
Example: if uboot_a is damaged, user needs to repeat pressing down reset
key, and then spl boot uboot_b. It's really inconvenient.

Now, spl will reset automatically when slot boot fail. If all media and
slots boot fail, spl enter maskrom mode.

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

show more ...


# c1006ae0 22-Nov-2021 Joseph Chen <chenjh@rock-chips.com>

spl: fit: support bring up max 5 mcu firmware

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


# 7e6f3a66 11-Nov-2021 Joseph Chen <chenjh@rock-chips.com>

spl: fit: print sectors

It's helpful to know where the spl loads next stage.

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


# b6ffac1d 29-Jul-2021 Jason Zhu <jason.zhu@rock-chips.com>

common: use mtd_part_parse()

Since its parameters changed.

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


# 9e67e3dd 02-Aug-2021 Joseph Chen <chenjh@rock-chips.com>

common: image/gunzip: sync with new API param

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


# c4ad0400 02-Jul-2021 Jason Zhu <jason.zhu@rock-chips.com>

spl: fit: append mtd part info to dtb if BLK_MTD_SPI_NAND in kernel boot

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


# a712f631 24-May-2021 Jason Zhu <jason.zhu@rock-chips.com>

spl: fit: support pass a/b system info kernel

Call fdt_bootargs_append_ab() to append a/b system info to bootargs.

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

spl: fit: support pass a/b system info kernel

Call fdt_bootargs_append_ab() to append a/b system info to bootargs.

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

show more ...


# 0f74a651 02-Feb-2021 Joseph Chen <chenjh@rock-chips.com>

spl: fit: get kernel fdt from index 1 of "fdt" property

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


# ecfe22e6 02-Mar-2021 Joseph Chen <chenjh@rock-chips.com>

spl: fit: not allow load fit image fail

It handles the sub-image hash verify failed, making
bootflow to try the other backup itb.

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

spl: fit: not allow load fit image fail

It handles the sub-image hash verify failed, making
bootflow to try the other backup itb.

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

show more ...


# 1f5c7b64 04-Jan-2021 Jason Zhu <jason.zhu@rock-chips.com>

spl: fit: support decreasing 1 if verify fail when enable a/b

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


1234