From nobody Sat Feb 08 14:39:11 2025 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 4YqtlR4VxXz5n7Gf for ; Sat, 08 Feb 2025 14:39:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-20.consmr.mail.gq1.yahoo.com (sonic309-20.consmr.mail.gq1.yahoo.com [98.137.65.146]) (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 4YqtlP0VK0z3KJs for ; Sat, 08 Feb 2025 14:39:28 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=lFuv5uoK; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.146 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1739025566; bh=ioow1LFR1UwQvBUxwDrPmosR+kjKtkqVfXy/D1ZK/uw=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=lFuv5uoKFZIJztk/0Jvg33iGu8C42SZYJS6G2IrW1QVEaKY8bLYy8hExFR4KBjyp9lz6G0+kTmtd3uh5QzQdDqNnfCnONOKA60kNkgHXsL4pWQocWDSy5rzePn4prhqblbqpvTEQib/rPIXGWZRgp8ZsxCr3JxVUnPTnrgKq0cqG4yda+mW3ETh9uOuLqJGu0k999qOVbPp8MxlARAj5MM9eVLfwlUvwuLaft80pYhXpYkeA08yvfGNtFXYLgnya/fDGgl4bvigMDZD4J/Kp9ucDm2XALOn+EWOxWyfrZHi7k/GQD1dURMew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OUpVDcwpukpRgXQ2.hrl6vdpABh6z1cSqnXhMzocy7q2B07Y4s89Z2kNZ ezLK8SKJIVme.bDQwSrzxbYXt1qRoTxj2ZW4c0ZL3sBJQNE0..xa.b1WqcE9GIFLUJngj_zCYHmw 6t3wgfZ0V71PkOJNUL6Ga_wGZwMs.c0dwFyVzhktVgTUWcVcUCSF.EqR5JfcfHpAx25uaiUKqoe3 ctXynF5AEsxFBi80qFR8NAo9hZ4VRcFBk9DJjkDuWzlwZWLYPSLwYlkbmsxFzW.ZtpH6KfZ1zK4M FrW6mEHjH_KxlPdVAcns8JPAKWXCHoEimJqz.UYjG6rfqyS8xkED8Hnw6zKO_Hj.ku9oDocdCO1p Zy4UcUIBpUJ4c9YNKJJMjsgzuWBDLEpT_98zSn6zgYsbN9GgINrrSDEtrNA3sI7ctBslwDq6.52Z 6f088Ho_iGoQaygnVoX2M0uCvWj6uHxX2d.MwM0bOHwuqXo3uSEk_oBeo.JQ2mKhFIHyle.DYf7O UMXHUh3QDF27xjj2VZeoMVAQ2QBEMekhL75HSR5OEtMLUNd02h0RGG8CZ_ZDFYELUvCELk1CCbFq cKjOkvpcyycEgIYoraRbov4NFCXZWFcgkMein0K.I5I5KG_mZ4u.B2xVrVek2PuA3uUNSEtkDGpE LdeICpYebRDWf0ZmyQTBHbQ-- X-Sonic-MF: X-Sonic-ID: e2890951-0c9d-4bd8-8255-19b943ea3195 Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sat, 8 Feb 2025 14:39:26 +0000 Received: by hermes--production-gq1-5dd4b47f46-zz6g6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a769320ab0ee5c4c2c646af323daefeb; Sat, 08 Feb 2025 14:39:22 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 \(3826.400.131.1.6\)) Subject: Re: Trying an install to a Raspberry PI5 unit Date: Sat, 8 Feb 2025 06:39:11 -0800 References: To: Dennis Clarke , freebsd-arm In-Reply-To: Message-Id: <37A94523-D3A9-4E4F-8BF1-7054A58F14BD@yahoo.com> X-Mailer: Apple Mail (2.3826.400.131.1.6) X-Spamd-Result: default: False [-4.50 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[98.137.65.146:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; 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)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; FREEMAIL_FROM(0.00)[yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; 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)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.146:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.146:from] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4YqtlP0VK0z3KJs On Feb 7, 2025, at 21:00, Mark Millard wrote: > Dennis Clarke wrote on > Date: Fri, 07 Feb 2025 21:15:09 UTC : >=20 >> On 2/7/25 16:09, Dennis Clarke wrote: >>>=20 >>> All : >>>=20 >>> Today I will be trying to follow the instructions at : >>>=20 >>> https://wiki.freebsd.org/arm/Raspberry%20Pi%205 >>>=20 >>> Instantly the instructions are not clear. Not at all. >>>=20 >>> I will try to follow along but expect many problems for someone >>> that has zero experience with the arm platform. Almost zero. >>>=20 >>=20 >> At the very least be clear that I need : >>=20 >> FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img.xz >=20 > An issue is that there are multiple alternatives, currently > including: >=20 > Weekly Snapshots of 15.0, 14.2, 13.5, or 13.4 > Releases of 14.2, 14.1, 13.4, or 13.3 >=20 > Most folks are not likely to try to set your policy for you > as far as which you pick and why. (None of this is RPi5 > specific unless it is discovered that some do not work.) >=20 > Some of those currently available are: >=20 > = https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/15.0/FreeBSD-15.0-CU= RRENT-arm64-aarch64-RPI-20250206-9ef38a01aea8-275290.img.xz >=20 > = https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/15.0/FreeBSD-15.0-CU= RRENT-arm64-aarch64-RPI-20250206-9ef38a01aea8-275290.img.xz >=20 > = https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/14.2/FreeBSD-14.2-ST= ABLE-arm64-aarch64-RPI-20250130-9c72da889424-270259.img.xz >=20 > = https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/14.2/FreeBSD-14.2-ST= ABLE-arm64-aarch64-RPI-20250206-f28415489639-270318.img.xz >=20 > = https://download.freebsd.org/ftp/releases/ISO-IMAGES/14.2/FreeBSD-14.2-REL= EASE-arm64-aarch64-RPI.img.xz >=20 > The snapshots only go back a few weeks at most. So the names > change over time. Even for releases, the likes of 14.2 eventually > changes over time. It is unlikely that instructions are going to > be kept in synchronization with such naming variations. >=20 > You can look around, starting via the likes of: >=20 > https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/?C=3DN&O=3DD > and: > https://download.freebsd.org/ftp/releases/ISO-IMAGES/?C=3DN&O=3DD >=20 > for URL's that match: >=20 > = https://download.freebsd.org/ftp/releases/ISO-IMAGES/*/*-arm64-aarch64-RPI= *.img.xz Dumb incomplete pattern ("releases" is over specific), trying again: = https://download.freebsd.org/ftp/*/ISO-IMAGES/*/*-arm64-aarch64-RPI*.img.x= z Sorry. >> How hard would it be to write clear docs here ? >=20 > Very because little is know about most of the vintages or > variations of the RPi5 vs. what the EDK2 happens to support > in a way that interacts well with the FreeBSD kernel as > thigns are. >=20 > You have not even reported on which RPi5B variant you have. As > far as I know, only the oldest variants work --those using > bcm2712-rpi-5-b.dtb (as its content was at the time) and not > any using newer bcm2712*-rpi-*.dtb names. (The EDK2 release > does not even contain any of those.) >=20 > For reference: >=20 > # ls -lodT /RPi5-edk2/bcm2712*.dtb > -rwxr-xr-x 1 root wheel - 76038 Mar 15 21:46:12 2024 = /RPi5-edk2/bcm2712-rpi-5-b.dtb >=20 > (As I understand, bcm2712-rpi-5-b.dtb is for the bcm2712c1 variant of = the part.) >=20 > # ls -lodT /mnt/bcm2712*.dtb > -rwxr-xr-x 1 root wheel uarch 81163 Jan 27 17:19:54 2025 = /mnt/bcm2712-rpi-5-b.dtb > -rwxr-xr-x 1 root wheel uarch 81119 Jan 27 17:19:54 2025 = /mnt/bcm2712-rpi-500.dtb > -rwxr-xr-x 1 root wheel uarch 81620 Jan 27 17:19:54 2025 = /mnt/bcm2712-rpi-cm5-cm4io.dtb > -rwxr-xr-x 1 root wheel uarch 81682 Jan 27 17:19:54 2025 = /mnt/bcm2712-rpi-cm5-cm5io.dtb > -rwxr-xr-x 1 root wheel uarch 81661 Jan 27 17:19:54 2025 = /mnt/bcm2712-rpi-cm5l-cm4io.dtb > -rwxr-xr-x 1 root wheel uarch 81723 Jan 27 17:19:54 2025 = /mnt/bcm2712-rpi-cm5l-cm5io.dtb > -rwxr-xr-x 1 root wheel uarch 81167 Jan 27 17:19:54 2025 = /mnt/bcm2712d0-rpi-5-b.dtb >=20 > If you have a RPi5 that requires one of those newer > bcm2712-rpi-*.dtb files or the newer content of > bcm2712-rpi-5-b.dtb then it may be unlikely that the > combination of the EDK2 and FreeBSD available will be > of use to you. What I have access to works, only because > it is one of the early vintage RPi5 's that the old > bcm2712-rpi-5-b.dtb file supports via the code in the > EDK2 and the FreeBSD kernel. >=20 > FreeBSD did not do the RPi5 EDK2 work. The implementation is > not part of FreeBSD at all. FreeBSD just happened to work > with the EDK2 via FreeBSD's pre-existing ACPI support. FreeBSD > normally does not put a lot if effort into documenting what it > does not develop/support. >=20 > Going in another direction as far as documentation goes: > FreeBSD normally does not put a lot of effort into > documenting things determined by the RPi* folks that is > information also useful without FreeBSD involved. You > are expected to use the RPi* materials for that kind of > information. >=20 > You are asking for help for an unsupported context. Expecting > it to be like a well-supported context is likely going to be a > disappointing experience. =3D=3D=3D Mark Millard marklmi at yahoo.com