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

Heiko Schocher
2021-08-16T10:27:14Z

Hello Fabio,

On 13.08.21 14:55, Fabio Estevam wrote:
> Hi Heiko,
>
> On Sat, Jul 10, 2021 at 9:23 AM Heiko Schocher <hs@denx.de> wrote:
>
>>> Doesn't this change from having a single flash.bin encompasing the SPL
>>> and U-Boot proper to having split files? I noticed that happened with
>>> imx8mm_evk for example when it switched to binman.
>>
>> Yes, but you can easy generate there a single image again.
>
> Yes, that would be preferable
>
> Any suggestions on how we can have a single bootable image again?

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";
};
};

bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de