[PATCH v2 09/11] sunxi: Convert 64-bit boards to use binman

Simon Glass sjg at chromium.org
Mon Aug 31 15:41:47 CEST 2020


Hi Heinrich,

On Mon, 31 Aug 2020 at 04:54, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 8/31/20 1:20 AM, Simon Glass wrote:
> > At present 64-bit sunxi boards use the Makefile to create a FIT, using
> > USE_SPL_FIT_GENERATOR. This is deprecated.
> >
> > Update sunxi to use binman instead.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
>
> Tested on pine64-lts_defconfig
>
> When BL31 is not defined I see a warning:
>
> Image 'main-section' is missing external blobs and is non-functional:
> atf-bl31
> Some images are invalid
>
> But this does not indicate that environment variable BL31 should be set.
>  The old message was more helpful:
>
> WARNING: BL31 file $BL31 NOT found, resulting binary is non-functional
> Please read the section on ARM Trusted Firmware (ATF) in
> board/sunxi/README.sunxi64

We could have a property in the DT to point to that message I suppose.
It would be nice to point people directly to documentation instead of
making them figure it out.

>
> Tested-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>
> > ---
> >
> > Changes in v2:
> > - Add a 'fit-fdt-list' property
> > - Fix 'board' typo in commit message
> >
> >  Kconfig                        |  3 +-
> >  Makefile                       | 18 ++--------
> >  arch/arm/dts/sunxi-u-boot.dtsi | 61 +++++++++++++++++++++++++++++++++-
> >  3 files changed, 63 insertions(+), 19 deletions(-)
> >

Regards,
Simon


More information about the U-Boot mailing list