[U-Boot] compilation issue pine64

Akash Gajjar gajjar04akash at gmail.com
Thu Jan 11 05:02:25 UTC 2018


Thank you Peter,

The issue was there because of an older version of gcc.
Now it has been resolved.
Thank you once again.


On Thu, Jan 11, 2018 at 7:33 AM, Peter Robinson <pbrobinson at gmail.com>
wrote:

> On Wed, Jan 10, 2018 at 3:58 PM, Akash Gajjar <gajjar04akash at gmail.com>
> wrote:
> > Hi All,
> >
> > Facing compilation issue building pine64 mainline u-boot.
> > Please see below build log.
> >
> > user]$ export CROSS_COMPILE=aarch64-linux-gnu-
> >
> > user]$ make pine64_plus_defconfig
> >   HOSTCC  scripts/basic/fixdep
> >   HOSTCC  scripts/kconfig/conf.o
> >   HOSTCC  scripts/kconfig/zconf.tab.o
> >   HOSTLD  scripts/kconfig/conf
> > #
> > # configuration written to .config
> > #
> >
> > user]$ make
> >   .
> >   .
> >   .
> >   LDS     spl/u-boot-spl.lds
> >   LD      spl/u-boot-spl
> > aarch64-linux-gnu-ld.bfd: u-boot-spl section `.rodata' will not fit in
> > region `.sram'
> > aarch64-linux-gnu-ld.bfd: region `.sram' overflowed by 6032 bytes
> > make[1]: *** [spl/u-boot-spl] Error 1
> > make: *** [spl/u-boot-spl] Error 2
>
> It works fine for me on Fedora 27 with gcc 7.2.1 on both the latest
> master head and 2018.01 GA
>
> mkdir -p builds/pine64_plus/
> cp ~/arm-trusted-firmware/sun50iw1p1/bl31.bin builds/pine64_plus/
> make pine64_plus_defconfig V=1 O=builds/pine64_plus/
> make CROSS_COMPILE="/usr/bin/aarch64-linux-gnu-" V=1 O=builds/pine64_plus/
>



-- 
Regards,

*Akash Gajjar*
Mobile: 9724719708
Skype:   gajjar04akash


More information about the U-Boot mailing list