mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
c87496add0
Add binman node to device tree to generate the FIT image for u-boot (u-boot.itb) and OS kernel (kernel.itb). u-boot.itb contains arm trusted firmware (ATF), u-boot proper and u-boot device tree for ATF u-boot flow. kernel.itb contains Linux Image and Linux device tree. Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com>
120 lines
2 KiB
Text
120 lines
2 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* U-Boot additions
|
|
*
|
|
* Copyright (C) 2020 Intel Corporation <www.intel.com>
|
|
*/
|
|
|
|
#if defined(CONFIG_FIT)
|
|
|
|
/ {
|
|
binman: binman {
|
|
multiple-images;
|
|
};
|
|
};
|
|
|
|
&binman {
|
|
u-boot {
|
|
filename = "u-boot.itb";
|
|
fit {
|
|
fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
|
|
description = "FIT with firmware and bootloader";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
uboot {
|
|
description = "U-Boot SoC64";
|
|
type = "standalone";
|
|
os = "U-Boot";
|
|
arch = "arm64";
|
|
compression = "none";
|
|
load = <0x00200000>;
|
|
|
|
uboot_blob: blob-ext {
|
|
filename = "u-boot-nodtb.bin";
|
|
};
|
|
};
|
|
|
|
atf {
|
|
description = "ARM Trusted Firmware";
|
|
type = "firmware";
|
|
os = "arm-trusted-firmware";
|
|
arch = "arm64";
|
|
compression = "none";
|
|
load = <0x00001000>;
|
|
entry = <0x00001000>;
|
|
|
|
atf_blob: blob-ext {
|
|
filename = "bl31.bin";
|
|
};
|
|
};
|
|
|
|
fdt {
|
|
description = "U-Boot SoC64 flat device-tree";
|
|
type = "flat_dt";
|
|
compression = "none";
|
|
|
|
uboot_fdt_blob: blob-ext {
|
|
filename = "u-boot.dtb";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "conf";
|
|
conf {
|
|
description = "Intel SoC64 FPGA";
|
|
firmware = "atf";
|
|
loadables = "uboot";
|
|
fdt = "fdt";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
kernel {
|
|
filename = "kernel.itb";
|
|
fit {
|
|
description = "FIT with Linux kernel image and FDT blob";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
kernel {
|
|
description = "Linux Kernel";
|
|
type = "kernel";
|
|
arch = "arm64";
|
|
os = "linux";
|
|
compression = "none";
|
|
load = <0x4080000>;
|
|
entry = <0x4080000>;
|
|
|
|
kernel_blob: blob-ext {
|
|
filename = "Image";
|
|
};
|
|
};
|
|
|
|
fdt {
|
|
description = "Linux DTB";
|
|
type = "flat_dt";
|
|
arch = "arm64";
|
|
compression = "none";
|
|
|
|
kernel_fdt_blob: blob-ext {
|
|
filename = "linux.dtb";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "conf";
|
|
conf {
|
|
description = "Intel SoC64 FPGA";
|
|
kernel = "kernel";
|
|
fdt = "fdt";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
#endif
|