rk356x: add zboot.its

Support zboot.img lz4 compression format start for FIT package.

Signed-off-by: Xiao Ya peng <yp.xiao@rock-chips.com>
Change-Id: I09c409c69d097e95cc816111f33e1e6d4f28e507
This commit is contained in:
Xiao Ya peng
2021-01-11 19:16:25 +08:00
parent ad9235a1f3
commit cc83d07f44

67
rk356x/zboot.its Normal file
View File

@ -0,0 +1,67 @@
/*
* Copyright (C) 2020 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/arm64/boot/dts/rk3568-evb1-ddr4-v10-linux.dtb");
type = "flat_dt";
arch = "arm64";
compression = "none";
load = <0xffffff00>;
hash {
algo = "sha256";
};
};
kernel {
data = /incbin/("kernel/arch/arm64/boot/Image.lz4");
type = "kernel";
arch = "arm64";
os = "linux";
compression = "lz4";
entry = <0xffffff01>;
load = <0xffffff01>;
hash {
algo = "sha256";
};
};
resource {
data = /incbin/("kernel/resource.img");
type = "multi";
arch = "arm64";
compression = "none";
hash {
algo = "sha256";
};
};
};
configurations {
default = "conf";
conf {
rollback-index = <0x00>;
fdt = "fdt";
kernel = "kernel";
multi = "resource";
signature {
algo = "sha256,rsa2048";
padding = "pss";
key-name-hint = "dev";
sign-images = "fdt", "kernel", "multi";
};
};
};
};