
Hi Heiko,
On Mon, Aug 16, 2021 at 7:27 AM Heiko Schocher hs@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@1 { offset = <0x0>; filename = "flash.bin"; }; uboot: blob-ext@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@1 { + offset = <0x0>; + filename = "flash.bin"; + }; + uboot: blob-ext@2 { + offset = <0x57c00>; + filename = "u-boot.itb"; + }; + }; };
I will submit the patch shortly.
Thanks