Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2021 00:36:10 +0000
From:      Greg V <greg@unrelenting.technology>
To:        Mark Millard <marklmi@yahoo.com>, Marcin Wojtas <mw@semihalf.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Any good alternative to Raspberry for Arm64?
Message-ID:  <13518D86-E611-4438-A405-7121D69A4E70@unrelenting.technology>
In-Reply-To: <05C76F74-37E6-42D6-83B6-E5B34C920516@yahoo.com>
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>

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


On March 28, 2021 11:44:25 PM UTC, Mark Millard via freebsd-arm <freebsd-a=
rm@freebsd=2Eorg> wrote:
>On 2021-Mar-28, at 15:52, Marcin Wojtas <mw at semihalf=2Ecom> wrote:
>
>> H Mark,
>>=20
>> niedz=2E, 28 mar 2021 o 22:15 Mark Millard via freebsd-arm
>> <freebsd-arm@freebsd=2Eorg> napisa=C5=82(a):
>>>=20
>>> On 2021-Mar-28, at 12:48, Klaus K=C3=BCchemann via freebsd-arm <freebs=
d-arm at freebsd=2Eorg> wrote:
>>>>=20
>>>>> =2E =2E =2E
>>>>=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=2Es3=2Edualstack=2Eeu-west-1=2Eamazonaws=2Ecom=
/flash-image-2020-07-01-mainline-tfa=2Ebin
>>>=20
>>> and the system just worked (/dev/nda0)=2E I updated the FreeBSD in
>>> this configuration and that booted too=2E
>>>=20
>>> (The Optane was originally initialized while in a amd64 system
>>> and so was boot-ready when first plugged into an aarch64=2E)
>>>=20
>>> This is not the MACCHIATObin's normal configuration and things
>>> were put back to normal after the experiment=2E
>>>=20
>>> The MACCHIATObin Double Shot has 4 Cortex-A72 cores=2E
>>>=20
>>=20
>> MacchiatoBin has fully opensource firmware, with the mainline
>> edk2/TF-A one can boot FreeBSD with DT or ACPI=2E The referenced image
>> from Greg should also be fine=2E The only significant interface missing
>> is the built-in PP2 NIC=2E

Interestingly, OpenBSD already has a mvpp2 driver=2E I don't really have t=
he motivation to port it right now, but hey, someone could=E2=80=A6

>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=2E 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=2E (No one has
>support covering both contexts on the MACCHIATObin
>Double Short?)

Last thing I remember, Marcin promised to make a setup menu toggle for the=
 offset ;)

> removal of a headless flag in FADT=20

I don't know if that even affects anything, I probably just copied the cha=
nge from somewhere, but I like it out of a pure desire for correctness=2E

>There were also edk2 additions of 3 lines
>involving something like:
>
>MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe=2Einf

This might've happened upstream too by now, but yes, this is necessary to =
boot from NVMe=2E



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13518D86-E611-4438-A405-7121D69A4E70>