[PATCH v1] imx: imx8: apalis: switch to binman

Oliver Graute oliver.graute at gmail.com
Fri Nov 4 14:07:34 CET 2022


On 04/11/22, Fabio Estevam wrote:
> Hi Oliver,
> 
> On Fri, Nov 4, 2022 at 9:39 AM Oliver Graute <oliver.graute at gmail.com> wrote:
> 
> > > Can't all boards use the common the binman nodes from
> > > arch/arm/dts/imx8qm-u-boot.dtsi instead?
> >
> > I'am about to try that but I run into the following error:
> >
> > binman: Filename 'spl/u-boot-spl.bin' not found in input path (.,.,./board/toradex/apalis-imx8,arch/arm/dts) (cwd='/home/graute/u-boot-upstream')
> > Makefile:1109: recipe for target 'all' failed
> > make: *** [all] Error 1
> >
> > The error disappear if I remove binman/u-boot-spl-ddr and binman/spl
> > node in the common file.
> >
> > So some of these boards needs the binman/u-boot-spl-ddr and binman/spl
> > node and others not. What is the proper solution to deal with this
> > difference here?
> 
> Looking inside configs/apalis-imx8_defconfig, I see it does not use
> SPL. That's why 'spl/u-boot-spl.bin' is not present.
> 
> I think you should protect the  binman/u-boot-spl-ddr and binman/spl
> nodes by adding #ifdef CONFIG_SPL.

ok thx

Best Regards,

Oliver


More information about the U-Boot mailing list