Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2020 09:40:44 +0200
From:      =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
To:        Robert Crowston <crowston@protonmail.com>, freebsd-arm@freebsd.org
Subject:   Re: Driver for Raspberry Pi 4 PCI-express controller
Message-ID:  <7F058E92-DDD3-4728-9A51-09BF1D47855C@googlemail.com>
In-Reply-To: <Pm_LEzoJP7MAKrZ9L-pRYQ4-qTv7TK1QARu1mwqoNFS5mzra-4zmS_0WYotf7CKSKDoZ2fjC3BSEUGIy-k95Qv1g35Zq0AsfiXwLHXpS0bE=@protonmail.com>
References:  <Pm_LEzoJP7MAKrZ9L-pRYQ4-qTv7TK1QARu1mwqoNFS5mzra-4zmS_0WYotf7CKSKDoZ2fjC3BSEUGIy-k95Qv1g35Zq0AsfiXwLHXpS0bE=@protonmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> Am 27.05.2020 um 00:20 schrieb Robert Crowston via freebsd-arm =
<freebsd-arm@freebsd.org>:
>=20
> A patch adding support for the pcie controller on the bcm2838 chip is =
available here:
>=20
> =
https://github.com/RobCrowston/freebsd/commit/3626d1f774a72f2f77feedf10042=
9d0a23ac50c8.patch

thanks =E2=80=A6.

>=20
> This is still in development, but it is ready for wider testing.

dmesg :
https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5517

>=20
> 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 =E2=80=9Aquirks=E2=80=98 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.
>=20
> 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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7F058E92-DDD3-4728-9A51-09BF1D47855C>