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

Oliver Graute oliver.graute at gmail.com
Fri Nov 4 13:38:59 CET 2022


On 02/11/22, Fabio Estevam wrote:
> On Wed, Nov 2, 2022 at 12:59 PM Oliver Graute
> <oliver.graute at kococonnector.com> wrote:
> 
> Please add a commit log.

ok

> 
> > Signed-off-by: Oliver Graute <oliver.graute at kococonnector.com>
> 
> > +&binman {
> > +
> > +       itb {
> > +               filename = "u-boot.itb";
> > +
> > +               fit {
> > +                       description = "Configuration to load ATF before U-Boot";
> > +                       fit,external-offset = <CONFIG_FIT_EXTERNAL_OFFSET>;
> 
> 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?

Best regards,

Oliver


More information about the U-Boot mailing list