From nobody Fri Jun 12 16:20:12 2026 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 4gcPr62mBpz6j48J for ; Fri, 12 Jun 2026 16:20:22 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-24.consmr.mail.gq1.yahoo.com (sonic304-24.consmr.mail.gq1.yahoo.com [98.137.68.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 4gcPr322fRz3lyV for ; Fri, 12 Jun 2026 16:20:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=kY596Bqa; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.205 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1781281216; bh=b8n4TjLdWlIx8LaMroB5029VM2D0n7qp0I9LDeUpHF8=; h=Date:Subject:From:To:References:In-Reply-To:From:Subject:Reply-To; b=kY596BqaT6+KUUOqTkMd2AbKqR1OjLGgwwcP67yC8i+c2Wra88cuHFXdR8UVqj1NOFX8dKM1bcLFQH/mz+r0kTaw70iyjHqgVXMVq0mWlEWRej18i0mNLq3b37UXpeRNEF5+cljvSkIMYO/dtOKttvlHG2d2hsvW+D9txYq0RWvmK5L5GuMPnO5+fOy5mHxCx/XKYYvQp+tCn/OjK/YuvMW90Zgg8CwI09SZ7H7UPTXZMzedrBXl+MvbRIrKlwutthSpnguHkoZ9y3zZ6ALvxLe+uRTurUgOazW4OdkIDGHUHXoyPm2e+UOVy8me2et6x5zcAi3APQDGcPYvQxOjqw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1781281216; bh=SnTVndRf+hg6HjnsblS2biYfbASf906Ev/xMh+0kBCj=; h=X-Sonic-MF:Date:Subject:From:To:From:Subject; b=CNQODhNlOHJk6rCjQx8ClHrKXXXgQWr3lx7RH1pw5pFrUdeUpENa5tEYX9ynxsqd8zp53cFjATQeC3OjlzbeFNDnlVwC1f/b1iZS/vjGzI/37JMXmrvlIH98SGOsi1LGUi2YbNpMfveuHuYVLrtDrRVWUYX4TiQ3UCAyi5dRtV+vjTJjZVOFv0FxHX02QFX5JvmSq+M1ovSC2RBKIHi0amkAdXytxD3HZLcB0hc6+UKWxMJgyq48x141BzcC4SFESWUXph832oEv0VsYCQeKAK9mrVQZrQY7DweqaNbcQNmyrGx1157FKaQtGrcLZwteLdAAUSiG7GTGBUD5l2Z4yg== X-YMail-OSG: Yzu0aBkVM1nUV8Ihiyp7hf0BMgBQALV7XHoHrKvbDZgGMfgIRem6J052SV4U4lK w8JDvvMzHGYuyMFlHXYPlsJLUy_JSEsSBCzXcAKyaBHW6uEzVJUn0EPV6yjsYijvNTFJ6PL5gYfe c3JGv0LeTLtE2lynT0FKcYoFHbzqcCJk0zp_97xSSchmxiwYoos7XS.6G92rhIQT09Ny4ByJJ.As hl0o_i3V_3kLD9RNVdzKLXqsXM5xehJjiS6n0j4iLN5QptaK6FjK43VHMONQMeL4sT.oSzfW72Ep PMnxZc6JmOayYHXnkb.aqmqHEaKKhvtkk7_6odoOvfnbwQZjbI09XqEz49.PlsE5El5IZjCkeD2z 6PiqrdPsXbWe.xLAUbtWIwzE.JwsECP1gcfr1aOnlC8miBb084Z1rvZfQZZ9vuCcho51TVHia2Fa Fljukx4XeQVPII70PQj92DEViZEyI.bYraXSTbHojcI1T91dqsBmD.z.U5RJ00oSc4h4xb1xiERj EKgJHXYql0rF7KCuIeSB2RjTecqDfU9PNuXHg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ps1aSRl7hTtvCS7ps.rWOlkNNE4Od.lRDlBBd5.ulbbZ j7JRHiNYVdeW_iXDHMbmeLSHKko.zQ4FDNhLOyWMtdPhqCZXUQAq0seIgjUX1swf4IzT1W.kt7n_ Ghw9BrDuW81qcrV50M7HPVEXU7OCOOjTU5_dRC8GI02RMIqhfc9iQSgC_BOGhcYJMEEOVLlZ26hU nvIUPPMGBZwUvq2bpboQkSAeGzV9DbmgV3OCpCGDR9mT4pVMWJo3BY8S_xEovPye.QMuc4QjDB2i DfCJgbZkrC.u6QEFnrcws1fbTwlEAQSfL8S3NamsszoEwiKdznO4FWqF3pmuLV9AU40IMFQhWbMY pdRCEAmCKmRmW9Z9yjLy6gtYhNIIh8EnqFUjgx4DtU5xiYP9028y4vUwcKVXbV9a1FYuBa5DOFjo 6d5YRsXnvVQTg86XnNS3Ur7mLVlvQH6bpUfP1hjV.qGN.JUpewjTC8OrRV6jtdHHvp.1WSEagLlH U1aDS.qILxwA1hYFyGxH._kprVWOS8e7SgIS6TUMfn4kKtEaOXzzTvx1Pksoy6TCpunl8.pkvGFm h7fYsCFrBhlI3KchlFGTcYunxWNMHz1HzzEWRfJfTwbaNGtugmiiVjxhKynXbrP9JnViuVwfxxPs kdGpfvDG6bDGGMDMH_.zIi9AjviWA2S5PduIG9swJgHbUAKHbBj6i9w4RUuIGQSHJuBIftMiVNIn zh3Q8.Ua4zTCtVPcr9vfQHg_oR.LvGTVGh6rmGUQ1wsg7Jij_TSo- X-Sonic-MF: X-Sonic-ID: 1946b27e-9c7e-4b90-8ec7-d73e9b598598 Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Fri, 12 Jun 2026 16:20:16 +0000 Received: by hermes--production-gq1-7bb7df5c46-ftcbs (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 4e3a5eeaf155e7e1656b553719a1354f; Fri, 12 Jun 2026 16:20:14 +0000 (UTC) Message-ID: Date: Fri, 12 Jun 2026 09:20:12 -0700 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Need testers for ALPHA RPi-5 fan control, GE NIC, WiFi drivers for FreeBSD-CURRENT From: Mark Millard To: Jeremy McMillan , "freebsd-arm@freebsd.org" References: <9YCJYFriU7X2_37aSWQTo5jJSmaf46t827hI4KjmCLaCFNGbgMj4MxRzc4-sUSig2RolfvNOWikCxYuWL3YJfqMgw-5d4FDjG8xtnRGJyMY=@pm.me> <2427b72e-4540-4c50-924f-670117ce3c2c@yahoo.com> Content-Language: en-US In-Reply-To: <2427b72e-4540-4c50-924f-670117ce3c2c@yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.25942 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MIME_TRACE(0.00)[0:+]; 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.68.205: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.68.205:from] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4gcPr322fRz3lyV On 6/2/26 09:13, Mark Millard wrote: > On 5/29/26 17:42, Jeremy McMillan wrote: >> >> >> If anyone has a Raspberry Pi 5 that's not dedicated to anything >> important, I'd appreciate some help testing this: >> >> https://github.com/aphor/FreeBSD15-RPi5-modules > aphor/FreeBSD15-RPi5-modules> >> >> The README.md is up to date, but other docs in there might be stale. > > A question: Are these changes done in a form that works with the RPi5 > firmware and its interfaces? That firmware runs on a different processor > and cannot be disabled as far as I know. If I understand right, for > example, the RPi5 firmware never gives up on providing some thermal > control --not that I know details if that is correct. As I understand > EDK2 does not disable the RPI5 firmware but still interacts with it. > > (My wording is likely poor for identifying which firmware is being > referenced. I'm trying to reference the same firmware that deals with > the early boot and reads things like the config.txt and loads the > appropriate *.dtb and, sometimes, *.dtbo files and so on.) > >> >> IDK if I should try to implement Bluetooth yet. I haven't tried using >> FreeBSD bluetooth with working known-good drivers on supported hardware, >> but when this is relatively complete I'm planning to do some bug fixing >> and performance improvements where necessary in a BETA phase, then a >> rewrite from scratch for maintainability that can be submitted to >> FreeBSD-CURRENT. I know the repo says FreeBSD15, but I'm currently >> building against FreeBSD-16-CURRENT. I've had feedback that the fan >> control works fine on FreeBSD-15. >> >> I also don't know what I should do about GPIO testing. I'd appreciate >> any pointers if other people work with RPi hardware and have any >> pointers for testing GPIO stuff. I think there's a few pins that can do >> DAC and ADC and others that can do PWM (like the ones used for the fan >> header) when programmed to different modes. I have an oscilloscope, but >> I'd like to automate testing as much as possible because my spare time >> is precious. >> >> It seems like RPi-5 will be around for a while under the current market >> conditions for the semiconductor business, and it is my hope that >> FreeBSD can deserve and get more attention and support from Broadcom and >> Raspberry Pi. Also, I have my own projects :) >> >> Thanks in advance for your attention! > > OIn the recent update (thanks) of: you seem to have confused the contents of bcm2712-rpi-5-b.dtb vs. the live fdt that is provided to the FreeBSD kernel (shown via being translated back to sorted *.dtb source code and doing a diff): pwm@9c000 { #pwm-cells = <0x3>; assigned-clock-rates = <0x2faf080>; assigned-clocks = <0x2 0x12>; clocks = <0x2 0x12>; compatible = "raspberrypi,rp1-pwm"; phandle = <0x61>; pinctrl-0 = <0x39>; pinctrl-names = "default"; reg = <0xc0 0x4009c000 0x0 0x100>; - status = "disabled"; + status = "okay"; }; For the D0 RPi5 EDK2 context, pwm@9c000 is enabled, not disabled. (Same for the older C1 RPi5 EDK2 context.) If one can boot the FreeBSD OS on an RPi* with the FDT enabled (even if unused, such as via EDK2 configured publishing both ACPI and FDT), the way to see what is enabled vs. not in the FDT --and all other details-- is the likes of: # sysctl -b hw.fdt.dtb | dtc -I dtb -s > ~/RPIMODEL-live.dts If you do that you will find that RPi5 pwm@9c000 has: status = "okay"; This makes a couple of areas in the notes misleading, as bcm2712-rpi-5-b.dtb is not directly used by FreeBSD or its loader or even by EDK2: only the RPi5's firmware reads the file --and then makes adjustments. The file is not directly relevant to the FreeBSD kernel. I will note that each stage can/is-allowewd-to update the FDT that the FreeBSD kernel gets by making an adjusted FDT and passing it to the next stage: ) RPi* firmware ) EDK2 ) FreeBSD efi loader (It may be most common to just add something independent.) The same sort of thing is true for using, say, U-Boot --instead of an EDK2. -- === Mark Millard marklmi at yahoo.com