Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2020 15:01:26 +0200
From:      Klaus Cucinauomo <maciphone2@googlemail.com>
To:        Mark Millard <marklmi@yahoo.com>, Robert Crowston <crowston@protonmail.com>, Kyle Evans <kevans@freebsd.org>, "gonzo@freebsd.org" <gonzo@FreeBSD.org>, freebsd-arm@freebsd.org
Subject:   Re: RPi4B: modern firmware vs. Device tree loaded to 0x4000 (size 0xbe0c) [fails] vs. to 0x1f0000 (size 0xbd90) [works]?
Message-ID:  <3E9D015B-5702-4A52-9366-49E20BDDA5F4@googlemail.com>
In-Reply-To: <F8DBF042-FD57-4AE3-8F98-0E36945469A9@yahoo.com>
References:  <2B1B21CB-1A63-42CE-8917-98870C88CACE@yahoo.com> <F8DBF042-FD57-4AE3-8F98-0E36945469A9@yahoo.com>

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

> Am 11.10.2020 um 08:31 schrieb Mark Millard <marklmi@yahoo.com>:
>=20
> starting USB...
> Bus xhci_pci: probe failed, error -110
> No working controllers found
>=20
> So (B) would seem to be a u-boot 2020.10 issue, having
> nothing specifically to do with FreeBSD or with
> rpi3-psci-monitor use.


It=E2=80=99s an xhci-issue in the DeviceTree in the 8GB =
hardware-design(there=E2=80=99s no more dedicated chip for it).
The VL805-firmware has to be loaded explicitly ; requires  an early =
xhci-reset :
Again :
=
https://patchwork.ozlabs.org/project/linux-pci/patch/20200629161845.6021-4=
-nsaenzjulienne@suse.de/
=
https://patchwork.ozlabs.org/project/linux-pci/patch/20200629161845.6021-5=
-nsaenzjulienne@suse.de/
afaik  since these patches are not yet upstreamed we have to patch by =
ourselves.


> Am 11.10.2020 um 11:13 schrieb Robert Crowston =
<crowston@protonmail.com>:
>=20
> We have a patched version of armstub8-gic. We use it to install some =
code in a highly privileged context that we later call from supervisor =
mode to start the secondary CPUs. Linux uses a different approach to =
spin up the other CPUs.

That=E2=80=99s the problem, armstub8-gic should have been removed when =
using modern firmware because it no longer depends on it.

> Am 11.10.2020 um 11:13 schrieb Robert Crowston =
<crowston@protonmail.com>:
>=20
> I haven=E2=80=99t followed this thread in huge detail, but it seems =
like the raspberry pi people changed everything again


Yes, the RPI was built to Rob ( I mean to Rob your weekend free time :-) =
Ha Ha



> Am 11.10.2020 um 11:39 schrieb Robert Crowston =
<crowston@protonmail.com>:
>=20
> In our patched version of armstub8-gic, we attempt to modify the =
device tree at runtime to add PSCI nodes=E2=80=A6=E2=80=A6...
>=20
> =E2=80=94 RHC.

=E2=80=A6 which results in panic after removing/unloading   armstub8-gic =
 :

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


Regards
K.








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E9D015B-5702-4A52-9366-49E20BDDA5F4>