Page MenuHomeFreeBSD

arm64Project
ActivePublic

Details

Description

FreeBSD/arm64

Recent Activity

Yesterday

manu added a comment to D61863: sysutils/rpi-firmware: Set 32-bit framebuffer depth on Raspberry Pi 5.

I couldn't find why the firmware defaults to 16bpp.
(U-Boot also notes that the Pi 5 firmware provides a 16bpp framebuffer.
https://github.com/u-boot/u-boot/commit/cce167e)

I rechecked: it still panics without framebuffer_depth=32 in config.txt.

Tue, Nov 24, 6:56 AM · arm64, Contributor Reviewers (ports)
jaewon8868_gmail.com added a comment to D61863: sysutils/rpi-firmware: Set 32-bit framebuffer depth on Raspberry Pi 5.

I couldn't find why the firmware defaults to 16bpp.
(U-Boot also notes that the Pi 5 firmware provides a 16bpp framebuffer.
https://github.com/u-boot/u-boot/commit/cce167e)

Tue, Nov 24, 1:17 AM · arm64, Contributor Reviewers (ports)

Sun, Nov 22

manu accepted D61863: sysutils/rpi-firmware: Set 32-bit framebuffer depth on Raspberry Pi 5.

I'm not against changing default depth (32bpp seems better to have by default) but it raises two questions :

  • Why does the firmware sets the default to 16bpp ?
  • We still panic with the default firmware configuration ?
Sun, Nov 22, 11:48 AM · arm64, Contributor Reviewers (ports)

Sat, Nov 21

jaewon8868_gmail.com abandoned D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712.
Sat, Nov 21, 9:31 AM · Contributor Reviews (src), arm64
jaewon8868_gmail.com added a comment to D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712.

Setting framebuffer_depth=32 in config.txt fixes this on the D0 board without changing bcm2835_fbd. It now attaches at 1920x1080, 32bpp with stride 7680 and size 8294400. UART login and HDMI text/colors work.

Sat, Nov 21, 9:13 AM · Contributor Reviews (src), arm64
jaewon8868_gmail.com requested review of D61863: sysutils/rpi-firmware: Set 32-bit framebuffer depth on Raspberry Pi 5.
Sat, Nov 21, 9:11 AM · arm64, Contributor Reviewers (ports)

Fri, Nov 20

manu requested changes to D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712.

That's just hidding the real problem IMHO

Fri, Nov 20, 1:50 PM · Contributor Reviews (src), arm64
jaewon8868_gmail.com updated the diff for D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712.
Fri, Nov 20, 1:34 PM · Contributor Reviews (src), arm64
jaewon8868_gmail.com added a comment to D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712.

Thanks. The failing log kept 32bpp. A follow-up check showed both GET_DEPTH and SET_DEPTH reporting 32 for a 16bpp buffer. This matches the depth-reporting problem described in https://github.com/raspberrypi/firmware/issues/1904.

Fri, Nov 20, 1:14 PM · Contributor Reviews (src), arm64
jaewon8868_gmail.com retitled D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712 from bcm2835_fbd: Reject inconsistent framebuffer geometry
Fri, Nov 20, 1:13 PM · Contributor Reviews (src), arm64

Thu, Nov 19

manu closed D61541: sdhci_fdt: Add BCM2712 SD card support.

Commited as 48fa466426d90bfd02191448d7b81e0da1acee8a

Thu, Nov 19, 1:54 PM · Contributor Reviews (src), arm64
manu requested changes to D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712.

That's likely not the root of the problem, firmware likely created space for a 16bpp framebuffer but the driver is changing it to 24bpp (See https://cgit.freebsd.org/src/tree/sys/arm/broadcom/bcm2835/bcm2835_fbd.c#n88), that's why it crashes.

Thu, Nov 19, 1:52 PM · Contributor Reviews (src), arm64
manu closed D61542: bcm2835_vcbus: Recognize BCM2712.
Thu, Nov 19, 1:49 PM · Contributor Reviews (src), arm64
manu accepted D61541: sdhci_fdt: Add BCM2712 SD card support.
Thu, Nov 19, 1:39 PM · Contributor Reviews (src), arm64
manu accepted D61542: bcm2835_vcbus: Recognize BCM2712.
Thu, Nov 19, 1:38 PM · Contributor Reviews (src), arm64
jaewon8868_gmail.com added a project to D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712: Contributor Reviews (src).
Thu, Nov 19, 12:15 PM · Contributor Reviews (src), arm64
jaewon8868_gmail.com added a project to D61542: bcm2835_vcbus: Recognize BCM2712: Contributor Reviews (src).
Thu, Nov 19, 12:14 PM · Contributor Reviews (src), arm64
jaewon8868_gmail.com added a project to D61541: sdhci_fdt: Add BCM2712 SD card support: Contributor Reviews (src).
Thu, Nov 19, 12:14 PM · Contributor Reviews (src), arm64

Wed, Nov 18

manu closed D61534: sysutils/rpi-firmware: Use firmware DTB placement on Raspberry Pi 5.

Commited as https://cgit.freebsd.org/ports/commit/?id=b06f05c6953f35150ab8eaacac273510ea485a2a

Wed, Nov 18, 7:34 AM · arm64
manu accepted D61534: sysutils/rpi-firmware: Use firmware DTB placement on Raspberry Pi 5.
Wed, Nov 18, 7:23 AM · arm64

Mon, Nov 16

lexxoconnor_gmail.com requested review of D61612: certctl: Build with OpenSSL 4.
Mon, Nov 16, 12:38 PM · Contributor Reviews (src), arm64

Sun, Nov 15

jaewon8868_gmail.com added a comment to D61534: sysutils/rpi-firmware: Use firmware DTB placement on Raspberry Pi 5.

This just changes where the firmware puts the DTB. rpi_arm64 already uses the firmware-loaded DTB, which U-Boot passes through EFI to the FreeBSD loader.
On the tested Pi 5 D0 board with U-Boot 2026.10, keeping 0x4000 stops boot after the BL31 banner, before the U-Boot banner. Letting firmware choose the address boots successfully.
The exact BL31 layout in the EEPROM hasn't been verified, but a local build of Raspberry Pi's bcm2712 TF-A branch places executable code at 0x4000. This looks like a DTB/BL31 overlap, so the patch lets firmware choose the address rather than hardcoding another one.
Thanks for taking a look.

Sun, Nov 15, 3:56 PM · arm64
manu requested changes to D60882: [PATCH 7/7] aw_gpio: report pinctrl configuration failures.
Sun, Nov 15, 12:00 PM · arm64
manu requested changes to D57732: arm64: mediatek: add initial MT7622/Banana Pi R64 support.

There is a lot of changes in this review and already a lot of comments, I suggest splitting this into :

Sun, Nov 15, 11:34 AM · arm64
manu requested changes to D61534: sysutils/rpi-firmware: Use firmware DTB placement on Raspberry Pi 5.

So, I haven't followed RPI5 stuff for some time but what's the current behavior without this ? I'm pretty sure that people are using them.
Does that mean that we are currently using DTB loaded by u-boot and you want to switch to the DTB loaded by the firmware ? (like other PI iirc).
I'm not against the change but I'd like to understand more.
Thanks.

Sun, Nov 15, 11:32 AM · arm64
manu accepted D61535: release: Include Raspberry Pi 5 DTB and D0 overlay.
Sun, Nov 15, 11:29 AM · arm64

Sat, Nov 14

jaewon8868_gmail.com requested review of D61543: bcm2835_fbd: Skip legacy framebuffer setup on BCM2712.
Sat, Nov 14, 12:04 PM · Contributor Reviews (src), arm64
jaewon8868_gmail.com requested review of D61542: bcm2835_vcbus: Recognize BCM2712.
Sat, Nov 14, 12:01 PM · Contributor Reviews (src), arm64
jaewon8868_gmail.com requested review of D61541: sdhci_fdt: Add BCM2712 SD card support.
Sat, Nov 14, 11:47 AM · Contributor Reviews (src), arm64
jaewon8868_gmail.com requested review of D61535: release: Include Raspberry Pi 5 DTB and D0 overlay.
Sat, Nov 14, 8:49 AM · arm64
jaewon8868_gmail.com requested review of D61534: sysutils/rpi-firmware: Use firmware DTB placement on Raspberry Pi 5.
Sat, Nov 14, 8:41 AM · arm64

Fri, Oct 30

vice-shore-grid_duck.com retitled D60803: [PATCH 5/7] aw_usbphy: look the VBUS regulators up when the PHY is enabled from [PATCH 5/5] aw_usbphy: look the VBUS regulators up when the PHY is enabled
Fri, Oct 30, 8:14 AM · arm64

Oct 20 2026

mmel added a comment to D60882: [PATCH 7/7] aw_gpio: report pinctrl configuration failures.

otherwise OK

Oct 20 2026, 8:49 AM · arm64
mmel added inline comments to D60881: [PATCH 6/7] aw_pwm: implement pwmbus_channel_set_flags/get_flags.
Oct 20 2026, 8:46 AM · arm64
vice-shore-grid_duck.com retitled D60818: [PATCH 3/7] Allwinner A64 Display Engine 2.0 display pipeline from [PATCH 3/5] Allwinner A64 Display Engine 2.0 display pipeline
Oct 20 2026, 8:05 AM · arm64
vice-shore-grid_duck.com added inline comments to D60786: [PATCH 2/7] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights.
Oct 20 2026, 8:04 AM · arm64
vice-shore-grid_duck.com retitled D60802: [PATCH 4/7] aw_mmc: recover a clock update stuck behind an unsolicited data transfer from [PATCH 4/5] aw_mmc: recover a clock update stuck behind an unsolicited data transfer
Oct 20 2026, 6:23 AM · arm64
vice-shore-grid_duck.com retitled D60785: [PATCH 1/7] clk/allwinner: fixes and the A64 display clocks from [PATCH 1/5] clk/allwinner: fixes and the A64 display clocks
Oct 20 2026, 6:23 AM · arm64
vice-shore-grid_duck.com updated the diff for D60786: [PATCH 2/7] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights.

spit the diff as requested by maintainer

Oct 20 2026, 6:21 AM · arm64
vice-shore-grid_duck.com updated the diff for D60882: [PATCH 7/7] aw_gpio: report pinctrl configuration failures.

I had mistakenly uploaded the wrong diff file

Oct 20 2026, 6:16 AM · arm64
vice-shore-grid_duck.com retitled D60882: [PATCH 7/7] aw_gpio: report pinctrl configuration failures from [PATCH 7/7] pwm_backlight: enable-gpios, PWM polarity, zero duty cycle, level bookkeeping
Oct 20 2026, 6:15 AM · arm64
vice-shore-grid_duck.com requested review of D60882: [PATCH 7/7] aw_gpio: report pinctrl configuration failures.
Oct 20 2026, 6:12 AM · arm64
vice-shore-grid_duck.com retitled D60786: [PATCH 2/7] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights from [PATCH 2/5] pwm: polarity, enable-gpios and level bookkeeping for Allwinner backlights
Oct 20 2026, 5:59 AM · arm64
vice-shore-grid_duck.com requested review of D60881: [PATCH 6/7] aw_pwm: implement pwmbus_channel_set_flags/get_flags.
Oct 20 2026, 5:57 AM · arm64

Oct 19 2026

mmel added a comment to D57732: arm64: mediatek: add initial MT7622/Banana Pi R64 support.

Please take this as an incomplete 'first look' review.

Oct 19 2026, 7:54 PM · arm64

Oct 18 2026

vice-shore-grid_duck.com added inline comments to D60785: [PATCH 1/7] clk/allwinner: fixes and the A64 display clocks.
Oct 18 2026, 9:01 PM · arm64
vice-shore-grid_duck.com updated the diff for D60785: [PATCH 1/7] clk/allwinner: fixes and the A64 display clocks.

Fix context size + dsi_dphy_parents definition.

Oct 18 2026, 7:37 PM · arm64
freebsd_sysctl.cz updated the diff for D57732: arm64: mediatek: add initial MT7622/Banana Pi R64 support.
  • New common clock base (mt_clk.c/h, replaces mdtk_clk):** shared probe/attach, a base driver class, hwreset and optional syscon. All mt7622 clock drivers (topckgen, infracfg, pericfg, audio, eth, sgmii, ssusbsys, pciesys) were converted, which removes about 500 lines of duplicated code
  • Child nodes:** clock providers with child nodes attach them through simplebus_attach_impl(). A failure there no longer fails the attach, because the clocks are already registered and cannot be unregistered.
  • PLL driver (mt_clk_pll.c/h):** apmixedsys PLLs are no longer fixed-rate clocks. The driver reads the firmware-programmed PCW/postdiv and uses the Linux enable/disable sequence. armpll now reports the real 1350 MHz instead of 120 MHz, and main_core_en is enabled as a parent of infra_mux1_sel.
  • PLL frequency changes:** mt_clk_pll_set_freq() follows Linux mtk_pll_set_rate_regs() (PCW + postdiv, PCW_CHG latch, read-back check). Only PLLs flagged MT_PLL_SET_FREQ are changed (armpll, aud1pll, aud2pll), so a request passed up through gates and muxes cannot reprogram a system-wide PLL..
  • UART (mt_uart.c):** MediaTek high-speed baud modes (HIGHS / SAMPLE_COUNT / SAMPLE_POINT), the console baud rate is read back from the hardware, #ifdef FDT guards and style cleanup
Oct 18 2026, 5:08 PM · arm64
adrian added inline comments to D57732: arm64: mediatek: add initial MT7622/Banana Pi R64 support.
Oct 18 2026, 4:50 PM · arm64
freebsd_sysctl.cz updated the diff for D57732: arm64: mediatek: add initial MT7622/Banana Pi R64 support.
  • New common clock base (mt_clk.c/h, replaces mdtk_clk):** shared probe/attach, a base driver class, hwreset and optional syscon. All mt7622 clock drivers (topckgen, infracfg, pericfg, audio, eth, sgmii, ssusbsys, pciesys) were converted, which removes about 500 lines of duplicated code
  • Child nodes:** clock providers with child nodes attach them through simplebus_attach_impl(). A failure there no longer fails the attach, because the clocks are already registered and cannot be unregistered.
  • PLL driver (mt_clk_pll.c/h):** apmixedsys PLLs are no longer fixed-rate clocks. The driver reads the firmware-programmed PCW/postdiv and uses the Linux enable/disable sequence. armpll now reports the real 1350 MHz instead of 120 MHz, and main_core_en is enabled as a parent of infra_mux1_sel.
  • PLL frequency changes:** mt_clk_pll_set_freq() follows Linux mtk_pll_set_rate_regs() (PCW + postdiv, PCW_CHG latch, read-back check). Only PLLs flagged MT_PLL_SET_FREQ are changed (armpll, aud1pll, aud2pll), so a request passed up through gates and muxes cannot reprogram a system-wide PLL..
  • UART (mt_uart.c):** MediaTek high-speed baud modes (HIGHS / SAMPLE_COUNT / SAMPLE_POINT), the console baud rate is read back from the hardware, #ifdef FDT guards and style cleanup
Oct 18 2026, 12:12 PM · arm64