From nobody Sat Feb 08 05:00:02 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 4Yqdv90SH2z5mHj6 for ; Sat, 08 Feb 2025 05:00:21 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-22.consmr.mail.gq1.yahoo.com (sonic309-22.consmr.mail.gq1.yahoo.com [98.137.65.148]) (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 4Yqdv70DVxz3nYx for ; Sat, 08 Feb 2025 05:00:18 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=UficBxNQ; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.148 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=1738990816; bh=SXXw2fqA3duulBHZq7CJmU/yglFbpNGi5amVS+pZDtA=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=UficBxNQanWyspX0CgX2vjFnQxktbTT8TRsPgNH5wIA2FDkYmvCznl1Qcuigqe7O7qzABnFUUkqhKhaO2M3PG0ZkMTFuG5aGb7FYbaXQEBZYJBBel3HZc0LjajWaTjOJUhXeSPlvdeqpm9XDzosWl9FXMAQbND0qFGNLLWQAsEsK91loouvVilF4TomxFvlOO2exOJqfOyL2Y8H95lI3qIT6cRF8tQWV7fU+OwV2lvS2i7abpQVE5DZ0of5R26AGtK42qhc7dS7QTJQft+KECbTPiCoUe4T/wA/HgZc/EbMgv0263rC6bPLhp9l/Ngsw+BjNIGygc3qnJtgLJwxCeA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1738990816; bh=+5CoU9qSzbyJDxbnwdRPchlZaKwbsFOGCBCOfWNWIsM=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=UkVxXMNCfWocAO9qwauE9qPMrT73je3ZIwvFxvThyuY2Ai8n6/EC3DCTEY9kvJPgtWOULncMiCgVY0N8hEqm8nd6VvaE8e7sdG2LxGFn148g07If/v+K2AkLC6q/P6ZMhLQXLCe7z4RGBJs6DhgsapSt9uZx+5FQajd4uPRVdBw19PckkOBhOdWvpkgklB+3bLb8A9UzP6PMKA+UwoeQQH77taNROteO3q8mkzI/TXgjJuKvOqP08RdO6VoRAhNn/n8tj9cMR/wrsMfROFvIAOy5Y7ZojOIOLtVbUSNI2kXobUhLmH92CveUhTIDDZxtbnI4U1Ub1seTLTF05crvuA== X-YMail-OSG: 5CzyMCIVM1mTIfDvbCoWqMBh.Q.RhwsWuFAH4JcFpO3I7PLGg97i2oPRM17ewxt OI7ko0WvtoM5uoSSUNWt5CCrWkcQN5IKmsThJ7gDhD_uTbPezB.MT5SczyKBDPSYTWtO3OR3IVHc ZnJqOeGhCOzmv6W6L4zW0bg_zVHzSFfq8abQOdMivf.m2EG.e_ZZC39FussJyNCDrhzpnTc5.nKD g5ZTDxpL5p7Cen2KCudfarwcATShlP1Dbb.5BjwkNhSiA9BqEyzLBjwSMp9JKgjGIscSEV1Jbckh 8w.n_.kpRUiz10g4j2ujWifz.70GQJBgJomImngILFrpmsysM3pCEUJXz.uaQ7P5OwdHMAUdf2Ll _Nt9eM1jV.KENGiPdV.jgXV7Juc.N4R90v0fTuN.vfW3VCG.ilN_srD8UfVd7lKrRkKut8zd3mqM spDPamTX5PGFqI5URSA7jaWQNPv7D6e3CEYhaY27yRvvTY0PrxP2JzCG6eVlHeLyN0vnYkLA_Bu9 5sryZnGPHLRubKteRQ_QrZIjq3fZ70hmyhpE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ildGNT9pdmRMKlXVH_Nvz4pkLsUpvnFpuuGD BxYZ.hXUTGG4jlFyhJovWja8z9cj5jfJt0k8gjo_qZsPHvSf35SeADEUtreMlvjTh8oQCwO.4yhy bZpyMVQL42rX5MkyPXXVEtpMzKSX.M73JoJ00p.TRzt0HLmKZeVPpgAVRnVl9TeSm7ujrtIB8Szy irKARPqTe_POoK80PFNYi4n2fsyIBhU8TcvoqdW1jV_ltX9FCXDRIEpJFu0gLaSUNMTQO_pC_9t0 i_MdPQxb2RhSE_GRp7bn_5RzF3YypyHkFC1j7YvdedfkopoiH75K10V6vpsEY7FOqN1tBtZWs.Lk G4F.x2lUqm0igqbS.tq1OQpha3sZO7HcWmiS_zFn6PdNpNjKxKPfFIS2vChls4eE62aPeI0aMCT. HYbR0_HsKCUTflWfMH_fB9._pWecT45d1dX9j9J74iN6tfsmTBoFKe4WdDAgjWiBnXyAGfeUC9hF oM4oErUNo0WzBqps2.WQG5ZcSTkOT113AbjpovEH8sEcDRt30rQ2Qs8PZBJOO5.0_omd6mBSS4J_ .ztCZ2sMtrEr81sA6Q28n7iGfNqbHDEDE8RlPrkcRWayUg8Hmr.35X7N661KBJaj8avyQG0tljOg h9vCEGIN9IJfRBWFsKOd2NqRyfSArSKtzNZPz98I_k.ahiWCYKVecSBL_hAECck4byX.62rCrrw- - X-Sonic-MF: X-Sonic-ID: 833d81fb-fd02-48f0-bce3-74eb603c934c Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sat, 8 Feb 2025 05:00:16 +0000 Received: by hermes--production-gq1-5dd4b47f46-zz6g6 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 830ec9f8f6ed890f23191c3e130a9a0a; Sat, 08 Feb 2025 05:00:13 +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 Message-Id: Date: Fri, 7 Feb 2025 21:00:02 -0800 To: Dennis Clarke , freebsd-arm X-Mailer: Apple Mail (2.3826.400.131.1.6) References: X-Spamd-Result: default: False [-4.50 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[98.137.65.148:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-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.148:from]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.148:from] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Yqdv70DVxz3nYx Dennis Clarke wrote on Date: Fri, 07 Feb 2025 21:15:09 UTC : > 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 An issue is that there are multiple alternatives, currently including: Weekly Snapshots of 15.0, 14.2, 13.5, or 13.4 Releases of 14.2, 14.1, 13.4, or 13.3 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.) Some of those currently available are: = https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/15.0/FreeBSD-15.0-CU= RRENT-arm64-aarch64-RPI-20250206-9ef38a01aea8-275290.img.xz = https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/15.0/FreeBSD-15.0-CU= RRENT-arm64-aarch64-RPI-20250206-9ef38a01aea8-275290.img.xz = https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/14.2/FreeBSD-14.2-ST= ABLE-arm64-aarch64-RPI-20250130-9c72da889424-270259.img.xz = https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/14.2/FreeBSD-14.2-ST= ABLE-arm64-aarch64-RPI-20250206-f28415489639-270318.img.xz = https://download.freebsd.org/ftp/releases/ISO-IMAGES/14.2/FreeBSD-14.2-REL= EASE-arm64-aarch64-RPI.img.xz 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. You can look around, starting via the likes of: 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 for URL's that match: = https://download.freebsd.org/ftp/releases/ISO-IMAGES/*/*-arm64-aarch64-RPI= *.img.xz > How hard would it be to write clear docs here ? 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. 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.) For reference: # 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 (As I understand, bcm2712-rpi-5-b.dtb is for the bcm2712c1 variant of = the part.) # 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 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. 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. 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. 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