Peach pit

From Linux Exynos
Jump to: navigation, search

kernel.its

In your kernel source dir:

cat << __EOF__ > arch/arm/boot/kernel.its
/dts-v1/;
 
/ {
    description = "Chrome OS kernel image with one or more FDT blobs";
    #address-cells = <1>;
    images {
        kernel@1{
            description = "kernel";
            data = /incbin/("zImage");
            type = "kernel_noload";
            arch = "arm";
            os = "linux";
            compression = "none";
            load = <0>;
            entry = <0>;
        };
        fdt@1{
            description = "exynos5420-peach-pit.dts";
            data = /incbin/("dts/exynos5420-peach-pit.dts");
            type = "flat_dt";
            arch = "arm";
            compression = "none";
            hash@1{
                algo = "sha1";
            };
        };
    };
    configurations {
        default = "conf@1";
        conf@1{
            kernel = "kernel@1";
            fdt = "fdt@1";
        };
    };
};
__EOF__
mkimage -f arch/arm/boot/kernel.its vmlinux.uimg