U-boot for Banana Pi

Ganbold Tsagaankhuu ganbold at gmail.com
Wed Aug 13 15:59:27 UTC 2014


On Wed, Aug 13, 2014 at 11:51 PM, TooMeeK Admin <maps at toomeek.waw.pl> wrote:

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

Are you sure about this?
As for Cubieboard (https://wiki.freebsd.org/FreeBSD/arm/Cubieboard) it is
like:

fatload mmc 0 0x40200000 kernel; go 0x40200100


Ganbold



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