[PATCH] imx8mn_evk: Add the missing spl.bin entry

Arti Zirk arti at zirk.me
Thu May 12 10:09:36 CEST 2022


On T, 2022-05-03 at 16:03 -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at denx.de>
> 
> The generated flash.bin does not boot the imx8mn evk LPDDR4 variant
> as it misses the spl.bin description in binman.
> 
> Add its entry to fix the boot on the imx8mn evk LPDDR4 variant.
> 
> Signed-off-by: Fabio Estevam <festevam at denx.de>
> ---
>  arch/arm/dts/imx8mn-evk-u-boot.dtsi | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/dts/imx8mn-evk-u-boot.dtsi
> b/arch/arm/dts/imx8mn-evk-u-boot.dtsi
> index 3db46d4cbc..593cf06eb9 100644
> --- a/arch/arm/dts/imx8mn-evk-u-boot.dtsi
> +++ b/arch/arm/dts/imx8mn-evk-u-boot.dtsi
> @@ -58,7 +58,9 @@
>         };
>  
>  
> -       flash {
> +       spl {
> +               filename = "spl.bin";
> +
>                 mkimage {
>                         args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000";
>  

This works on my 8MNANOLPD4-EVK board. 

Btw, it looks like you can also just delete the spl and itb entries
because those are already included from the imx8mn-ddr4-evk-u-boot.dtsi
file.

Link: https://lore.kernel.org/u-boot/20220117220407.769-1-andrey.zhizhikin@leica-geosystems.com/
Fixes: d6afc6b3a04a ("imx8mn-evk: switch to use binman")
Tested-by: Arti Zirk <art at zirk.me>


More information about the U-Boot mailing list