Driver for Raspberry Pi 4 PCI-express controller

Klaus Küchemann maciphone2 at googlemail.com
Wed May 27 07:40:49 UTC 2020



> 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