Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2023 12:05:05 +0100
From:      =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
To:        Mark Millard <marklmi@yahoo.com>, freebsd-arm@freebsd.org, Robert Crowston <crowston@protonmail.com>
Subject:   Re: FreeBSD and CM4: use pftf/RPi4 (the EDK2 implementation)?
Message-ID:  <E99F2AAA-3750-4CCB-904E-CB63EC16F2AB@googlemail.com>
In-Reply-To: <56924C76-58FE-4164-8832-441665E3C11E@yahoo.com>
References:  <9C037D3F-A440-4708-993D-117F313691BB@yahoo.com> <374EC3E5-4CB4-4336-A8B9-7A9CF6151691@yahoo.com> <BCCBE0D7-8BEB-4D6D-A017-9A59000F1E2B@yahoo.com> <9E9C739E-8308-472A-B797-05A37559DD00@googlemail.com> <EAD84A57-E8F0-4149-BCFC-8A06FF03B11B@yahoo.com> <E1A6057C-4E0F-45B7-9278-86A09426DE49@googlemail.com> <217ACD33-A466-4A01-AD36-5D4A0C1B3CF0@yahoo.com> <3BE72ED7-8787-45E8-8341-FE9CF4CFB84F@googlemail.com> <FC75A32C-B839-4699-AA15-5232CF3B1FC1@yahoo.com> <1EE321BB-6738-4931-BA75-4675C0D297E2@googlemail.com> <56924C76-58FE-4164-8832-441665E3C11E@yahoo.com>

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

for the CM4 FreeBSD edkII would be the same as with the =
firmware-upstream:
you fix one thing and import the next dysfunctionality :-)
Currently in fbsd the CM4 is working like the 4b,=20
except that the pcie-driver(which wouldn`t have edkII ACPI-logic inside)=20=

fails.=20
The story is longer and in the end of it I can say:
It would need a dedicated Developer with very deep knowledge=20
of very complex things.. and I sometimes saw others temporarily failing =
on other platforms
 who have that knowledge..
The way to go, as far as I can estimate, is to fix the memory =
computation in the pcie -driver,
to say it in simple words while that task is not simple ;-)=E2=80=A6.

Regards

K.
=20
> Am 10.01.2023 um 03:15 schrieb Mark Millard <marklmi@yahoo.com>:
>=20
> You may have an alternative for the CM4, not that I know the
> details of the status.
>=20
> The firmware from https://github.com/pftf/RPi4/releases/tag/v1.34
>=20
> includes bcm2711-rpi-cm4.dtb --and they only bother to include
> .dtb files for what they support in EDK2. (But there is still
> the questions of just what the support spans.)
>=20
> So, if it turned out that UEFI/ACPI from EDK2 would
> happen to be useful, it might avoid incomplete/inaccurate
> Device Tree handling for the CM4 in teh FreeBSD kernel,
> at least for some issues.
>=20
> But there is also the possibility of incomplete/inaccurate
> UEFI/ACPI handling in FreeBSD's kernel in ways that would
> be important to you. But it is separate code in the FreeBSD
> kernel generally so what works vs. not may well be different
> from Device Tree based booting.
>=20
> I'll note that the crash that I worked out how to avoid is
> Device Tree boot-style specific. Any crash for UEFI/ACPI
> would be separate, if any exists.
>=20
> But if you try UEFI/DeviceTree then the firmware vintage
> issue might be involved in that case.
>=20
> Just something to possibly explore for/with your CM4.
>=20
> =3D=3D=3D
> Mark Millard
> marklmi at yahoo.com
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E99F2AAA-3750-4CCB-904E-CB63EC16F2AB>