rv1126/rv1109: make recovery and kernel to fit image
Change-Id: Ia4194a566a65db560c0d365d5e0352a04307743a Signed-off-by: Weiwen Chen <cww@rock-chips.com>
This commit is contained in:
@ -16,12 +16,16 @@ export RK_KERNEL_DTS=rv1126-evb-ddr3-v10
|
||||
export RK_BOOT_IMG=zboot.img
|
||||
# kernel image path
|
||||
export RK_KERNEL_IMG=kernel/arch/arm/boot/zImage
|
||||
# kernel image format type: fit(flattened image tree)
|
||||
export RK_KERNEL_FIT_ITS=boot.its
|
||||
# parameter for GPT table
|
||||
export RK_PARAMETER=parameter-buildroot-fit.txt
|
||||
# Buildroot config
|
||||
export RK_CFG_BUILDROOT=rockchip_rv1126_rv1109
|
||||
# Recovery config
|
||||
export RK_CFG_RECOVERY=rockchip_rv1126_rv1109_recovery
|
||||
# Recovery image format type: fit(flattened image tree)
|
||||
export RK_RECOVERY_FIT_ITS=boot4recovery.its
|
||||
# ramboot config
|
||||
export RK_CFG_RAMBOOT=
|
||||
# Pcba config
|
||||
|
||||
66
rv1126_rv1109/boot.its
Normal file
66
rv1126_rv1109/boot.its
Normal file
@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Fuzhou Rockchip Electronics Co., Ltd
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/ {
|
||||
description = "U-Boot FIT source file for arm";
|
||||
|
||||
images {
|
||||
fdt {
|
||||
data = /incbin/("kernel/arch/arm/boot/dts/rv1126-evb-ddr3-v10.dtb");
|
||||
type = "flat_dt";
|
||||
arch = "arm";
|
||||
compression = "none";
|
||||
load = <0xffffff00>;
|
||||
|
||||
hash {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
|
||||
kernel {
|
||||
data = /incbin/("kernel/arch/arm/boot/zImage");
|
||||
type = "kernel";
|
||||
arch = "arm";
|
||||
os = "linux";
|
||||
compression = "none";
|
||||
entry = <0xffffff01>;
|
||||
load = <0xffffff01>;
|
||||
|
||||
hash {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
|
||||
resource {
|
||||
data = /incbin/("kernel/resource.img");
|
||||
type = "multi";
|
||||
arch = "arm";
|
||||
compression = "none";
|
||||
|
||||
hash {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
default = "conf";
|
||||
|
||||
conf {
|
||||
rollback-index = <0x00>;
|
||||
fdt = "fdt";
|
||||
kernel = "kernel";
|
||||
multi = "resource";
|
||||
|
||||
signature {
|
||||
algo = "sha256,rsa2048";
|
||||
key-name-hint = "dev";
|
||||
sign-images = "fdt", "kernel", "multi";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
80
rv1126_rv1109/boot4recovery.its
Normal file
80
rv1126_rv1109/boot4recovery.its
Normal file
@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Fuzhou Rockchip Electronics Co., Ltd
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
/ {
|
||||
description = "U-Boot FIT source file for arm";
|
||||
|
||||
images {
|
||||
fdt {
|
||||
data = /incbin/("kernel/arch/arm/boot/dts/rv1126-evb-ddr3-v10.dtb");
|
||||
type = "flat_dt";
|
||||
arch = "arm";
|
||||
compression = "none";
|
||||
load = <0xffffff00>;
|
||||
|
||||
hash {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
|
||||
kernel {
|
||||
data = /incbin/("kernel/arch/arm/boot/zImage");
|
||||
type = "kernel";
|
||||
arch = "arm";
|
||||
os = "linux";
|
||||
compression = "none";
|
||||
entry = <0xffffff01>;
|
||||
load = <0xffffff01>;
|
||||
|
||||
hash {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
|
||||
ramdisk {
|
||||
data = /incbin/("out/ramdisk");
|
||||
type = "ramdisk";
|
||||
arch = "arm";
|
||||
os = "linux";
|
||||
compression = "gzip";
|
||||
load = <0xffffff02>;
|
||||
|
||||
hash {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
|
||||
resource {
|
||||
data = /incbin/("kernel/resource.img");
|
||||
type = "multi";
|
||||
arch = "arm";
|
||||
compression = "none";
|
||||
|
||||
hash {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
default = "conf";
|
||||
|
||||
conf {
|
||||
rollback-index = <0x00>;
|
||||
fdt = "fdt";
|
||||
kernel = "kernel";
|
||||
ramdisk = "ramdisk";
|
||||
multi = "resource";
|
||||
|
||||
signature {
|
||||
algo = "sha256,rsa2048";
|
||||
key-name-hint = "dev";
|
||||
sign-images = "fdt", "kernel", "ramdisk", "multi";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user