mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
0e6522cbd1
Add example of its files to generate FIT to start kernel on ev1 or dk2 board with - only kernel and dtb = fit_copro_kernel_dtb.its - kernel, M4 copro firmware and dtb = it_copro_kernel_dtb.its Add extlinux example to manage config in generated FIT. Signed-off-by: Loic Pallardy <loic.pallardy@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
103 lines
1.6 KiB
Text
103 lines
1.6 KiB
Text
/*
|
|
* Compilation:
|
|
* mkimage -f fit_copro_kernel_dtb.its fit_copro_kernel_dtb.itb
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/ {
|
|
description = "U-Boot fitImage for stm32mp157";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
|
|
copro {
|
|
description = "M4 copro";
|
|
data = /incbin/("rproc-m4-fw.elf");
|
|
type = "copro";
|
|
arch = "arm";
|
|
compression = "none";
|
|
load = <0xC0800000>;
|
|
hash-1 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
|
|
kernel {
|
|
description = "Linux kernel";
|
|
data = /incbin/("zImage");
|
|
type = "kernel";
|
|
arch = "arm";
|
|
os = "linux";
|
|
compression = "none";
|
|
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-m4";
|
|
|
|
dk2-m4 {
|
|
description = "dk2-m4";
|
|
loadables = "copro";
|
|
kernel = "kernel";
|
|
fdt = "fdt-dk2";
|
|
hash-1 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
|
|
dk2 {
|
|
description = "dk2";
|
|
kernel = "kernel";
|
|
fdt = "fdt-dk2";
|
|
hash-1 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
|
|
ev1-m4 {
|
|
description = "ev1-m4";
|
|
loadables = "copro";
|
|
kernel = "kernel";
|
|
fdt = "fdt-ev1";
|
|
hash-1 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
|
|
ev1 {
|
|
description = "ev1";
|
|
kernel = "kernel";
|
|
fdt = "fdt-ev1";
|
|
hash-1 {
|
|
algo = "sha1";
|
|
};
|
|
};
|
|
};
|
|
};
|