[U-Boot] [PATCH 0/5] rk3399: make u-boot-rockchip-with-spl.bin

Jagan Teki jagan at amarulasolutions.com
Fri Apr 26 18:03:44 UTC 2019


On Fri, Apr 26, 2019 at 11:25 PM Paul Kocialkowski
<paul.kocialkowski at bootlin.com> wrote:
>
> Le vendredi 26 avril 2019 à 23:22 +0530, Jagan Teki a écrit :
> > Hi Tom and Simon,
> >
> > On Fri, Apr 26, 2019 at 7:04 PM Jagan Teki <jagan at amarulasolutions.com> wrote:
> > > This series will create single bootable image 'u-boot-rockchip-with-spl.bin'
> > > for rk3399 platform with single make command instead of building u-boot
> > > separately for u-boot.itb and burn them separately for SPL and U-Boot proper.
> > >
> > > This series has dependecy with[1]
> > >
> > > travis-ci issue:
> > > - need to include 'python-pyelftools' package, tried but can't succeed
> > > - right now build failed if BL31 is not exported, but this would manage to
> > > create dummy arm64 elf but any help on this would appreciate.
> >
> > Any inputs on this?
>
> I think we have the same issue regarding BL31 for ARM64 sunxi boards
> don't we?
>
> It would be great to have a solution to this, and even better if it
> could scale to most ARM64 platforms too!

I thought it would be specific with tools here, I have created some
dummy bl31.elf if BL31 is not set but the
arch/arm/mach-rockchip/make_fit_atf.py can't make the build. on the
other hand I have compiled main(){} and created bl31.elf it is
succeeding.

But for sunxi the build is going as normal by setting /dev/null if BL31 unset.

[ -z "$BL31" ] && BL31="bl31.bin"

if [ ! -f $BL31 ]; then
        echo "WARNING: BL31 file $BL31 NOT found, resulting binary is
non-functional" >&2
        echo "Please read the section on ARM Trusted Firmware (ATF) in
board/sunxi/README.sunxi64" >&2
        BL31=/dev/null
        echo $BL31
fi


More information about the U-Boot mailing list