From nobody Fri Jan 19 17:10:29 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TGmN45KYbz56wt2 for ; Fri, 19 Jan 2024 17:10:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-19.consmr.mail.gq1.yahoo.com (sonic314-19.consmr.mail.gq1.yahoo.com [98.137.69.82]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TGmN26sYDz4LW7 for ; Fri, 19 Jan 2024 17:10:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=LQiVpewO; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.82 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705684241; bh=gdekCyD/JcUKEXlSWlFKrK33niMtiP+w3A2lsj7YtEc=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=LQiVpewOPPO/H3BpJ3kL9TCqh/D3h0/zRu/Gy/2iNzwGncAsps6KzqH5SwjIuYDvv0ZRbsdmc8wSU64kvuQy1CD3/OabptbkuTquokkGtz5J4E298ZX8xkCAsYxXluqUCe1OzmE3vJ6l4+IIVSklKbLDBtP/mZlEjdxTTAcTFsxIcS2J4zxcuHrhsiEyy2mPTVPCCtdnalUcInwXv9saC45ElYrHWRfwaE138cyweSpeyI4VZuRDuVBXzTGJfT51QgqEaMFi9+C0gFWKZ99HF9hQBDXHjr2eRkpAUgCcU26FHxvcDS488tx0/dyGZXKavGVysD+D7vRu97wS50cCzA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705684241; bh=u28EgO2BygnITCzJDrIIWOUd1qwqY0MgeS05sXwWXq/=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=Fd4/YyHQjx8Vd59aHBV2wNHVw0gsUiS9DIZqn56UxEVms/BFVuEF+Rx1WG8R3BljVu0/M4oop3/QkqqAkdQ+hhlDYPApKPiJYsEsZdTDfwigUGpWJ6eairAF61hbaMH8Abik2lQ44Znt1aotbSUhhvqoBL3TZMF5kbZebO8o6ukHxAxiWDrizmWybVxLKCKmdCqv6ogCUhmkzh7fQxX44WHK4mx62+lK8b4evmyqnMAStmkk0pyHwaOaiCKwc7wp0SKcuYfPgIK3AXLz9PQBpNZaCb9uwJb/Kz5sLBBtEtW4hwKpJ1X5dKFIk5L6/rqwjA7CR+d/93jBiAT4ddNcBA== X-YMail-OSG: DvusWvIVM1k0lA2phOAFjnPlXsU5bdPFL4doebv.ZxSGuoifZxDsNsfhk6JQbQa lUSNwtMm85im30huqRKl9aONYD.6Yfsa6BPLqLwdRGPP5SUE9brHtcI2nnDS3W64sZ5o0an8uSD4 wWs95LIZDXmd7fiLhxwe07qOoJIC6aVvoEtG2dKYvdnhIXiTjf9JPaAD.9yu4ywfD2k0.j_SXyV0 sxiq3Z_7QtzJmpRzrypjqLErc.Gxt2K79XIwlManIxDKKBGvFTSVwBuXE6_y1n8wTMwrUCbiutTj 21._YwIYYozhK0R.ESHX4kyY4D_z7AVLrA0IJJpm6jDloqvkYcB3LtHSE3t2ukT7XdVkGUzGtlyg _IocBEruAFLFvzGY1TNMkw4j5EZuSuxqq2ELSHQLISnKJyCkcOFO5k4PTkKpqMnFhzD.SDlS7rUr AxlBeeOUp7JyBruEGF_t0WZRJINl8psPb..yJBbtQpIfIw1JtuZ13c2FNBsQ2yADjRnD4bw21nQn Lrl0z_9ToB_GiUxd23zBsx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qO6XTgscmAfz_Mgqnu6X4HKEHnvzlWhZz7YpaueddOZ5O3R5ndnsKSSn2vLP mzCiYXkNFp7aAL3s.Vwtw37Sd2abb7_XMDdNfVMfj6XALeaNe7wtSg8C8ClYdUFcwjkngd3My6UI aI8G8SftAeOKZ3VZGoy1sKam1kL03c.GsSu1ElnYn3y1TrCcpSnRr9qSge7q7ALbgzHds0JdnIrj 6aihc2aRMICYXWMui7P1VmPGGHD4RzTQWN7w9mAPvk.i8VsadqsvOUmGhcGOJXIbpT4pccQSYBsB l4WA2s3voEAYwYoaezj8wTOZOZamrC1nxn.70xC2xzLiZrAyrul_IjSDun.B3bWGiiSISD5hj7U6 yDOJ4fu1LQ9cV3.w3BT0aEm1lH2uCZlGZZqJD2lNGxhgwCWitoYFjZT44MsRmlej6NRvhupD2jj2 OEHiYsBA4s2GDjtBoYhkn89658Yl24AaqxN1prFBJo83ihObwW.BJa7NF6_.0VMbm5zSrmdh75Ht 2wTCIwx6WN7w6DHICceaWglraDuoltVzNr6xC0tO7bqb0F_Mpp.71fhV69vif4R6pBZUrfTlvUON wjxniKOflrr3gh4tjprXt4Y81Cv3l5sJPHyOoyyv6wpnh80fza38nmTwVz.eyHSMm2pf5CkC75Wh E91mjFR_XotFIYLR91cygJi4ZGDFsc5B.tQMISM8OJAEimC_yYwmfRDtLlo63s3BFPKK2WZ9dVKo 2zQ-- X-Sonic-MF: X-Sonic-ID: 9f3ed84e-e001-40a6-a11c-26ef7013333b Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Fri, 19 Jan 2024 17:10:41 +0000 Received: by hermes--production-gq1-78d49cd6df-k5hld (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 89349a2e59a081f0576b6223f57c1cea; Fri, 19 Jan 2024 17:10:40 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: https://github.com/pftf/RPi4 unusable for FreeBSD since at least Sept 2023 From: Mark Millard In-Reply-To: Date: Fri, 19 Jan 2024 09:10:29 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <33ECDC54-0595-4323-AC74-783C795CFE67@yahoo.com> References: To: void X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; URL_IN_SUBJECT(1.00)[github.com]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_TO(0.00)[f-m.fm]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[yahoo.com]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.82:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.82:from] X-Rspamd-Queue-Id: 4TGmN26sYDz4LW7 On Jan 19, 2024, at 08:57, Mark Millard wrote: > On Jan 19, 2024, at 06:33, void wrote: >=20 >> Booting stops with the error "armv8crypto0: CPU lacks AES = instructions" >>=20 >> see https://github.com/pftf/RPi4/issues/242 >>=20 >> I can confirm v1.35 throws this error but haven't tested either = earlier >> or non-release versions. This version was released on the 5th June = 2023 >> and is the latest -release version. The PR was generated in = September. >>=20 >> When the arm64-rpi image is generated, what content does it source = for >> the efi part? When does it get sourced? >>=20 >> Is it a pftf/RPi4 problem or a freebsd one? >>=20 >> (possibly related - i was unable to get 14-stable installed via the = usual method: >>=20 >> 1. install to usb3 then leave the mmcsd in and reboot >> 2. it fails to boot to usb. log in and mount the usb3 msdos = partition on /mnt and cp -a /boot/efi [?] to /mnt then reboot >> [?] i forget the actual path - it's whatevr gets mounted as the msdos >> partition on the mmcsd). >>=20 >=20 > "armv8crypto0: CPU lacks AES instructions" is not a fatal error > but just informational. Here is part of a "dmesg -a" from an > RPi3B boot using the normal U-Boot style: >=20 > gpioled0: on ofwbus0 > gpioled0: failed to map pin > armv8crypto0: CPU lacks AES instructions > Timecounters tick every 1.000 msec > usbus1: 480Mbps High Speed USB v2.0 > ugen1.1: at usbus1 > uhub0 on usbus1 >=20 > The message is not special to RPi4B's or to EDK2 use at all. > Nor does what it reports lead to stopping the boot sequence. >=20 > The actual problem is a FreeBSD kernel mishandling of reserving > memory: a rejection/panic of a valid ACPI set up (valid as far > as I can tell). See: = https://lists.freebsd.org/archives/freebsd-current/2023-September/004775.h= tml =3D=3D=3D Mark Millard marklmi at yahoo.com