liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

kernel_fdt.its (1562B)


      1 /dts-v1/;
      2 
      3 //  used on arm/aarch64 to provide a U-bootable image that combines
      4 //  kernel and fdt
      5 
      6 / {
      7     description = "Simple image with single Linux kernel and FDT blob";
      8     #address-cells = <1>;
      9 
     10     images {
     11         kernel {
     12             description = "Vanilla Linux kernel";
     13             // data = /incbin/("./vmlinux.bin.gz");
     14             type = "kernel";
     15             // arch = "arm64";
     16             os = "linux";
     17             // compression = "gzip";
     18             // load = <00000000>;
     19             // entry = <00000000>;
     20             hash-1 {
     21                     algo = "crc32";
     22             };
     23             hash-2 {
     24                     algo = "sha1";
     25             };
     26         };
     27         fdt-1 {
     28             description = "Flattened Device Tree blob";
     29             // data = /incbin/("./target.dtb");
     30             type = "flat_dt";
     31             // arch = "arm64";
     32             compression = "none";
     33             hash-1 {
     34                     algo = "crc32";
     35             };
     36             hash-2 {
     37                     algo = "sha1";
     38             };
     39         };
     40     };
     41 
     42     configurations {
     43         // The OpenWRT One wants this to be 'config-1' specifically. For now it's
     44         // easy to just choose that, if there's another device that has a
     45         // different restriction then we should probably add 'if not found
     46         // select default' logic and/or make this configurable.
     47         default = "config-1";
     48         config-1 {
     49             description = "Boot Linux kernel with FDT blob";
     50             kernel = "kernel";
     51             fdt = "fdt-1";
     52         };
     53     };
     54 };