mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 11:18:28 +00:00
fc76fa3cfa
This commit updates the .its file for the RK3399-Q7 to use the new features and demonstrates how to use those: * it marks the ATF as the 'firmware' * it tracks the OS-type for U-Boot and ATF * it loads the PMU (M0) firmware to DRAM and records the location to /fit-images (where our ATF reads it from) With the handoff of the next-stage FDT to ATF in place, we can now use this to pass information about the load addresses and names of each loadables to ATF: now we can load the M0 firmware into DRAM and avoid overwriting parts of the SPL stage. This is achieved by changing our .its-file to use an available area of DRAM as the load-address. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
59 lines
1.3 KiB
Text
59 lines
1.3 KiB
Text
/*
|
|
* Copyright (C) 2017 Theobroma Systems Design und Consulting GmbH
|
|
*
|
|
* Minimal dts for a SPL FIT image payload.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+ X11
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
description = "FIT image with U-Boot proper, ATF bl31, M0 Firmware, DTB";
|
|
#address-cells = <1>;
|
|
|
|
images {
|
|
uboot {
|
|
description = "U-Boot (64-bit)";
|
|
data = /incbin/("../../../u-boot-nodtb.bin");
|
|
type = "standalone";
|
|
os = "U-Boot";
|
|
arch = "arm64";
|
|
compression = "none";
|
|
load = <0x00200000>;
|
|
};
|
|
atf {
|
|
description = "ARM Trusted Firmware";
|
|
data = /incbin/("../../../bl31-rk3399.bin");
|
|
type = "firmware";
|
|
arch = "arm64";
|
|
os = "arm-trusted-firmware";
|
|
compression = "none";
|
|
load = <0x1000>;
|
|
entry = <0x1000>;
|
|
};
|
|
pmu {
|
|
description = "Cortex-M0 firmware";
|
|
data = /incbin/("../../../rk3399m0.bin");
|
|
type = "pmu-firmware";
|
|
compression = "none";
|
|
load = <0x180000>;
|
|
};
|
|
fdt {
|
|
description = "RK3399-Q7 (Puma) flat device-tree";
|
|
data = /incbin/("../../../u-boot.dtb");
|
|
type = "flat_dt";
|
|
compression = "none";
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
default = "conf";
|
|
conf {
|
|
description = "Theobroma Systems RK3399-Q7 (Puma) SoM";
|
|
firmware = "atf";
|
|
loadables = "uboot", "pmu";
|
|
fdt = "fdt";
|
|
};
|
|
};
|
|
};
|