Driver for Raspberry Pi 4 PCI-express controller
Robert Crowston
crowston at protonmail.com
Thu May 28 14:57:45 UTC 2020
Thanks Klaus.
I see that the Pi foundation has today released the 8 GB Raspberry Pi 4. Unfortunately the driver here only provides the controller a 4 GB window into system memory, but I believe it should not be too hard to tweak.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, 27 May 2020 08:40, Klaus Küchemann <maciphone2 at googlemail.com> wrote:
>
>
> > Am 27.05.2020 um 00:20 schrieb Robert Crowston via freebsd-arm freebsd-arm at freebsd.org:
> > A patch adding support for the pcie controller on the bcm2838 chip is available here:
> > https://github.com/RobCrowston/freebsd/commit/3626d1f774a72f2f77feedf100429d0a23ac50c8.patch
>
> thanks ….
>
> > This is still in development, but it is ready for wider testing.
>
> dmesg :
> https://dmesgd.nycbug.org/index.cgi?do=view&id=5517
>
> > I have tested this patch on three different Pi4s I have, including a 2 GB and a 4 GB model. For the most part HIDs like keyboards and mice are reliable, but data transfers from mass storage devices can sometimes, though not reproducibly, cause the xHCI controller to reset.
>
> For me keyboard/mouse sometimes worked after reboot/detach<->attach, sometimes worked not(using Original RPI4-power adaptor). As seen in dmesg I could mount USB thumb drive.
>
> I suspect the generic_xhci driver(s) for the problems and I guess there some ‚quirks‘ have to be added there(also for ACPI)...
>
> I will test it in more detail and then publish it in the wiki if you don't want to do it yourself in the wiki.
>
> > I have only tested it against the soldered-on xHCI chip; if anyone has desoldered it and replaced it with a pci-pci bridge, that would be interesting to hear about.
> > Before I submit this to phabricator, assuming there is interest, I would be interested to hear others' experiences with it, or indeed any other feedback.
> >
> > freebsd-arm at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list