]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: k3-am65x-iot2050: Use binman for tispl.bin for iot2050
authorNeha Malcom Francis <n-francis@ti.com>
Fri, 21 Jul 2023 18:44:41 +0000 (00:14 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 21 Jul 2023 23:36:59 +0000 (19:36 -0400)
Move to using binman to generate tispl.bin which is used to generate the
final flash.bin bootloader for iot2050 boards.

Cc: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
arch/arm/dts/k3-am65-iot2050-boot-image.dtsi

index 03ccc54329371941dbec6b17cb395da1f23754d9..7bfa4eebb90ce53b174ff0cbd7fa05da3987d121 100644 (file)
                        missing-msg = "iot2050-seboot";
                };
 
-               blob@0x180000 {
+               fit@0x180000 {
                        offset = <0x180000>;
                        filename = "tispl.bin";
+                       pad-byte = <0xff>;
+                       description = "Configuration to load ATF and SPL";
+
+                       images {
+                               atf {
+                                       description = "ARM Trusted Firmware";
+                                       type = "firmware";
+                                       arch = "arm64";
+                                       compression = "none";
+                                       os = "arm-trusted-firmware";
+                                       load = <CONFIG_K3_ATF_LOAD_ADDR>;
+                                       entry = <CONFIG_K3_ATF_LOAD_ADDR>;
+                                       atf: atf-bl31 {
+                                       };
+                               };
+
+                               tee {
+                                       description = "OP-TEE";
+                                       type = "tee";
+                                       arch = "arm64";
+                                       compression = "none";
+                                       os = "tee";
+                                       load = <0x9e800000>;
+                                       entry = <0x9e800000>;
+                                       tee: tee-os {
+                                       };
+                               };
+
+                               dm {
+                                       description = "DM binary";
+                                       type = "firmware";
+                                       arch = "arm32";
+                                       compression = "none";
+                                       os = "DM";
+                                       load = <0x89000000>;
+                                       entry = <0x89000000>;
+                                       blob-ext {
+                                               filename = "/dev/null";
+                                       };
+                               };
+
+                               spl {
+                                       description = "SPL (64-bit)";
+                                       type = "standalone";
+                                       os = "U-Boot";
+                                       arch = "arm64";
+                                       compression = "none";
+                                       load = <CONFIG_SPL_TEXT_BASE>;
+                                       entry = <CONFIG_SPL_TEXT_BASE>;
+                                       u_boot_spl_nodtb: blob-ext {
+                                               filename = "spl/u-boot-spl-nodtb.bin";
+                                       };
+                               };
+
+                               fdt-0 {
+                                       description = "k3-am65-iot2050-spl.dtb";
+                                       type = "flat_dt";
+                                       arch = "arm";
+                                       compression = "none";
+                                       spl_am65x_evm_dtb: blob-ext {
+                                               filename = "spl/dts/k3-am65-iot2050-spl.dtb";
+                                       };
+                               };
+                       };
+
+                       configurations {
+                               default = "spl";
+                               spl {
+                                       fdt = "fdt-0";
+                                       firmware = "atf";
+                                       loadables = "tee", "dm", "spl";
+                               };
+                       };
                };
 
                fit@0x380000 {