github.com/mvdan/u-root-coreutils@v0.0.0-20230122170626-c2eef2898555/pkg/boot/fit/testdata/fitimage.its (about) 1 /dts-v1/; // dummy fitimage its file. Replace ${tmp_dir} with proper path 2 / { 3 description = "U-Boot fitImage for nerf kernel"; 4 #address-cells = <1>; 5 6 images { 7 kernel@0 { 8 description = "Signed Linux Kernel"; 9 data = /incbin/("./dummy_kernel_0"); 10 type = "kernel"; 11 arch = "x86_64"; 12 os = "linux"; 13 compression = "none"; 14 load = <0x10000>; 15 entry = <0x10000>; 16 hash@1 { 17 algo = "sha1"; 18 }; 19 signature@1 { 20 signer-name = "uroot"; 21 key-name-hint = "key0"; 22 algo = "pgp"; 23 value = /incbin/("./key0_kernel0_pgp.sig"); 24 }; 25 }; 26 kernel@1 { 27 description = "Unsigned Linux Kernel"; 28 data = /incbin/("./dummy_kernel_1"); 29 type = "kernel"; 30 arch = "x86_64"; 31 os = "linux"; 32 compression = "none"; 33 load = <0x10000>; 34 entry = <0x10000>; 35 hash@1 { 36 algo = "sha1"; 37 }; 38 }; 39 ramdisk@0 { 40 description = "signed initramfs"; 41 data = /incbin/("./dummy_initramfs_0.cpio"); 42 type = "ramdisk"; 43 arch = "x86_64"; 44 os = "linux"; 45 load = <0x320000>; 46 compression = "none"; 47 hash@1 { 48 algo = "sha1"; 49 }; 50 signature@0 { 51 signer-name = "uroot"; 52 key-name-hint = "key1"; 53 algo = "pgp"; 54 value = /incbin/("./key1_initram0_pgp.sig"); 55 }; 56 signature@1 { 57 signer-name = "uroot"; 58 key-name-hint = "key0"; 59 algo = "pgp"; 60 value = /incbin/("./key0_initram0_pgp.sig"); 61 }; 62 }; 63 }; 64 configurations { 65 default = "conf@1"; 66 conf@1 { 67 description = "Boot Linux kernel with ramdisk"; 68 kernel = "kernel@0"; 69 ramdisk = "ramdisk@0"; 70 hash@1 { 71 algo = "sha1"; 72 }; 73 }; 74 conf_bz@1 { 75 description = "Boot Linux kernel with ramdisk"; 76 kernel = "kernel@0"; 77 ramdisk = "ramdisk@0"; 78 hash@1 { 79 algo = "sha1"; 80 }; 81 }; 82 }; 83 };