Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Hardware] M.2 PCI-e hard drive support

51

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
51

【Hardware】 M.2 PCI-e hard drive support

Posted at 7/23/2018 23:50:18      View:6051 | Replies:4        Print      Only Author   [Copy Link] 1#
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

Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 7/26/2018 14:31:19        Only Author  2#
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.
Reply

Use props Report

51

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
51
Posted at 8/6/2018 22:34:21        Only Author  3#
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.
Reply

Use props Report

71

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
71
Posted at 8/6/2018 23:26:38        Only Author  4#
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)
Reply

Use props Report

51

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
51
Posted at 8/14/2018 01:28:57        Only Author  5#
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.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list