From: Jan Stary Subject: Re: UPDATE: sysutils/raspberrypi-firmware To: Marcus Glocker Cc: ports@openbsd.org, Mark Kettenis Date: Thu, 14 Aug 2025 17:46:31 +0200 > > This diff updates the sysutils/raspberrypi-firmware port to the latest > > Raspberry Pi firmware package, which is version 1.20250430 > > Testing on the other supported Raspberry Pi models would be very > > welcome. Thanks, testing on Raspberry Pi 4 Model B Rev 1.4 (dmesg below), with the new u-boot too. Having built the package, is it enough ti just copy the files in /usr/local/share/raspberrypi-firmware/boot/ over the ones on the sd0i msdos partition? I copied over those that already exists there. Everything seems to work fine. Are there some particular bits I should look for in the boot sequence? Jan U-Boot 2025.07 (Aug 14 2025 - 17:31:58 +0200) DRAM: 948 MiB (total 7.9 GiB) RPI 4 Model B (0xd03114) Core: 213 devices, 16 uclasses, devicetree: board MMC: mmcnr@7e300000: 1, mmc@7e340000: 0 Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... In: serial,usbkbd Out: serial,vidconsole Err: serial,vidconsole Net: eth0: ethernet@7d580000 ?25h PCIe BRCM: link up, 5.0 Gbps x1 (SSC) starting USB... Register 5000420 NbrPorts 5 Starting the controller USB XHCI 1.00 Bus xhci_pci: 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found r999;999H6nCardsdid notorespond0to voltage select! : -110 Cannot persist EFI variables without system partition ** Booting bootflow '' with efi_mgr Booting: Label: mmc 0 Device path: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000005000000)/SD(0)/SD(1) disks: sd0* >> OpenBSD/arm64 BOOTAA64 1.21 switching console to com0 >> OpenBSD/arm64 BOOTAA64 1.21 boot> booting sd0a:/bsd: 12265724+2878032+318756+862828-[1031402+91+1358568+857013]=0x1439680 [ using 3247856 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2025 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 7.7-current (GENERIC.MP) #0: Thu Aug 14 16:45:59 CEST 2025 hans@rpi.stare.cz:/usr/src/sys/arch/arm64/compile/GENERIC.MP real mem = 8441499648 (8050MB) avail mem = 8139644928 (7762MB) random: good seed from bootblocks mainbus0 at root: Raspberry Pi 4 Model B Rev 1.4 efi0 at mainbus0: UEFI 2.11 efi0: Das U-Boot rev 0x20250700 smbios0 at efi0: SMBIOS 3.7.0 smbios0: vendor U-Boot version "2025.07" date 07/01/2025 smbios0: raspberrypi Raspberry Pi 4 Model B Rev 1.4 cpu0 at mainbus0 mpidr 0: ARM Cortex-A72 r0p3 cpu0: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache cpu0: 1024KB 64b/line 16-way L2 cache cpu0: CRC32,ASID16 cpu1 at mainbus0 mpidr 1: ARM Cortex-A72 r0p3 cpu1: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache cpu1: 1024KB 64b/line 16-way L2 cache cpu2 at mainbus0 mpidr 2: ARM Cortex-A72 r0p3 cpu2: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache cpu2: 1024KB 64b/line 16-way L2 cache cpu3 at mainbus0 mpidr 3: ARM Cortex-A72 r0p3 cpu3: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache cpu3: 1024KB 64b/line 16-way L2 cache "linux,cma" at mainbus0 not configured "nvram" at mainbus0 not configured apm0 at mainbus0 "system" at mainbus0 not configured "axi" at mainbus0 not configured simplebus0 at mainbus0: "soc" bcmclock0 at simplebus0 bcmmbox0 at simplebus0 bcmgpio0 at simplebus0 bcmaux0 at simplebus0 ampintc0 at simplebus0 nirq 256, ncpu 4 ipi 0: "interrupt-controller" bcmtmon0 at simplebus0 bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 DMA8 DMA9 DMA10 pluart0 at simplebus0: rev 3, 32 byte fifo pluart0: console "interrupt-controller" at simplebus0 not configured bcmdog0 at simplebus0 bcmirng0 at simplebus0 "firmware" at simplebus0 not configured "power" at simplebus0 not configured "mailbox" at simplebus0 not configured sdhc0 at simplebus0 sdhc0: SDHC 3.00, 250 MHz base clock sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed "gpiomem" at simplebus0 not configured "fb" at simplebus0 not configured simplebus1 at simplebus0: "nvmem" "nvmem_otp" at simplebus1 not configured "nvmem_cust" at simplebus1 not configured "nvmem_priv" at simplebus1 not configured simplebus2 at mainbus0: "clocks" "clk-osc" at simplebus2 not configured "clk-usb" at simplebus2 not configured "phy" at mainbus0 not configured "clk-27M" at mainbus0 not configured "clk-108M" at mainbus0 not configured simplebus3 at mainbus0: "emmc2bus" sdhc1 at simplebus3 sdhc1: SDHC 3.00, 100 MHz base clock sdmmc1 at sdhc1: 8-bit, sd high-speed, mmc high-speed, ddr52, dma "pmu" at mainbus0 not configured agtimer0 at mainbus0: 54000 kHz simplebus4 at mainbus0: "scb" bcmpcie0 at simplebus4: "pcie" pci0 at bcmpcie0 ppb0 at pci0 dev 0 function 0 "Broadcom BCM2711" rev 0x10 pci1 at ppb0 bus 1 xhci0 at pci1 dev 0 function 0 "VIA VL805 xHCI" rev 0x01: intx, xHCI 1.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "VIA xHCI root hub" rev 3.00/1.00 addr 1 bse0 at simplebus4: address dc:a6:32:e0:50:d3 brgphy0 at bse0 phy 1: BCM54210E, rev. 2 "codec" at simplebus4 not configured "dma" at simplebus4 not configured gpioleds0 at mainbus0: "ACT", "PWR" "cam_dummy_reg" at mainbus0 not configured "regulator-cam1" at mainbus0 not configured "regulator-sd-io-1v8" at mainbus0 not configured "regulator-sd-vcc" at mainbus0 not configured "fixedregulator_3v3" at mainbus0 not configured "fixedregulator_5v0" at mainbus0 not configured "zone_dma" at mainbus0 not configured simplebus5 at mainbus0: "v3dbus" scsibus0 at sdmmc1: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: removable sd0: 30436MB, 512 bytes/sector, 62333952 sectors uhub1 at uhub0 port 1 configuration 1 interface 0 "VIA Labs USB2.0 Hub" rev 2.10/4.21 addr 2 bwfm0 at sdmmc0 function 1 manufacturer 0x02d0, product 0xa9a6 at sdmmc0 function 2 not configured manufacturer 0x02d0, product 0xa9a6 at sdmmc0 function 3 not configured vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets root on sd0a (d1a7e0233ab9545d.a) swap on sd0b dump on sd0b WARNING: CHECK AND RESET THE DATE! gpio0 at bcmgpio0: 58 pins "bootloader" at mainbus0 not configured bwfm0: address dc:a6:32:e0:50:d4