[PATCH v3 2/9] arm: dts: imx8mp: Add common u-boot dtsi

Fabio Estevam festevam at gmail.com
Mon Aug 16 15:56:28 CEST 2021


Hi Heiko,

On Mon, Aug 16, 2021 at 7:27 AM Heiko Schocher <hs at denx.de> wrote:

> I am not a binman expert, but may you try to add in your u-boot.dtsi
> in your "binman" node at the end:
>
>         imx-boot {
>                 filename = "imx-boot.bin";
>                 pad-byte = <0x00>;
>
>                 spl: blob-ext at 1 {
>                         offset = <0x0>;
>                         filename = "flash.bin";
>                 };
>                 uboot: blob-ext at 2 {
>                         offset = <0x59000>;
>                         filename = "u-boot.itb";
>                 };

This helped!

I had to change the offset and now I can flash only flash.bin
and it boots fine:

--- a/arch/arm/dts/imx8mm-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
@@ -217,4 +217,18 @@
                        };
                };
        };
+
+        imx-boot {
+                filename = "flash.bin";
+                pad-byte = <0x00>;
+
+                spl: blob-ext at 1 {
+                        offset = <0x0>;
+                        filename = "flash.bin";
+                };
+                uboot: blob-ext at 2 {
+                        offset = <0x57c00>;
+                        filename = "u-boot.itb";
+                };
+        };
 };

I will submit the patch shortly.

Thanks


More information about the U-Boot mailing list