PINE64
Configuring the PCIe x4 slot to act as 4 individual x1 ports - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: RockPro64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=102)
+--- Thread: Configuring the PCIe x4 slot to act as 4 individual x1 ports (/showthread.php?tid=5823)



Configuring the PCIe x4 slot to act as 4 individual x1 ports - TimSmall - 03-07-2018

Hello,

I'm interested in connecting more than a single PCIe device to the RockPro64.

I know that it woud be possible to use a card which includes a PCIe switch chip to connect multiple PCI Express devices to the RockPro64, but that would be expensive (as well as adding latency and power usage), so I wondered if there was a simpler solution, using a simple breakout card (or custom add-in card), along with a suitable firmware config e.g. device tree overlay, to reconfigure the PCIe x4 slot as four logical PCIe x1 ports?

A custom PCIe card (or breakout card) could then be used to connect multiple PCIe x1 devices to the slot.  The application I had in mind was connecting four Asmedia ASM1061 SATA AHCI host adaptors to give 8 SATA ports for a NAS setup.

I know that various Intel chipsets support this sort of flexible PCIe configuration, but didn't know if the RK3399 did?  Any ideas?

Thanks,

Tim.


RE: Configuring the PCIe x4 slot to act as 4 individual x1 ports - xalius - 03-08-2018

The RK3399 root complex does not support splitting up the port into individual links, so you need a riser card with a PCIe switch...


RE: Configuring the PCIe x4 slot to act as 4 individual x1 ports - fonix232 - 04-02-2018

But with such a switch card, the RockPro64 could become an amazingly cheap crypto mining host, as long as drivers are available.


RE: Configuring the PCIe x4 slot to act as 4 individual x1 ports - tllim - 04-02-2018

(04-02-2018, 09:32 AM)fonix232 Wrote: But with such a switch card, the RockPro64 could become an amazingly cheap crypto mining host, as long as drivers are available.

But the GPU card for mining is very expensive !!!


RE: Configuring the PCIe x4 slot to act as 4 individual x1 ports - fonix232 - 04-03-2018

(04-02-2018, 10:17 PM)tllim Wrote:
(04-02-2018, 09:32 AM)fonix232 Wrote: But with such a switch card, the RockPro64 could become an amazingly cheap crypto mining host, as long as drivers are available.

But the GPU card for mining is very expensive !!!

Yes it is. But before the RockPro64, people would spend 250-300$ on a motherboard that can host 4-8 cards even with splitters or switches. With the RockPro64, they can cut the prices down a bit.


RE: Configuring the PCIe x4 slot to act as 4 individual x1 ports - VilstusVilks - 04-04-2018

You can take any ITX m/b with 25W x64 CPU and PCI-e slot (@x4)
SoC are for embedded purposes (gpio and some storage/network), not for mining rig-s Smile


RE: Configuring the PCIe x4 slot to act as 4 individual x1 ports - Leapo - 04-04-2018

(03-07-2018, 08:39 AM)TimSmall Wrote: The application I had in mind was connecting four Asmedia ASM1061 SATA AHCI host adaptors to give 8 SATA ports for a NAS setup.

Why not just connect one dual-port SAS card? That will support 8 SATA drives, no problem (a single SAS port can be broken-out into 4 SATA ports with a simple adapter cable)


RE: Configuring the PCIe x4 slot to act as 4 individual x1 ports - Tigger - 05-01-2018

(04-03-2018, 02:23 AM)fonix232 Wrote:
(04-02-2018, 10:17 PM)tllim Wrote:
(04-02-2018, 09:32 AM)fonix232 Wrote: But with such a switch card, the RockPro64 could become an amazingly cheap crypto mining host, as long as drivers are available.

But the GPU card for mining is very expensive !!!

Yes it is. But before the RockPro64, people would spend 250-300$ on a motherboard that can host 4-8 cards even with splitters or switches. With the RockPro64, they can cut the prices down a bit.

You are outdated. Wink

8 x RX 580 + 1800 Watt PSU ready to rock and roll : https://pt.aliexpress.com/store/product/8-Graphics-Cards-For-AMD-RX580-Extensible-240Mhash-s-ETH-Mining-Machine-Coin-Mining-Miner-With/1739322_32867466403.html?isOrigTitle=true
OR
8 x RX 570 + 1800 Watt PSU ready to rock and roll : https://pt.aliexpress.com/store/product/For-8-AMD-RX570-graphics-card-video-card-Extensible-227Mhash-s-ETH-Mining-Machine-Coin-Mining/1739322_32869187259.html?isOrigTitle=true


RE: Configuring the PCIe x4 slot to act as 4 individual x1 ports - Tigger - 05-16-2018

(04-02-2018, 09:32 AM)fonix232 Wrote: But with such a switch card, the RockPro64 could become an amazingly cheap crypto mining host, as long as drivers are available.

When I search on AliExpress for "pci-e x1 pci-e x16 mining", I think that I see what you want.


RE: Configuring the PCIe x4 slot to act as 4 individual x1 ports - fysa - 06-11-2018

You just need a controller with PMP support and an enclosure like the Mediasonic 8x USB3/eSATA. I am using two successfully with ZFS for many years with 16 drives over two eSATA cables or even a single USB3 with a hub in a pinch.