Re:PCI Express on the Raspberry Pi 4
by megous on Wednesday July 10, 2019 @07:08AM
(#20400822)
You'll lose fast storage. So you end up with devices with 40MB/s uSD cards and multi-gigabit interconnect.
[ Parent
| on HN ]
Well, with the 4GB, and rumoured 8GB, you can just load everything to RAM on boot and not worry about storage at all.
You could just use an USB device for higher throughput. The Sandisk Extreme Go, for example, is basically a small SSD in a USB drive form-factor.
If I’m reading it right, don’t you give up USB to get this PCIe access?
Re:PCI Express on the Raspberry Pi 4
by londons_explore on Wednesday July 10, 2019 @08:53AM
(#20401466)
Bet the broadcom SoC has a USB controller built in, but unused... You could hook it up?
Is it really unused? The RPi4 schematic is incomplete, but it at least shows the USB 2.0 pins of the USB-C port going somewhere; they might be going directly to that built-in USB controller in the main SoC.
https://lb.raspberrypi.org/documentation/hardware/raspberryp...
This says, there's OTG controller intended to be used in "peripheral device only" mode.
I haven't found datasheet for BCM2711, so it's hard to tell.
Re:PCI Express on the Raspberry Pi 4
by londons_explore on Wednesday July 10, 2019 @10:01AM
(#20401998)
> peripheral device only mode.
I wonder why? The silicon required is far far simpler for host mode (since you only need a single memory buffer, and you fully dictate the timing, so can pass all the complex stuff up to software).
Maybe they don't have the VBUS circuitry setup for connecting self-powered devices in host mode.
There's an XHCI controller in the device tree, but my guess is that there's some silicon bug in it, hence the third party chip off of PCIe instead.
Also it's probably not routed from the BGA, so it would not be possible to use anyway.