mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-02 13:53:01 +02:00
mkimage will generate an FIT image containing a signature of the rootfs, where the data is kept out of the DTB data structure, i.e.: .---------. | DTB | :---------: | Padding | :---------: | | | | | rootfs | | | | | '---------' This is the on-disk format of Infix. At boot, we extract kernel and device trees from the rootfs, and then use Linux's device mapper to create a virtual block device that exposes the rootfs (squash).
39 lines
596 B
Plaintext
39 lines
596 B
Plaintext
/dts-v1/;
|
|
|
|
/ {
|
|
description = "Infix";
|
|
creator = "infix";
|
|
#address-cells = <0x1>;
|
|
|
|
images {
|
|
boot-script {
|
|
type = "script";
|
|
data = /incbin/("boot.script");
|
|
signature-1 {
|
|
algo = "sha256,rsa4096";
|
|
key-name-hint = "infix";
|
|
};
|
|
};
|
|
|
|
rootfs {
|
|
description = "Infix";
|
|
type = "ramdisk";
|
|
os = "linux";
|
|
compression = "none";
|
|
data = /incbin/("rootfs.squashfs");
|
|
signature-1 {
|
|
algo = "sha256,rsa4096";
|
|
key-name-hint = "infix";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "verity";
|
|
verity {
|
|
ramdisk = "rootfs";
|
|
script = "boot-script";
|
|
};
|
|
};
|
|
};
|