Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 07:33:38 -0700
From:      Tim Kientzle <tim@kientzle.com>
To:        TooMeeK Admin <maps@toomeek.waw.pl>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: U-boot for Banana Pi
Message-ID:  <D6453375-5427-406C-8399-ACBAE8E1DBBC@kientzle.com>
In-Reply-To: <53EB41EC.1080507@toomeek.waw.pl>
References:  <53EB40BC.8070506@toomeek.waw.pl> <53EB41EC.1080507@toomeek.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 13, 2014, at 3:46 AM, TooMeeK Admin <maps@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=3Dgcc

Any of the following should work for you:
  HOSTCC=3Dgcc47  (because apparently you have a native compiler =
installed called =93gcc47)
  HOSTCC=3Dcc  (the standard system compiler works for native builds)
  HOSTCC=3Dclang  (U-Boot=92s host portions don=92t require GCC)

> gmake -j4 ARCH=3Darm CROSS_COMPILE=3Darm-eabi- USE_PRIVATE_LIBGCC=3Dyes =
clean
> gmake -j4 ARCH=3Darm CROSS_COMPILE=3Darm-eabi- USE_PRIVATE_LIBGCC=3Dyes =
Bananapi_config
> gmake -j4 ARCH=3Darm CROSS_COMPILE=3Darm-eabi- USE_PRIVATE_LIBGCC=3Dyes

You can also specify HOSTCC on the gmake command line:

gmake -j4 ARCH=3Darm CROSS_COMPILE=3Darm-eabi- HOSTCC=3Dcc =
USE_PRIVATE_LIBGCC=3Dyes

>=20
> =46rom 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
>=20
> So here is my u-boot for the next step ;)
>=20
> Thank You.
> Cheers, TooMeeK
>=20
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D6453375-5427-406C-8399-ACBAE8E1DBBC>