From owner-freebsd-arm@freebsd.org Sun Mar 28 23:44:32 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 AB4EE5B3E81 for ; Sun, 28 Mar 2021 23:44:32 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic308-8.consmr.mail.gq1.yahoo.com (sonic308-8.consmr.mail.gq1.yahoo.com [98.137.68.32]) (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 4F7skR3np7z3pGh for ; Sun, 28 Mar 2021 23:44:31 +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=1616975069; bh=QzWEaZ1YtEEr5h6mw0LN7DXfC7iREeLrNs10PLkFN8O=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=AyPfMH2Ni4i3U2tMwFjBTTjFRHYurhL077MmaQN9Qr76f1hj0ujrRQXUmyWSjV2XR091I3OvFIjdTlS7Cb8YtVY3QlKunC7q2OvnhLxa0q+5x0F9YeXcM4RU16VjGu+46rsM6pUIGHxE/8Wgsbe8IRAxkz+c2r3yZvGtFCwcwEqCIXcsh2M1cmb+CkbZjn5WNDwFcw9SnVY9f9bnbeBlhfYo/7eLmM0FD12kKDWfvfoWPS5UYKaWxI9t430IF+Id6mz6dc4C32wu88R0akXFW0H/YyhAa4g6hfYICeVsJDmn4VDJ4y1gPaBRORSpc+N3TTbWY2cDQKreCvW6Vuw93g== X-YMail-OSG: b7jdWZ8VM1lLKRxthJ2ZzyqXZm6aYaNWEcdJfZ9CLV9F6CX2m9Isp5lm0Y0Lcf. mJcMirsbQ1wmOTvF2cpeSOYn1nfsdVlq05G7oSCMXjWBNV.6vJofxRlglgf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smF8ogp5S.gHyTZ1ufch5Lve0N20NOEezOd6aOS0gbc.KVFO5t9uMpOtLF2ZZXPQya0 jHOFmnM9bpq0vMy16BMhFN_xdEiTXZxsBl7QpIjz8G3sBvaRuu3ue1VwpCwuZkcsHy2mo9XE4i74 dl4Dj16ppNjNsFI.VackemlklxaSPZ1QN2KYkco6_Y0ZQEEoPCIu53R6u2m3f2xResFY2vILwEkr fTzLsB_IHcaRgtAZ.sBuIfmHBPElbAWou_j4hWVCQCjg4ARH7cL.0neTSuebGnvRr1RyHGZ_imkd H12PrY61VL8IXmaAdH1Qbwg1EeNIWPS0qf4fVM.rALJyj0nBx.nxReKnzLuzh2OYWsQwjzoJAc1i Tm_C.sGJ28I16AJ2iovaEY_m4f5adAiFjisOH0UUjDGR3Ra0xyF0n X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Mar 2021 23:44:29 +0000 Received: by kubenode565.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 099842d7bcc7d599f1b841227055c575; Sun, 28 Mar 2021 23:44:28 +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: Date: Sun, 28 Mar 2021 16:44:25 -0700 Cc: =?utf-8?Q?Klaus_K=C3=BCchemann?= , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <05C76F74-37E6-42D6-83B6-E5B34C920516@yahoo.com> References: <7b284f7718556f1cf0a7a205c98db6b1@pyret.net> <8F8F3491-3E1F-45C8-BF61-09F7557F48A5@googlemail.com> <265dbf9c33f4ce09c702c9d7fae93c9b@pyret.net> To: Marcin Wojtas X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F7skR3np7z3pGh 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)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.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]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.32:from]; 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]; RCVD_TLS_LAST(0.00)[]; SPAMHAUS_ZRD(0.00)[98.137.68.32:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.32:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.32:from]; FREEMAIL_CC(0.00)[googlemail.com,freebsd.org]; 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: Sun, 28 Mar 2021 23:44:32 -0000 [Sorry for the accidental send of an reply I'd not started to edit yet.] On 2021-Mar-28, at 15:52, Marcin Wojtas wrote: > 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. 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?) Looking, there was a Greg edk2-platforms update called "remove ECAM shift" that seems to be involved with that area. (Also, removal of a headless flag in FADT and adding 3 PCIe defines and some MDEPKG_NDEBUG #if changes and having some CLANG DLINK flags. My context was still actually headless but I noticed no problems from that.) There were also edk2 additions of 3 lines involving something like: MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf plus some other stuff that might be for other issues. More enabling of clang use as well. I've not tested a mainline build to check on the status of such things. But back on 2020-Jul-01 when the commits were made, Greg appearently throught that they were necessary to get his context to work. (My test context seemed to be covered as well but I did not prove Greg's variation was necessary for coverage.) > EspressoBin (and Armada 3720 in general) is very well supported - > apart from PCIE, everything should work. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)