blob: 1dc060ce0c266fd288bdd24b37f8c9035fdd95d9 [file] [log] [blame]
Peng Fanc1ecd032021-10-22 10:42:16 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2021 NXP
4 */
5
6/ {
7 binman: binman {
8 multiple-images;
9 };
10
11};
12
13&binman {
14 u-boot-spl-ddr {
Patrick Wildt440c7d12022-01-13 15:21:24 +010015 align = <4>;
16 align-size = <4>;
Peng Fanc1ecd032021-10-22 10:42:16 +080017 filename = "u-boot-spl-ddr.bin";
18 pad-byte = <0xff>;
Peng Fanc1ecd032021-10-22 10:42:16 +080019
20 u-boot-spl {
21 align-end = <4>;
Patrick Wildt553216f2022-01-13 15:21:47 +010022 filename = "u-boot-spl.bin";
Peng Fanc1ecd032021-10-22 10:42:16 +080023 };
24
Patrick Wildtea4e9382022-01-13 15:22:41 +010025 1d-imem {
Peng Fanc1ecd032021-10-22 10:42:16 +080026 filename = "lpddr4_pmu_train_1d_imem.bin";
27 size = <0x8000>;
Patrick Wildtea4e9382022-01-13 15:22:41 +010028 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +080029 };
30
Patrick Wildtea4e9382022-01-13 15:22:41 +010031 1d-dmem {
Peng Fanc1ecd032021-10-22 10:42:16 +080032 filename = "lpddr4_pmu_train_1d_dmem.bin";
33 size = <0x4000>;
Patrick Wildtea4e9382022-01-13 15:22:41 +010034 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +080035 };
36
Patrick Wildtea4e9382022-01-13 15:22:41 +010037 2d-imem {
Peng Fanc1ecd032021-10-22 10:42:16 +080038 filename = "lpddr4_pmu_train_2d_imem.bin";
39 size = <0x8000>;
Patrick Wildtea4e9382022-01-13 15:22:41 +010040 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +080041 };
42
Patrick Wildtea4e9382022-01-13 15:22:41 +010043 2d-dmem {
Peng Fanc1ecd032021-10-22 10:42:16 +080044 filename = "lpddr4_pmu_train_2d_dmem.bin";
45 size = <0x4000>;
Patrick Wildtea4e9382022-01-13 15:22:41 +010046 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +080047 };
48 };
49
Patrick Wildtea4e9382022-01-13 15:22:41 +010050 signed-hdmi {
Peng Fanc1ecd032021-10-22 10:42:16 +080051 filename = "signed_hdmi.bin";
52
Patrick Wildtea4e9382022-01-13 15:22:41 +010053 signed-hdmi-imx8m {
Peng Fanc1ecd032021-10-22 10:42:16 +080054 filename = "signed_hdmi_imx8m.bin";
Patrick Wildtea4e9382022-01-13 15:22:41 +010055 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +080056 };
57 };
58
Patrick Wildtb05cebb2022-01-08 16:34:17 +010059 spl {
60 filename = "spl.bin";
61
Peng Fanc1ecd032021-10-22 10:42:16 +080062 mkimage {
63 args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000";
64
65 blob {
66 filename = "u-boot-spl-ddr.bin";
67 };
Peng Fanc1ecd032021-10-22 10:42:16 +080068 };
Peng Fanc1ecd032021-10-22 10:42:16 +080069 };
70
71 itb {
72 filename = "u-boot.itb";
73
74 fit {
75 description = "Configuration to load ATF before U-Boot";
Peng Fanc1ecd032021-10-22 10:42:16 +080076 fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
Patrick Wildt440c7d12022-01-13 15:21:24 +010077 #address-cells = <1>;
Peng Fanc1ecd032021-10-22 10:42:16 +080078
79 images {
80 uboot {
Peng Fanc1ecd032021-10-22 10:42:16 +080081 arch = "arm64";
82 compression = "none";
Patrick Wildt440c7d12022-01-13 15:21:24 +010083 description = "U-Boot (64-bit)";
Peng Fanc1ecd032021-10-22 10:42:16 +080084 load = <CONFIG_SYS_TEXT_BASE>;
Patrick Wildt440c7d12022-01-13 15:21:24 +010085 type = "standalone";
Peng Fanc1ecd032021-10-22 10:42:16 +080086
Patrick Wildtea4e9382022-01-13 15:22:41 +010087 uboot-blob {
Peng Fanc1ecd032021-10-22 10:42:16 +080088 filename = "u-boot-nodtb.bin";
Patrick Wildtea4e9382022-01-13 15:22:41 +010089 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +080090 };
91 };
92
93 atf {
Peng Fanc1ecd032021-10-22 10:42:16 +080094 arch = "arm64";
95 compression = "none";
Patrick Wildt440c7d12022-01-13 15:21:24 +010096 description = "ARM Trusted Firmware";
Peng Fanc1ecd032021-10-22 10:42:16 +080097 entry = <0x910000>;
Patrick Wildt440c7d12022-01-13 15:21:24 +010098 load = <0x910000>;
99 type = "firmware";
Peng Fanc1ecd032021-10-22 10:42:16 +0800100
Patrick Wildtea4e9382022-01-13 15:22:41 +0100101 atf-blob {
Peng Fanc1ecd032021-10-22 10:42:16 +0800102 filename = "bl31.bin";
Patrick Wildtea4e9382022-01-13 15:22:41 +0100103 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +0800104 };
105 };
106
107 fdt {
Patrick Wildt440c7d12022-01-13 15:21:24 +0100108 compression = "none";
Peng Fanc1ecd032021-10-22 10:42:16 +0800109 description = "NAME";
110 type = "flat_dt";
Peng Fanc1ecd032021-10-22 10:42:16 +0800111
Patrick Wildtea4e9382022-01-13 15:22:41 +0100112 uboot-fdt-blob {
Peng Fanc1ecd032021-10-22 10:42:16 +0800113 filename = "u-boot.dtb";
Patrick Wildtea4e9382022-01-13 15:22:41 +0100114 type = "blob-ext";
Peng Fanc1ecd032021-10-22 10:42:16 +0800115 };
116 };
117 };
118
119 configurations {
120 default = "conf";
121
122 conf {
123 description = "NAME";
Patrick Wildt440c7d12022-01-13 15:21:24 +0100124 fdt = "fdt";
Peng Fanc1ecd032021-10-22 10:42:16 +0800125 firmware = "uboot";
126 loadables = "atf";
Peng Fanc1ecd032021-10-22 10:42:16 +0800127 };
128 };
129 };
130 };
Patrick Wildtb05cebb2022-01-08 16:34:17 +0100131
132 imx-boot {
133 filename = "flash.bin";
134 pad-byte = <0x00>;
135
Patrick Wildtea4e9382022-01-13 15:22:41 +0100136 spl {
Patrick Wildtb05cebb2022-01-08 16:34:17 +0100137 filename = "spl.bin";
Patrick Wildt440c7d12022-01-13 15:21:24 +0100138 offset = <0x0>;
Patrick Wildtea4e9382022-01-13 15:22:41 +0100139 type = "blob-ext";
Patrick Wildtb05cebb2022-01-08 16:34:17 +0100140 };
141
Patrick Wildtea4e9382022-01-13 15:22:41 +0100142 binman_uboot: uboot {
Patrick Wildtb05cebb2022-01-08 16:34:17 +0100143 filename = "u-boot.itb";
Patrick Wildt440c7d12022-01-13 15:21:24 +0100144 offset = <0x57c00>;
Patrick Wildtea4e9382022-01-13 15:22:41 +0100145 type = "blob-ext";
Patrick Wildtb05cebb2022-01-08 16:34:17 +0100146 };
147 };
Peng Fanc1ecd032021-10-22 10:42:16 +0800148};