From nobody Fri Jan 19 16:57:34 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 4TGm593jmGz56vP4 for ; Fri, 19 Jan 2024 16:57:49 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-24.consmr.mail.gq1.yahoo.com (sonic311-24.consmr.mail.gq1.yahoo.com [98.137.65.205]) (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 4TGm590b4Sz4GrV for ; Fri, 19 Jan 2024 16:57:48 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705683467; bh=kewW1CYWcNS1htYgjnRwpCK2BcqFOFfN/el4CIUGitI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=gKApGJVzvssjaOoo/q2c4BOI+/JnoJJ5xh7n6azaAYORKqSVub+eOoNfspkbXyVO7HioCqaD76WoA7icDnD4ZNWOOboYICKU4tBMiCkLjUcKohqNVtTUnHJ6iL2v+TY7/AcOwNO7lsFymnr0EcxiwQGLfRv0nnIgA8wq+0cCCAgux9tFiurgmyLlj6ZF7mfTL51sB4qH3m3MX8Ka40jPyR/m1c4b/oJ9g2nzrgsqceubQcg6fReCR7JuByFv0nMMhKf4rfy5NhCZNlIqfVzuIPYsfVzonYdlfMChDrnPHPIvT8cKXSyAh41ZXVexOUjA2YUNNvcigmPf8/Xo+7keTg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1705683467; bh=OyDk1EqjHlSCQ4EFR0lN3DuJTipQDzZ0g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ttxTj5o3RqQfN YAoaQZEDk8m1zmwKrqAz6y8E9pXyMRdjIK6UB.tm56DbPhjhG3u4WlXVd4fJz86rrjNae0RKjmq_ HGpU2LUbQFjJtjXB8mV8ih3Ho3lNrZunqarjP0IMbxy5yVcvp.1i.9gLVwAJkyrUR_kdFqsv6gLy .slmHVPotyai1BYde1iA3.oP4UuNKiYWIHAqDWbquH2qIG1oYzyTQbKKFhYxvlC4e392vJ.FrPyz P2l6fCobqT8_eVG_VZ5_nrOpPRERbN37WLpstX35u6ffCemUdQVwr2XfczH2C0fNlDIOgyyyBoXE HWym8LZx_7wkK93D4WMhFh0dHjfK2OPmB5BgNNKKRm_PybfB_K.6Fomr65Vh5tFULriCJ0e1zxya GhbFgMsxaxEg2rjJjusb4tMkmk6WbcT7RcSvZtTi_Md64BKev3bajXMZxPrpYjQMa2gmkG10glNe CQ8HW3.3R8AXeALpJ1G6ICTa1TMP4rqVIXSdZewXraF3mpeHebg5HXnCMaWr76GC1kNya7lJvi3z KA2e0pIYoCNfjBaXxtl_slFDzBG5mjX3JcQgp6A_Gxf.fUqRcMjVs.qWL7Sqzi7AM7JxihHms X-Sonic-MF: X-Sonic-ID: 59fd9ca7-e75c-408a-ad9f-801a36cb8497 Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Fri, 19 Jan 2024 16:57:47 +0000 Received: by hermes--production-gq1-78d49cd6df-szbbq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID acbb9b85894687bbc3a1f45c523ec3dd; Fri, 19 Jan 2024 16:57:45 +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 08:57:34 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: void X-Mailer: Apple Mail (2.3774.300.61.1.2) X-Rspamd-Queue-Id: 4TGm590b4Sz4GrV X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] On Jan 19, 2024, at 06:33, void wrote: > 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 "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: 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 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. 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). =3D=3D=3D Mark Millard marklmi at yahoo.com