Date: Sun, 28 Mar 2021 19:00:28 -0700 From: Mark Millard <marklmi@yahoo.com> To: Greg V <greg@unrelenting.technology> Cc: Marcin Wojtas <mw@semihalf.com>, freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Any good alternative to Raspberry for Arm64? Message-ID: <B61DF445-9204-4101-A479-43844D064B36@yahoo.com> In-Reply-To: <13518D86-E611-4438-A405-7121D69A4E70@unrelenting.technology> References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> <D6C3F9FE-D34F-4CCB-80D6-46AC29F3AD39@gmail.com> <C166F287-91D2-408E-B43B-222D58EA52BD@googlemail.com> <FBC36A5C-3948-4EB3-B7C3-4C16C3D9119E@yahoo.com> <CAPv3WKdiQTJ%2BLSmzc5Ljk9SEAq=S%2BO2effO-10R8sDq1ytaYvg@mail.gmail.com> <05C76F74-37E6-42D6-83B6-E5B34C920516@yahoo.com> <13518D86-E611-4438-A405-7121D69A4E70@unrelenting.technology>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-Mar-28, at 17:36, Greg V <greg at unrelenting.technology> wrote: > On March 28, 2021 11:44:25 PM UTC, Mark Millard via freebsd-arm = <freebsd-arm@freebsd.org> wrote: >> On 2021-Mar-28, at 15:52, Marcin Wojtas <mw at semihalf.com> wrote: >>=20 >>> H Mark, >>>=20 >>> niedz., 28 mar 2021 o 22:15 Mark Millard via freebsd-arm >>> <freebsd-arm@freebsd.org> napisa=C5=82(a): >>>>=20 >>>> On 2021-Mar-28, at 12:48, Klaus K=C3=BCchemann via freebsd-arm = <freebsd-arm at freebsd.org> wrote: >>>>>=20 >>>>>> . . . >>>>>=20 >>>>> Anyone successfully booting from nvme on any aarch64-board ?? >>>>=20 >>>> As reported on the list earlier, I plugged a Optane 480 GiByte >>>> into a MACCHIATObin Double Shot's PCIe in a system that's microsd >>>> card had the EDK2-variant build from: >>>>=20 >>>> = https://unrelentingtech.s3.dualstack.eu-west-1.amazonaws.com/flash-image-2= 020-07-01-mainline-tfa.bin >>>>=20 >>>> and the system just worked (/dev/nda0). I updated the FreeBSD in >>>> this configuration and that booted too. >>>>=20 >>>> (The Optane was originally initialized while in a amd64 system >>>> and so was boot-ready when first plugged into an aarch64.) >>>>=20 >>>> This is not the MACCHIATObin's normal configuration and things >>>> were put back to normal after the experiment. >>>>=20 >>>> The MACCHIATObin Double Shot has 4 Cortex-A72 cores. >>>>=20 >>>=20 >>> MacchiatoBin has fully opensource firmware, with the mainline >>> edk2/TF-A one can boot FreeBSD with DT or ACPI. The referenced image >>> from Greg should also be fine. The only significant interface = missing >>> is the built-in PP2 NIC. >=20 > Interestingly, OpenBSD already has a mvpp2 driver. I don't really have = the motivation to port it right now, but hey, someone could=E2=80=A6 >=20 >> My memory was that there was some issue of "legacy" >> PCIe devices showing up as duplicated and some change >> was put in that avoided that --but prevented "modern" >> PCIe devices from working. As I remember, disabling >> the change was one reason Greg created his variant: >> upstream choose which type of devices it wanted to >> support and Greg went the other way. (No one has >> support covering both contexts on the MACCHIATObin >> Double Short?) >=20 > Last thing I remember, Marcin promised to make a setup menu toggle for = the offset ;) = https://github.com/tianocore/edk2-platforms/blob/master/Silicon/Marvell/Ar= mada7k8k/AcpiTables/Armada80x0McBin/Pcie.h has not changed since 2019-Jul-23 . So if something was done that covers this, it was done elsewhere without changes here. (I've no general knowledge of the edk2 software structure to know where else to possibly look.) >> removal of a headless flag in FADT=20 >=20 > I don't know if that even affects anything, I probably just copied the = change from somewhere, but I like it out of a pure desire for = correctness. >=20 >> There were also edk2 additions of 3 lines >> involving something like: >>=20 >> MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf >=20 > This might've happened upstream too by now, but yes, this is necessary = to boot from NVMe. There are no longer separate *Ia32.dsc and *Ia32X64.dsc files but UefiPayloadPkg.dsc does have such a line. The .fdf has the related INF line as well. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B61DF445-9204-4101-A479-43844D064B36>