Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 17:51:48 +0200
From:      TooMeeK Admin <maps@toomeek.waw.pl>
To:        freebsd-arm@freebsd.org
Subject:   Re: U-boot for Banana Pi
Message-ID:  <53EB8994.9080801@toomeek.waw.pl>
In-Reply-To: <D6453375-5427-406C-8399-ACBAE8E1DBBC@kientzle.com>
References:  <53EB40BC.8070506@toomeek.waw.pl> <53EB41EC.1080507@toomeek.waw.pl> <D6453375-5427-406C-8399-ACBAE8E1DBBC@kientzle.com>

next in thread | previous in thread | raw e-mail | index | archive | help

W dniu 2014-08-13 16:33, Tim Kientzle pisze:
>
> 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)
Yeah, no I know what's the point ;)
> You can also specify HOSTCC on the gmake command line:
>
> gmake -j4 ARCH=arm CROSS_COMPILE=arm-eabi- HOSTCC=cc USE_PRIVATE_LIBGCC=yes
Thanks!

But anyway, kernel failed to load on Banana Pi..

"reading kernel
Error reading cluster
** Unable to read file kernel **
## Starting application at 0x48000000 ...
undefined instruction..."

via this command:
fatload mmc 0 0x43000000 script.bin; fatload mmc 0 0x48000000 kernel; go 
0x48000000

It loads boot.scr
It loads script.bin
It fails on kernel.

But thank You for help with compilation, I was struggling this many hours..



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53EB8994.9080801>