From owner-freebsd-arm@freebsd.org Mon Mar 29 02:00:38 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 401B35B82F1 for ; Mon, 29 Mar 2021 02:00:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F7wlT0Jlmz4R5X for ; Mon, 29 Mar 2021 02:00:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1616983233; bh=33bt0BcSr7u4+IcOa2lhqakrq+RY3x31ulNfaarXn37=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=rBuXTQNp0otiIi6pNl8m0nDqG3okjyztzc42MlnsIdn7k9eFp8mqY+2Bn0EB9UdCA+iyXxD+H4ygpzXXffGMpE+zdlwMFwu6XiSt6zlFVeQPTVqeeGQSXUlSevVHvREjj4i9hc/m2I8by93Tyi2sHA6INY/SwN5pYo8PCDVXcmThHqOtoyGPhPb8XgrH4n91O8XOSJsgjzfmvvbiHx/60UwHJFLW3NT12Wudp7o7caPOeS52t77xRpAnyZ4inop/Sp0BLkDIw2TTQ/nIB6e1QwdxpiBFLi3gHFPwS91mZfugGRu/qGan+mxbby0gvihTBGznf8f7Znb0HqnlxatGzg== X-YMail-OSG: 562r1U8VM1mLCMODBUvlMBYk95jD8ir9Wm_j.1qKQAxL6x3Sjg1XnBngDc6Ju4R 7kEmE8U1oXR.GiyfrMA1O_DsonXy7P.K3nE8jCHZFPmsdEr1u2bA0vU6OrhYIUsI_XeUEzmRq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E.dqupItIOeRUj6mZ5ui_95RO6Zz6WJGeE3MsDkLWWBn1HwTRbpBZcsPdmSuEHlmQc r6WnuG0s1hvmBL0Hgyl8KPHfow.4OncJBJ.kMnCBhIyVSDli9NxLllgOTVNiL3gCRzGr7lRgEIyq VP_yOnxOKPNp8Bv0QqAfVG1n5YzTiFbqmI_Ev53m5XLuWbptfg5Jg0pTkqiQ2Wr4xk8NjAkQBa31 vMeuCW5nvO1FUbxSFdaNOrALcy90JihYM8_OwHFecbQucflDHGyNZq00fg3jAqyPvTrotdt1UKS2 azB1oFJ3PcsGKByCxT3EKm8PfueXbTusomJlZvVKEEk6qPKsQ.o4hoA.YpyBOlRvF4k_s2vcZF9J 9ar4oP2R04CZwHUZPrSWjwCxUsbJ1hcStuO1nEKqRqOVBJ9MammqE9BDJU7nDPJIEXkKrsiMOBp2 JmugCb7v3DYE- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Mon, 29 Mar 2021 02:00:33 +0000 Received: by kubenode530.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 27d7f33b4a517e22f51205b40f1f3bf3; Mon, 29 Mar 2021 02:00:30 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Any good alternative to Raspberry for Arm64? From: Mark Millard In-Reply-To: <13518D86-E611-4438-A405-7121D69A4E70@unrelenting.technology> Date: Sun, 28 Mar 2021 19:00:28 -0700 Cc: Marcin Wojtas , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> <05C76F74-37E6-42D6-83B6-E5B34C920516@yahoo.com> <13518D86-E611-4438-A405-7121D69A4E70@unrelenting.technology> To: Greg V X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7wlT0Jlmz4R5X X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.65.31:from]; SPAMHAUS_ZRD(0.00)[98.137.65.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 02:00:38 -0000 On 2021-Mar-28, at 17:36, Greg V wrote: > On March 28, 2021 11:44:25 PM UTC, Mark Millard via freebsd-arm = wrote: >> On 2021-Mar-28, at 15:52, Marcin Wojtas wrote: >>=20 >>> H Mark, >>>=20 >>> niedz., 28 mar 2021 o 22:15 Mark Millard via freebsd-arm >>> napisa=C5=82(a): >>>>=20 >>>> On 2021-Mar-28, at 12:48, Klaus K=C3=BCchemann via freebsd-arm = 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)