Initial Commit
- initial default booting image
This commit is contained in:
48
support/testing/tests/package/test_uboot_tools/example.its
Normal file
48
support/testing/tests/package/test_uboot_tools/example.its
Normal file
@@ -0,0 +1,48 @@
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
description = "Test FIT (build only)";
|
||||
#address-cells = <1>;
|
||||
|
||||
images {
|
||||
kernel {
|
||||
description = "This file, pretending to be kernel";
|
||||
data = /incbin/("example.its");
|
||||
type = "kernel";
|
||||
arch = "arm64";
|
||||
os = "linux";
|
||||
compression = "none";
|
||||
load = <0x40400000>;
|
||||
entry = <0x40400000>;
|
||||
hash-1 {
|
||||
algo = "crc16-ccitt";
|
||||
};
|
||||
hash-2 {
|
||||
algo = "crc32";
|
||||
};
|
||||
hash-3 {
|
||||
algo = "md5";
|
||||
};
|
||||
hash-4 {
|
||||
algo = "sha1";
|
||||
};
|
||||
hash-5 {
|
||||
algo = "sha256";
|
||||
};
|
||||
hash-6 {
|
||||
algo = "sha384";
|
||||
};
|
||||
hash-7 {
|
||||
algo = "sha512";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
default = "config-1";
|
||||
config-1 {
|
||||
description = "Test entry";
|
||||
kernel = "kernel";
|
||||
};
|
||||
};
|
||||
};
|
||||
7
support/testing/tests/package/test_uboot_tools/key.dts
Normal file
7
support/testing/tests/package/test_uboot_tools/key.dts
Normal file
@@ -0,0 +1,7 @@
|
||||
/dts-v1/;
|
||||
|
||||
/* This empty dts will be used for storing the public key.
|
||||
* The dtb is populated later by the "mkimage -K" command. */
|
||||
|
||||
/ {
|
||||
};
|
||||
38
support/testing/tests/package/test_uboot_tools/signed.its
Normal file
38
support/testing/tests/package/test_uboot_tools/signed.its
Normal file
@@ -0,0 +1,38 @@
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
description = "Signed test FIT";
|
||||
#address-cells = <1>;
|
||||
|
||||
images {
|
||||
kernel {
|
||||
description = "This file, pretending to be a kernel";
|
||||
data = /incbin/("example.its");
|
||||
type = "kernel";
|
||||
arch = "arm64";
|
||||
os = "linux";
|
||||
compression = "none";
|
||||
load = <0x40400000>;
|
||||
entry = <0x40400000>;
|
||||
|
||||
hash-1 {
|
||||
algo = "sha256";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
configurations {
|
||||
default = "config-1";
|
||||
|
||||
config-1 {
|
||||
description = "Signed test entry";
|
||||
kernel = "kernel";
|
||||
|
||||
signature-1 {
|
||||
algo = "sha256,rsa2048";
|
||||
key-name-hint = "dev";
|
||||
sign-images = "kernel";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user