S32g secure boot signature generation
u-boot signature
linux kernel signature
/dts-v1/;
/ {
description = "kernel+dtb/fdt fit image";
#address-cells = <1>;
images {
kernel@1 {
description = "kernel image";
data = /incbin/("../linux/arch/arm64/boot/Image");
type = "kernel";
arch = "arm64";
os = "linux";
compression = "none";
load = <0x81000000>;
entry = <0x81000000>;
kernel-version = <1>;
hash@1 {
algo = "sha256";
};
};
fdt@1 {
description = "dtb blob";
data =
/incbin/("../linux/arch/arm64/boot/dts/freescale/s32g274a-rdb2.dtb");
type = "flat_dt";
arch = "arm64";
compression = "none";
load = <0x83000000>;
entry = <0x83000000>;
fdt-version = <1>;
hash@1 {
algo = "sha256";
};
};
};
configurations {
default = "conf@1";
conf@1 {
kernel = "kernel@1";
fdt = "fdt@1";
signature@1 {
algo = "sha256,rsa2048";
key-name-hint = "boot_key";
sign-images = "kernel", "fdt";
};
};
};
}; Use sign server to generate signatures:
最后更新于