U-boot for Banana Pi

TooMeeK Admin maps at toomeek.waw.pl
Wed Aug 13 15:51:46 UTC 2014

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

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 

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..

More information about the freebsd-arm mailing list