Support for m.2 sata on Pcie


#1

Hello,

Can anyone advise whether an m.2 sata hdd will work if inserted into the pcie port?


#2

Yes it’s supposed to be supported. However when I boot my rock960 with last Debian image I get PCIE controller probe error (probe of f8000000.pcie failed with error -110):

root@linaro-alip:~# uname -a
Linux linaro-alip 4.4.103 #1 SMP Tue Jan 9 14:10:55 CST 2018 aarch64 GNU/Linux
root@linaro-alip:~# dmesg | grep -i pci
               PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000   (    16 MB)
[    0.106822] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.248110] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-pcie-regulator[0]' - status (0)
[    0.248150] reg-fixed-voltage vcc3v3-pcie-regulator: Looking up vin-supply from device tree
[    0.248181] vcc3v3_pcie: supplied by vcc3v3_sys
[    0.320294] vcc3v3_pcie: at 3300 mV 
[    0.320523] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 0uV
[    0.393304] PCI: CLS 0 bytes, default 64
[    0.424009] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[    0.424018] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[    0.424044] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pcie@f8000000[0]' - status (0)
[    0.424273] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree
[    0.424283] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply property in node /pcie@f8000000 failed
[    0.424296] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    0.424869] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree
[    0.424878] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed
[    0.424888] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    0.425446] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree
[    0.425455] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed
[    0.425464] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    0.967880] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    0.968599] rockchip-pcie: probe of f8000000.pcie failed with error -110
[    1.077236] ehci-pci: EHCI PCI platform driver

[ 1.571033] vcc3v3_pcie: disabling

@hipboi, any info?


#3

There are two kinds of m.2 ssd, one is SATA protocol, the other is pcie protocol(NVME). ROCK960 only support m.2 NVME ssd, but there are some notes:

  • No hot plug is supported, you will have to plug in the device before power on

  • error below means the devices is not detected

    [ 0.967880] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!