Page MenuHomeFreeBSD

sysutils/rpi-firmware: Update to 1.20220405
ClosedPublic

Authored by minsoochoo0122_proton.me on Jul 26 2023, 1:03 AM.
Referenced Files
Unknown Object (File)
Thu, Jun 27, 10:17 PM
Unknown Object (File)
Sat, Jun 22, 12:47 PM
Unknown Object (File)
Sat, Jun 8, 9:01 AM
Unknown Object (File)
May 10 2024, 5:24 AM
Unknown Object (File)
Feb 20 2024, 9:44 AM
Unknown Object (File)
Jan 18 2024, 1:20 PM
Unknown Object (File)
Jan 10 2024, 2:11 AM
Unknown Object (File)
Jan 5 2024, 10:30 PM

Details

Summary

14-CURRENT doesn't boot on RPI4 with 8GB memory because of outdated rpi-firmware and u-boot-rpi4.

This requires updated u-boot(https://reviews.freebsd.org/D41193).

Test Plan

Tested on Raspberry Pi 4 B+.

  1. Download latest 14-CURRENT arm64 RPI snapshot and make a bootable microsd card.
  2. Make rpi-firmware and install
cd /usr/ports/sysutils/rpi-firmware
make install
cp -pr /usr/local/share/rpi-firmware/* /boot/efi/
  1. Make latest u-boot-rpi4 and install
cd /usr/ports/sysutils/u-boot-rpi4
make install
cp /usr/local/share/u-boot/u-boot-rpi4/u-boot.bin /boot/
  1. Reboot. This boot will automatically adjust disk size during boot. It might take several minutes or hours depending on your hardware.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

On what RPI model have this been tested ? Because updating rpi-firmware sometimes break some models.

In D41192#938225, @manu wrote:

On what RPI model have this been tested ? Because updating rpi-firmware sometimes break some models.

I'm testing on RPI 4 B with 8GB (BCM2711). Additionally, when my usb keyboard (Corsair K65 RGB) is connected my raspberry pi during boot, the boot process becomes really slow especially when loading kernel. I don't know if this problem only occurs only on the 8GB rpi4 though.

Additionally, when my usb keyboard (Corsair K65 RGB) is connected my raspberry pi during boot, the boot process becomes really slow especially when loading kernel. I don't know if this problem only occurs only on the 8GB rpi4 though.

I figured out that this is a different problem for u-boot when a keyboard has a polling rate like 8000hz. It boots without problem when I switched my keyboard setting to BIOS mode.

This revision was not accepted when it landed; it landed in state Needs Review.Aug 9 2023, 10:40 AM
This revision was automatically updated to reflect the committed changes.