Re: Oversimplification

From: Peter Jeremy via freebsd-arm <>
Date: Thu, 03 Jun 2021 07:15:30 UTC
On 2021-Jun-03 08:46:47 +0200, Milan Obuch <> wrote:
>> I'll second Milan's followup. I have a 4GB RockPro64 with the
>> dual-SATA PCIe card and am quite happy with it. It also supports
>> both USB-3 and USB-C, though I haven't experimented with either.
>Just out of curiosity - do you mean SATA card from shop? Was
>some extra steps required to make it work? Could you share relevant
>lines from dmesg output?

Yes, this was the card - I've build a PineNAS, though I'm
still trying to work out how to set it up the way I want.  The card
doesn't need any special configuration.  Note that the RockPro64
doesn't support booting from SATA.

pcib0: <Rockchip PCIe controller> mem 0xf8000000-0xf9ffffff,0xfd000000-0xfdffffff irq 6,7,8 on ofwbus0
pci0: <PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 0.0 on pci0
pcib0: route pin 1 for device 0.0 to 78
ahci0: <ASMedia ASM1062 AHCI SATA controller> irq 78 at device 0.0 on pci1
ahci0: AHCI v1.20 with 2 6Gbps ports, Port Multiplier supported
ahci0: quirks=0xc00000<NOCCS,NOAUX>
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <ST8000DM004-2CX188 0001> ACS-3 ATA SATA 3.x device
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <ST8000DM004-2CX188 0001> ACS-3 ATA SATA 3.x device
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)

Note that I'm getting occasional CRC errors with those disks, though I
wasn't with some older disks.  I haven't dug into whether the newer
Seagate disks are fussier or the cable is marginal.

I am seeing ~160MBps on one channel and 190MBps cumulative across
both channels.

>> Note that the WiFi/Bluetooth module for the RockPro64 uses SDIO,
>> and the combination isn't yet supported by FreeBSD.
>Well, it would be nice to get it to working state... no idea how much
>work that is.

I wasn't interested in the WiFi so I didn't worry too much.  See for the latest information (though it
may be out of date).

Peter Jeremy