2019-08-02 13:07:21 +00:00
|
|
|
/*
|
|
|
|
* Compilation:
|
|
|
|
* mkimage -f fit_kernel_dtb.its fit_kernel_dtb.itb
|
|
|
|
*
|
|
|
|
* Files in linux build dir:
|
2020-11-25 11:28:10 +00:00
|
|
|
* - arch/arm/boot/Image (gzipped in Image.gz)
|
2019-08-02 13:07:21 +00:00
|
|
|
* - arch/arm/boot/dts/stm32mp157c-dk2.dtb
|
|
|
|
* - arch/arm/boot/dts/stm32mp157c-ev1.dtb
|
|
|
|
*
|
|
|
|
* load mmc 0:4 $kernel_addr_r fit_kernel_dtb.itb
|
|
|
|
* bootm $kernel_addr_r
|
|
|
|
* bootm $kernel_addr_r#dk2
|
|
|
|
* bootm $kernel_addr_r#ev1
|
|
|
|
*
|
|
|
|
* or use extlinux.conf in this directory
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
|
|
description = "U-Boot fitImage for stm32mp157";
|
|
|
|
#address-cells = <1>;
|
|
|
|
|
|
|
|
images {
|
|
|
|
kernel {
|
|
|
|
description = "Linux kernel";
|
2020-11-25 11:28:10 +00:00
|
|
|
data = /incbin/("Image.gz");
|
2019-08-02 13:07:21 +00:00
|
|
|
type = "kernel";
|
|
|
|
arch = "arm";
|
|
|
|
os = "linux";
|
2020-11-25 11:28:10 +00:00
|
|
|
compression = "gzip";
|
2019-08-02 13:07:21 +00:00
|
|
|
load = <0xC0008000>;
|
|
|
|
entry = <0xC0008000>;
|
|
|
|
hash-1 {
|
|
|
|
algo = "sha1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
fdt-dk2 {
|
|
|
|
description = "FDT dk2";
|
|
|
|
data = /incbin/("stm32mp157c-dk2.dtb");
|
|
|
|
type = "flat_dt";
|
|
|
|
arch = "arm";
|
|
|
|
compression = "none";
|
|
|
|
hash-1 {
|
|
|
|
algo = "sha1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
fdt-ev1 {
|
|
|
|
description = "FDT ev1";
|
|
|
|
data = /incbin/("stm32mp157c-ev1.dtb");
|
|
|
|
type = "flat_dt";
|
|
|
|
arch = "arm";
|
|
|
|
compression = "none";
|
|
|
|
hash-1 {
|
|
|
|
algo = "sha1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
default = "dk2";
|
|
|
|
|
|
|
|
dk2 {
|
|
|
|
description = "dk2";
|
|
|
|
kernel = "kernel";
|
|
|
|
fdt = "fdt-dk2";
|
|
|
|
hash-1 {
|
|
|
|
algo = "sha1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
ev1 {
|
|
|
|
description = "ev1";
|
|
|
|
kernel = "kernel";
|
|
|
|
fdt = "fdt-ev1";
|
|
|
|
hash-1 {
|
|
|
|
algo = "sha1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|