From nobody Fri Jun 12 16:23:57 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 4gcPwS1Rfjz6j4yj for ; Fri, 12 Jun 2026 16:24:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.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 4gcPwQ32BCz3mtc for ; Fri, 12 Jun 2026 16:24:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=seYA47VC; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.148 as permitted sender) smtp.mailfrom=marklmi@yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1781281442; bh=p19XKOtY4ICDWoGTLW3pKCZo2ZDazqi6XgDLuDWiVGA=; h=Date:Subject:From:To:References:In-Reply-To:From:Subject:Reply-To; b=seYA47VCXWWQrK0evp+PLZsJz1CjuR8JG+4eN9+8z/e+l6ZeSslWdQLAq2XmfYdcOMi6lINIyxO9KARtpVjkYa4kSMVb7KIUiJN7/xY4yVlj0br+WVipoY9lTvuuDWejuQIxNilcSQEGqaseZiICd3XVMs6c3nxOhoyamz7PhaWduY3FdUZuRyCmFefF7JbPjaeKWnKItWcS2a41slNAxW2pVZnJWzeAUmyqSU4BFqN318+aXAvXrTL2x/mB+j2NTsH8tilLOKMyU9jX1lQI3kL2EVGiAhQpsIo1Wd9mCyvZ63+qkDJgvc42Ry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fvaoziPB7aHqLvkMJyilAMBtL8Xjm_8eX.dZ9MWU0PfAvjsrhQFlTelGS m8DMadxFh75npk6LgrnMXlmWKTXq8Tfjszukz6XEMTqDbCnEk0k9AJmLyT9KzT1VEeL1XAo4fbJb XYCJDHB3ddNMnKfx1XFQR7685qvXiPZVAWbcuLFZcK4wv.3yJD8T7F_T8Tg5RgDK5kP7TY_Gxt85 b49gQ3s9pdu.n62XMQBOiancvwndKzsrc9Mgf4LOrJPnHUocAR_94daa.duTgGgXYl21W.Z3GbPV cfL5ZtKoao97bsy_dLLa2RTkLOGv67ylP2I6cfWIARh_ktnmSxrKCEAMAyeMSfnJYptSRy07hqMi HTsihDBMYoqv5rkvBdkbbdo5eDXq5EBQ1aCxqK8s6ia5V_3g6NXDE7E4blFJz0MvC9lX5rZqRG3k Ag0y69oKfX5clHOkZXBY.G2RC6Y8xsVFXqSCFELxuhPYYwfOo8RU9NlF25jc0LmQW1IKcUv41V8b 8_hbBKoTgqD0Jr65gExWNEY6bYAsaAGcIZixBQQyoc7bARkfUPOsEouy1PD0w8GJS0Y4FWyuXsU3 2W5Goxf1sIAkPB51oL_CGHI318.mRD9OSq0pSNxo4M0F6g7jW2THiDPS2fxlSkJ9EOP_Sc2H.aGL PgvWwxR1__WYLClZIbFqOtqHfgEbVfHUwwyKLJgcCKyNt7.ADVvJpuwFupbU6VW0pr5PTo4pWFM0 vFwM2V3VQ07e8TO4.E5bVayS25Nek6WWbPCsB1XxRt4.3K0HyzBI4BYg- X-Sonic-MF: X-Sonic-ID: 67cb6669-7599-4493-972b-d54df7bbb095 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Fri, 12 Jun 2026 16:24:02 +0000 Received: by hermes--production-gq1-7bb7df5c46-m46kc (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID eeb09925f3944cce54f46c6dd4046e3e; Fri, 12 Jun 2026 16:23:58 +0000 (UTC) Message-ID: <1135a89b-16b2-489e-b114-45795a451161@yahoo.com> Date: Fri, 12 Jun 2026 09:23:57 -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: 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]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; 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.64.148: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.64.148:from] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4gcPwQ32BCz3mtc On 6/12/26 09:20, Mark Millard wrote: > 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. > > By the way, cooling_fan has the same status difference between the file and the live FDT: cooling_fan { #cooling-cells = <0x2>; compatible = "pwm-fan"; cooling-levels = <0x0 0x4b 0x7d 0xaf 0xfa>; cooling-max-state = <0x3>; cooling-min-state = <0x0>; phandle = <0x54>; pwms = <0x61 0x3 0xa25e 0x1>; rpm-offset = <0x3c>; rpm-regmap = <0x61>; - status = "disabled"; + status = "okay"; }; was also in the diff. -- === Mark Millard marklmi at yahoo.com