Hi Heiko, With the two applied, with latest U-Boot, uuu works well on i.MX8MP-EVK https://lore.kernel.org/all/[email protected]/ https://lore.kernel.org/all/[email protected]/
Would you share your commit hash and boot log? Regards, Peng. > Subject: [RFC PATCH v1] dts: imx8mp-u-boot.dtsi align flash.bin > > trying to load current flash.bin with uuu tool leads in not booting U- > Boot as missing some bytes. > > Align flash.bin in this case to 0x800 bytes, to make uuu and ROM api > happy. > > Signed-off-by: Heiko Schocher <[email protected]> > --- > I am unsure about the value of 0x800 which is twice the value the code > in spl_romapi_load_image_stream(), requests from romapi which in my > case on imx8mp is 0x400... > > May I oversee something? > > arch/arm/dts/imx8mp-u-boot.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/dts/imx8mp-u-boot.dtsi b/arch/arm/dts/imx8mp- > u-boot.dtsi index 56749ccacd..3c0bf8c4d6 100644 > --- a/arch/arm/dts/imx8mp-u-boot.dtsi > +++ b/arch/arm/dts/imx8mp-u-boot.dtsi > @@ -85,6 +85,7 @@ > filename = "flash.bin"; > section { > pad-byte = <0x00>; > + align-size = <0x800>; > > #ifdef CONFIG_IMX_HAB > nxp-imx8mcst@0 { > -- > 2.20.1

