U-boot for Banana Pi
Tim Kientzle
tim at kientzle.com
Wed Aug 13 14:39:41 UTC 2014
On Aug 13, 2014, at 3:46 AM, TooMeeK Admin <maps at toomeek.waw.pl> wrote:
> Problem solved by:
> rm /usr/local/bin/gcc
> rm /usr/obj/arm.armv6/usr/src/tmp/usr/bin/gcc
> ln -s /usr/local/bin/gcc47 /usr/local/bin/gcc
> set HOSTCC=gcc
Any of the following should work for you:
HOSTCC=gcc47 (because apparently you have a native compiler installed called “gcc47)
HOSTCC=cc (the standard system compiler works for native builds)
HOSTCC=clang (U-Boot’s host portions don’t require GCC)
> gmake -j4 ARCH=arm CROSS_COMPILE=arm-eabi- USE_PRIVATE_LIBGCC=yes clean
> gmake -j4 ARCH=arm CROSS_COMPILE=arm-eabi- USE_PRIVATE_LIBGCC=yes Bananapi_config
> gmake -j4 ARCH=arm CROSS_COMPILE=arm-eabi- USE_PRIVATE_LIBGCC=yes
You can also specify HOSTCC on the gmake command line:
gmake -j4 ARCH=arm CROSS_COMPILE=arm-eabi- HOSTCC=cc USE_PRIVATE_LIBGCC=yes
>
> From the beginning there was no such file like /usr/local/bin/gcc
> I've ended up on:
> OBJCOPY spl/u-boot-spl.bin
> MKSUNXI spl/sunxi-spl.bin
> CAT u-boot-sunxi-with-spl.bin
>
> So here is my u-boot for the next step ;)
>
> Thank You.
> Cheers, TooMeeK
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list