Message ID | 20190426133430.17802-1-jagan@amarulasolutions.com (mailing list archive) |
---|---|
Headers | show |
Series | rk3399: make u-boot-rockchip-with-spl.bin | expand |
Hi Tom and Simon, On Fri, Apr 26, 2019 at 7:04 PM Jagan Teki <jagan@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?
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@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! Cheers, Paul
On Fri, Apr 26, 2019 at 07:55:40PM +0200, Paul Kocialkowski 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@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! As I said in another thread, yes, we really should look at how to make binman take care of this as every arm64 platform has the same problem and similar but not quite the same solution.
On Fri, Apr 26, 2019 at 11:25 PM Paul Kocialkowski <paul.kocialkowski@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@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