Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2020 14:57:35 +0000
From:      Robert Crowston <crowston@protonmail.com>
To:        =?UTF-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Driver for Raspberry Pi 4 PCI-express controller
Message-ID:  <1RBZ-1AclgkiNDwWUqrWhun8T8YSAX6g64NeSc2DKy9EF1wGsJobselP4UYGflpcmbfUx3sEEM2YplIJOXPmZ6EG_GwiMC1_3GLrqpZxisQ=@protonmail.com>
In-Reply-To: <7F058E92-DDD3-4728-9A51-09BF1D47855C@googlemail.com>
References:  <Pm_LEzoJP7MAKrZ9L-pRYQ4-qTv7TK1QARu1mwqoNFS5mzra-4zmS_0WYotf7CKSKDoZ2fjC3BSEUGIy-k95Qv1g35Zq0AsfiXwLHXpS0bE=@protonmail.com> <7F058E92-DDD3-4728-9A51-09BF1D47855C@googlemail.com>

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

I see that the Pi foundation has today released the 8 GB Raspberry Pi 4. Un=
fortunately 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.

=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me=
ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90
On Wednesday, 27 May 2020 08:40, Klaus K=C3=BCchemann <maciphone2@googlemai=
l.com> wrote:

>
>
> > Am 27.05.2020 um 00:20 schrieb Robert Crowston via freebsd-arm freebsd-=
arm@freebsd.org:
> > A patch adding support for the pcie controller on the bcm2838 chip is a=
vailable here:
> > https://github.com/RobCrowston/freebsd/commit/3626d1f774a72f2f77feedf10=
0429d0a23ac50c8.patch
>
> thanks =E2=80=A6.
>
> > This is still in development, but it is ready for wider testing.
>
> dmesg :
> https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D5517
>
> > 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 rel=
iable, but data transfers from mass storage devices can sometimes, though n=
ot reproducibly, cause the xHCI controller to reset.
>
> For me keyboard/mouse sometimes worked after reboot/detach<->attach, some=
times worked not(using Original RPI4-power adaptor). As seen in dmesg I cou=
ld mount USB thumb drive.
>
> I suspect the generic_xhci driver(s) for the problems and I guess there s=
ome =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 interest=
ing to hear about.
> > Before I submit this to phabricator, assuming there is interest, I woul=
d be interested to hear others' experiences with it, or indeed any other fe=
edback.
> >
> > 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?1RBZ-1AclgkiNDwWUqrWhun8T8YSAX6g64NeSc2DKy9EF1wGsJobselP4UYGflpcmbfUx3sEEM2YplIJOXPmZ6EG_GwiMC1_3GLrqpZxisQ=>