uboot/doc/uImage.FIT/multi-with-loadables.its
<<
>>
Prefs
   1/*
   2 * U-Boot uImage source file with multiple kernels, ramdisks and FDT blobs
   3 * This example makes use of the 'loadables' field
   4 */
   5
   6/dts-v1/;
   7
   8/ {
   9        description = "Configuration to load a Xen Kernel";
  10        #address-cells = <1>;
  11
  12        images {
  13                xen_kernel {
  14                        description = "xen binary";
  15                        data = /incbin/("./xen");
  16                        type = "kernel";
  17                        arch = "arm";
  18                        os = "linux";
  19                        compression = "none";
  20                        load = <0xa0000000>;
  21                        entry = <0xa0000000>;
  22                        hash-1 {
  23                                algo = "md5";
  24                        };
  25                };
  26
  27                fdt-1 {
  28                        description = "xexpress-ca15 tree blob";
  29                        data = /incbin/("./vexpress-v2p-ca15-tc1.dtb");
  30                        type = "flat_dt";
  31                        arch = "arm";
  32                        compression = "none";
  33                        load = <0xb0000000>;
  34                        hash-1 {
  35                                algo = "md5";
  36                        };
  37                };
  38
  39                fdt-2 {
  40                        description = "xexpress-ca15 tree blob";
  41                        data = /incbin/("./vexpress-v2p-ca15-tc1.dtb");
  42                        type = "flat_dt";
  43                        arch = "arm";
  44                        compression = "none";
  45                        load = <0xb0400000>;
  46                        hash-1 {
  47                                algo = "md5";
  48                        };
  49                };
  50
  51                linux_kernel {
  52                        description = "Linux Image";
  53                        data = /incbin/("./Image");
  54                        type = "kernel";
  55                        arch = "arm";
  56                        os = "linux";
  57                        compression = "none";
  58                        load = <0xa0000000>;
  59                        entry = <0xa0000000>;
  60                        hash-1 {
  61                                algo = "md5";
  62                        };
  63                };
  64        };
  65
  66        configurations {
  67                default = "config-2";
  68
  69                config-1 {
  70                        description = "Just plain Linux";
  71                        kernel = "linux_kernel";
  72                        fdt = "fdt-1";
  73                };
  74
  75                config-2 {
  76                        description = "Xen one loadable";
  77                        kernel = "xen_kernel";
  78                        fdt = "fdt-1";
  79                        loadables = "linux_kernel";
  80                };
  81
  82                config-3 {
  83                        description = "Xen two loadables";
  84                        kernel = "xen_kernel";
  85                        fdt = "fdt-1";
  86                        loadables = "linux_kernel", "fdt-2";
  87                };
  88        };
  89};
  90