U-boot for Banana Pi

TooMeeK Admin maps at toomeek.waw.pl
Fri Aug 15 15:13:44 UTC 2014

To update this,

"Error reading sector" is definitely caused by compiled file:

because when:
dd if=sunxi-spl.bin conv=notrunc of=banana.img bs=1024 seek=8
dd if=/usr/src/u-boot-sunxi/u-boot.bin conv=notrunc of=banana.img 
bs=1024 seek=32

It reports sector error on reading kernel, but with u-boot.bin from 
Cubieboard2 Wiki it works..

I didn't changed anything in u-boot-sunxi sources.
Let's see differences in boards.cfg:

Active  arm         armv7          sunxi       - sunxi               
Active  arm         armv7          sunxi       - sunxi               

There are little differences in:
diff board/sunxi/dram_bananapi.c board/sunxi/dram_cubieboard2.c
<       .clock = 432,
 >       .clock = 480,

But even after changing this to match clock from Cubieboard2 it's not 

Kernel isn't booting with mmc, mmcsd enabled in kernel config and memory 
addressing to:
         memory {
                 device_type = "memory";
                 reg = < 0x40000000 0x00000000 >;        /* 1024MB RAM */

Probably I missunderstood memory addressing?? hex 40000000 is 1073741824 
decimal ~1024MB
or should be here reg = < 0x40000000 0x40000000 >;

| You are now very close, check usb flash, if you followed Cubieboard 
instruction (https://wiki.freebsd.org/FreeBSD/arm/Cubieboard) you have 
to change da0s2 to da0 in kernel config.

I cannot do this, because I'm using internal SD card second slice for 
booting, not external USB flash.
My goal is to fit FreeBSD 10.x on 1GB SD card as base OS ;)


More information about the freebsd-arm mailing list