RockPro64 ASM1062 SATA Controller disk not detected

Hi, I got a RockPro64 on 21.02.1 with a PCIe to SATA (2 ports) Controller.
I already know that this card works because I got a Debian on the eMMC, and OpenWrt is on the SD card.
The card is recognized, but no disks are.

Here is the output of lsblk

root@OpenWrt:~# lsblk
mtdblock0    31:0    0   16M  0 disk 
mmcblk0     179:0    0  1.8G  0 disk 
├─mmcblk0p1 179:1    0   16M  0 part 
└─mmcblk0p2 179:2    0  104M  0 part /

And lspci

root@OpenWrt:~# lspci
00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3399 PCI Express Root Port
01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)

I tried with 1 and 2 drives attached (they are in RAID 1) with no success.

If you have any idea to make this card works, please let me know.


My first guess would be that you haven't installed the necessary kernel modules (kmod-ata-ahci) for your PCIe SATA controller (it's not a default device, so OpenWrt doesn't have it preinstalled).

E.g. (from an x86_64 system):

$ lspci -knn
04:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 02)
        Subsystem: ASRock Incorporation Motherboard [1849:0612]
        Kernel driver in use: ahci
        Kernel modules: ahci

I'm going to guess that you probably need a newer kernel (ie try using trunk), there have also been a few reports (in general) that the card you're using (I'm guessing you got it from Pine64) may be a bit unstable in SATA3 (600) mode but reliable in SATA2 (300) but that wouldn't affect overall detection.

Also, if you have the one with a lot of jumpers ( make sure they're in the correct position

You could also try using FreeBSD 13-STABLE (13.0-RELEASE does have a few issues using the RockPro64) to see if your HDDs gets detected. (just extract and write to a SD-card)

..also, keep in mind that if you're powering the HDDs off the board it's only meant for 2.5" HDDs (or SSDs) and a pretty beefy PSU (4A+) as 3.5" draws too much current (power).

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.