rv1126: switch to fit image for thunderboot

Signed-off-by: Zhichao Yu <zhichao.yu@rock-chips.com>
Change-Id: I71e009e31d49f6d4962e08e13c3c248f21b375fb
This commit is contained in:
Zhichao Yu
2020-08-19 21:02:20 +08:00
parent 12564bb1a1
commit cc87f69c17
3 changed files with 94 additions and 4 deletions

86
rv1126_rv1109/boot-tb.its Normal file
View File

@ -0,0 +1,86 @@
/*
* Copyright (C) 2020 Rockchip Electronics Co., Ltd
*
* SPDX-License-Identifier: GPL-2.0
*/
/dts-v1/;
/ {
description = "FIT source file for Linux";
#address-cells = <1>;
images {
fdt {
data = /incbin/("./images-tb/rk-kernel.dtb");
type = "flat_dt";
arch = "arm";
compression = "none";
load = <0x01f00000>;
hash {
algo = "sha256";
uboot-ignore = <1>;
};
};
kernel {
data = /incbin/("./images-tb/kernel");
compression = "gzip";
type = "kernel";
arch = "arm";
os = "linux";
comp = <0x4800000>;
entry = <0x608000>;
load = <0x608000>;
hash {
algo = "sha256";
uboot-ignore = <1>;
};
};
ramdisk {
data = /incbin/("./images-tb/ramdisk");
compression = "gzip";
type = "ramdisk";
arch = "arm";
os = "linux";
comp = <0x5800000>;
load = <0x2800000>;
decomp-async;
hash {
algo = "sha256";
uboot-ignore = <1>;
};
};
resource {
data = /incbin/("./images-tb/resource");
type = "multi";
arch = "arm";
compression = "none";
hash {
algo = "sha256";
uboot-ignore = <1>;
};
};
};
configurations {
default = "conf";
conf {
description = "Boot Linux kernel with FDT blob";
rollback-index = <0x0>;
fdt = "fdt";
kernel = "kernel";
ramdisk = "ramdisk";
multi = "resource";
signature {
algo = "sha256,rsa2048";
padding = "pss";
key-name-hint = "dev";
sign-images = "fdt", "kernel", "ramdisk", "multi";
};
};
};
};