News for hackers. Stuff that matters.
Re:PCI Express on the Raspberry Pi 4 by Legogris on Wednesday July 10, 2019 @08:13AM (#20401180)
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.
Re:PCI Express on the Raspberry Pi 4 by girvo on Wednesday July 10, 2019 @08:22AM (#20401249)
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?
Re:PCI Express on the Raspberry Pi 4 by cesarb on Wednesday July 10, 2019 @10:11AM (#20402086)
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.
Re:PCI Express on the Raspberry Pi 4 by megous on Wednesday July 10, 2019 @09:55AM (#20401947)
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).

Re:PCI Express on the Raspberry Pi 4 by megous on Wednesday July 10, 2019 @11:09AM (#20402673)
Maybe they don't have the VBUS circuitry setup for connecting self-powered devices in host mode.
Re:PCI Express on the Raspberry Pi 4 by monocasa on Wednesday July 10, 2019 @01:30PM (#20404232)
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.
Re:PCI Express on the Raspberry Pi 4 by megous on Wednesday July 10, 2019 @03:54PM (#20405847)
Also it's probably not routed from the BGA, so it would not be possible to use anyway.
Re:PCI Express on the Raspberry Pi 4 by megous on Wednesday July 10, 2019 @08:43AM (#20401395)
Yes, that's my point.