Firefly Open Source Community

Title: M.2 PCI-e hard drive support [Print This Page]

Author: ZeroGravitas    Time: 7/23/2018 23:50
Title: M.2 PCI-e hard drive support
I'm trying to get an M.2 2242 PCI-e hard drive (Toshiba OCZ RC100) working on a Firefly 3399 (128 GB eMMC, 4 GB RAM).

I'm using the latest eMMC image (Firefly-RK3399-ubuntu16.04-20180416112819.img).

The device does not show up in /dev/, and lspci returns nothing.

I attempted forcing a pci express rescan, but get a permissions issue even with sudo:
  1. $sudo echo 1 > /sys/bus/pci_express/rescan
  2. bash: /sys/bus/pci_express/rescan: Permission denied
Copy the code

dmesg output (full log attached) from boot is attached, it appears the pci-e power supplies are not enabled perhaps?

I get the following error:
  1. [    0.916262] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
  2. [    0.916910] rockchip-pcie: probe of f8000000.pcie failed with error -110
Copy the code

I see the same error whether I have the card in the slot or not.

Has anyone else successfully used the M.2 slot?  Are there any known working M.2 PCI-e hard drives (or other devices) for the Firefly?

dmesglog.zip

19.41 KB, Down times: 1

log of dmesg output for pcie error


Author: leungÏÈÉ­    Time: 7/26/2018 14:31
Last edited by leungÏÈÉ­ In 7/26/2018 14:36 Editor

Have you try this ?
http://shop.t-firefly.com/goods.php?id=52
Try your pci express in Android . It might be firmware problem.

Author: ZeroGravitas    Time: 8/6/2018 22:34
I have not tried the SATA board; I'm mostly interested in if anyone has gotten a direct PCI-E connection to a hard drive (or other device).  I'll try Android and see if that changes anything.
Author: enrogued    Time: 8/6/2018 23:26
I have the same error (-110) which is a timeout of the PCIe device - nothing is listed (not even the controller) in lspci

I have tested both an OCZ RC100 & an Innodisk EGPL-G202 (dual gigabit ethernet) - both of these cards have been tested to work on an Intel NUC M.2 slot

According to the devicetree & Rockchips own developer notes, the PCIe is powered (and the LED is lit on the dual gige board, showing it is powered). I suspect that the Firefly board has power delivery issues

I've been in direct contact with Firefly about it, but got a 'try this board instead' answer (they pointed me at an Intel M.2 NVME board when I was asking about Ethernet...) after I replied clarifying my request I got no further response

I have recently been in contact with another manufacturer about an alternative board as I've had no luck with the Firefly (even asking about return/ replacement of a faulty part)
Author: ZeroGravitas    Time: 8/14/2018 01:28
ZeroGravitas Posted at 8/6/2018 22:34
I have not tried the SATA board; I'm mostly interested in if anyone has gotten a direct PCI-E connec ...

Thanks for the info, enrogued.

What was the Intel NVME board they suggested?  I didn't think Intel had any NVME drives in the correct form factor for the RK3399.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1