mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00

Maintain backward compatibility with pre-binman u-boot file naming, the U-Boot fitImage used to be named u-boot.itb before, restore the file name after binman conversion. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
216 lines
3.6 KiB
Text
216 lines
3.6 KiB
Text
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Copyright (C) 2021 PHYTEC Messtechnik GmbH
|
|
* Author: Teresa Remmet <t.remmet@phytec.de>
|
|
*/
|
|
|
|
/ {
|
|
binman: binman {
|
|
};
|
|
|
|
#ifdef CONFIG_OPTEE
|
|
firmware {
|
|
optee {
|
|
compatible = "linaro,optee-tz";
|
|
method = "smc";
|
|
};
|
|
};
|
|
#endif
|
|
};
|
|
|
|
#ifdef CONFIG_FSL_CAAM
|
|
&crypto {
|
|
bootph-pre-ram;
|
|
};
|
|
#endif
|
|
|
|
&soc {
|
|
bootph-all;
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
&clk {
|
|
bootph-pre-ram;
|
|
bootph-all;
|
|
/delete-property/ assigned-clocks;
|
|
/delete-property/ assigned-clock-parents;
|
|
/delete-property/ assigned-clock-rates;
|
|
};
|
|
|
|
&osc_32k {
|
|
bootph-pre-ram;
|
|
bootph-all;
|
|
};
|
|
|
|
&osc_24m {
|
|
bootph-pre-ram;
|
|
bootph-all;
|
|
};
|
|
|
|
&aips1 {
|
|
bootph-pre-ram;
|
|
bootph-all;
|
|
};
|
|
|
|
&aips2 {
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
&aips3 {
|
|
bootph-pre-ram;
|
|
spba-bus@30800000 {
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&iomuxc {
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
#ifdef CONFIG_FSL_CAAM
|
|
&sec_jr0 {
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
&sec_jr1 {
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
&sec_jr2 {
|
|
bootph-pre-ram;
|
|
};
|
|
#endif
|
|
|
|
&binman {
|
|
filename = "flash.bin";
|
|
section {
|
|
pad-byte = <0x00>;
|
|
|
|
#ifdef CONFIG_IMX_HAB
|
|
nxp-imx8mcst@0 {
|
|
filename = "u-boot-spl-mkimage.signed.bin";
|
|
nxp,loader-address = <CONFIG_SPL_TEXT_BASE>;
|
|
nxp,unlock;
|
|
args; /* Needed by mkimage etype superclass */
|
|
#endif
|
|
|
|
binman_imx_spl: nxp-imx8mimage {
|
|
filename = "u-boot-spl-mkimage.bin";
|
|
nxp,boot-from = "sd";
|
|
nxp,rom-version = <2>;
|
|
nxp,loader-address = <CONFIG_SPL_TEXT_BASE>;
|
|
args; /* Needed by mkimage etype superclass */
|
|
|
|
section {
|
|
filename = "u-boot-spl-ddr.bin";
|
|
pad-byte = <0xff>;
|
|
align-size = <4>;
|
|
align = <4>;
|
|
|
|
u-boot-spl {
|
|
align-end = <4>;
|
|
};
|
|
|
|
ddr-1d-imem-fw {
|
|
filename = "lpddr4_pmu_train_1d_imem_202006.bin";
|
|
type = "blob-ext";
|
|
align-end = <4>;
|
|
};
|
|
|
|
ddr-1d-dmem-fw {
|
|
filename = "lpddr4_pmu_train_1d_dmem_202006.bin";
|
|
type = "blob-ext";
|
|
align-end = <4>;
|
|
};
|
|
|
|
ddr-2d-imem-fw {
|
|
filename = "lpddr4_pmu_train_2d_imem_202006.bin";
|
|
type = "blob-ext";
|
|
align-end = <4>;
|
|
};
|
|
|
|
ddr-2d-dmem-fw {
|
|
filename = "lpddr4_pmu_train_2d_dmem_202006.bin";
|
|
type = "blob-ext";
|
|
align-end = <4>;
|
|
};
|
|
};
|
|
};
|
|
#ifdef CONFIG_IMX_HAB
|
|
};
|
|
|
|
nxp-imx8mcst@1 {
|
|
filename = "u-boot-fit.signed.bin";
|
|
nxp,loader-address = <CONFIG_SPL_LOAD_FIT_ADDRESS>;
|
|
offset = <0x58000>;
|
|
args; /* Needed by mkimage etype superclass */
|
|
#endif
|
|
|
|
binman_imx_fit: fit {
|
|
description = "Configuration to load ATF before U-Boot";
|
|
filename = "u-boot.itb";
|
|
#ifndef CONFIG_IMX_HAB
|
|
fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
|
|
#endif
|
|
fit,fdt-list = "of-list";
|
|
#address-cells = <1>;
|
|
offset = <0x58000>;
|
|
|
|
images {
|
|
uboot {
|
|
description = "U-Boot (64-bit)";
|
|
type = "standalone";
|
|
arch = "arm64";
|
|
compression = "none";
|
|
load = <CONFIG_TEXT_BASE>;
|
|
|
|
uboot_blob: blob-ext {
|
|
filename = "u-boot-nodtb.bin";
|
|
};
|
|
};
|
|
|
|
#ifndef CONFIG_ARMV8_PSCI
|
|
atf {
|
|
description = "ARM Trusted Firmware";
|
|
type = "firmware";
|
|
arch = "arm64";
|
|
compression = "none";
|
|
load = <0x970000>;
|
|
entry = <0x970000>;
|
|
|
|
atf_blob: atf-blob {
|
|
filename = "bl31.bin";
|
|
type = "atf-bl31";
|
|
};
|
|
};
|
|
#endif
|
|
|
|
@fdt-SEQ {
|
|
description = "NAME";
|
|
type = "flat_dt";
|
|
compression = "none";
|
|
|
|
blob-ext {
|
|
filename = "u-boot.dtb";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "@config-DEFAULT-SEQ";
|
|
|
|
@config-SEQ {
|
|
description = "NAME";
|
|
fdt = "fdt-SEQ";
|
|
firmware = "uboot";
|
|
#ifndef CONFIG_ARMV8_PSCI
|
|
loadables = "atf";
|
|
#endif
|
|
};
|
|
};
|
|
};
|
|
#ifdef CONFIG_IMX_HAB
|
|
};
|
|
#endif
|
|
};
|
|
};
|