Banana pi pro SATA

Franco Ricci franco.ricc at
Sun Feb 14 21:13:04 UTC 2016

I successfully installed FreeBSD on Banana Pi Pro using Crochet script.

FreeBSD bananapi 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r295603: Sun Feb 14 04:13:56 CET 2016     root at crochet:/tmp/crochet-master/work/obj/arm.armv6/usr/src/sys/A20  arm 1100097

I used an 16GB SD card to boot system
All works great and I tried to use an external SATA disk. 
FreeBSD kernel finds correctly the SATA controller:

ahci0: <Allwinner Integrated AHCI controller> mem 0x1c18000-0x1c18fff irq 15 on simplebus0
ahci0: AHCI v1.10 with 1 3Gbps ports, Port Multiplier not supported
ahci0: quirks=0x2<NOPMP>
ahcich0: <AHCI channel> at channel 0 on ahci0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <KINGSTON SV300S37A120G 603ABBF0> ATA8-ACS SATA 3.x device
ada0: Serial Number 50026B77590A1CD3
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
ada0: 114473MB (234441648 512 byte sectors)

I created a new ufs slice on SATA disk and mounted it in /mnt 
gpart create -s mbr /dev/ada0
gpart add -t freebsd /dev/ada0
gpart create -s bsd /dev/ada0s1
gpart add -s 30G -t freebsd-ufs /dev/ada0s1
newfs -U -L extusr /dev/ada0s1a 
mount /dev/ada0s1a /mnt

When i try to copy several files:
cp -av /usr/bin /mnt
after some files copied I get:

panic: vm_page_insert_after: page already inserted
cpuid = 0
KDB: enter: panic
[ thread pid 624 tid 100079 ]
Stopped at      $d.7:   ldrb    r15, [r15, r15, ror r15]!

Any help is very appreciated.


More information about the freebsd-arm mailing list