Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2023 18:15:02 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   FreeBSD and CM4: use pftf/RPi4 (the EDK2 implementation)?
Message-ID:  <56924C76-58FE-4164-8832-441665E3C11E@yahoo.com>
In-Reply-To: <1EE321BB-6738-4931-BA75-4675C0D297E2@googlemail.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>

next in thread | previous in thread | raw e-mail | index | archive | help
You may have an alternative for the CM4, not that I know the
details of the status.

The firmware from https://github.com/pftf/RPi4/releases/tag/v1.34

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.)

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.

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.

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.

But if you try UEFI/DeviceTree then the firmware vintage
issue might be involved in that case.

Just something to possibly explore for/with your CM4.

===
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56924C76-58FE-4164-8832-441665E3C11E>