diff --git a/bcm283x-firmware.spec b/bcm283x-firmware.spec index 5ed16c0..22ebfd8 100644 --- a/bcm283x-firmware.spec +++ b/bcm283x-firmware.spec @@ -8,7 +8,7 @@ Name: bcm283x-firmware Version: 20231017 -Release: 1.%{gitshort}%{?dist} +Release: 2.%{gitshort}%{?dist} Summary: Firmware for the Broadcom bcm283x/bcm2711 used in the Raspberry Pi # see LICENSE.broadcom # DT Overlays covered under Linux Kernel GPLv2 @@ -95,6 +95,9 @@ install -p overlays/*.dtbo %{buildroot}%{efi_esp_root}/overlays %{efi_esp_root}/start4* %changelog +* Sat Nov 25 2023 Peter Robinson - 20231017-2.ce3a0b4 +- Updates to config.txt + * Mon Sep 25 2023 Peter Robinson - 20231017-1.ce3a0b4 - Update to latest firmware - Updates for config.txt and minor fixes diff --git a/config.txt b/config.txt index c4b6be1..211e9f8 100644 --- a/config.txt +++ b/config.txt @@ -1,28 +1,37 @@ # Options you can adjust for all Raspberry Pi Revisions # https://www.raspberrypi.com/documentation/computers/config_txt.html +# Some settings may impact device functionality. See link above for details # To use this on Fedora you need to use firmware provided device tree, not kernel # For this functionality follow the following guide: # https://fedoraproject.org/w/index.php?title=Architectures/ARM/Raspberry_Pi/HATs +# Details on overlays and additional parameters are documented in +# /boot/efi/overlays/README + # Raspberry Pi 4 [pi4] dtoverlay=upstream-pi4 -# For RPi400 and newer rev RPi4s -arm_boost=1 - -# Enable open source display drivers -dtoverlay=vc4-kms-v3d-pi4 +# Allow 256Mb of CMA by default on RPi4+ dtoverlay=cma,cma-256 -max_framebuffers=2 -# 4K display support - RPi4 only, only one port possible +# 4K display support - RPi4+ only, only one port possible # hdmi_enable_4kp60=1 # Raspberry Pi CM4 [cm4] +# Enable host mode on the 2711 built-in XHCI USB controller. +# This line should be removed if the legacy DWC2 controller is required +# (e.g. for USB device mode) or if USB support is not required. otg_mode=1 +# Raspberry Pi 5 +[pi5] +# Allow 256Mb of CMA by default on RPi4+ +dtoverlay=cma,cma-256 +# 4K display support - RPi4+ only, only one port possible +# hdmi_enable_4kp60=1 + # Default Fedora configs for all Raspberry Pi Revisions [all] # Put the RPi into 64 bit mode @@ -30,6 +39,9 @@ arm_64bit=1 kernel=rpi-u-boot.bin dtoverlay=upstream +# Run as fast as the firmware allows +arm_boost=1 + # Enable UART # Only enable UART if you're going to use it as it has speed implications # Serial console is ttyS0 on RPi3 and ttyAMA0 on all other variants @@ -42,24 +54,43 @@ enable_uart=1 # Early boot delay in the hope monitors are initialised enough to provide EDID bootcode_delay=1 +# Enable audio (loads snd_bcm2835) +dtparam=audio=on + +# Use eXtended firmware by default +start_x=1 + # We need this to be 32Mb to support VCHI services and drivers which use them # but this isn't used by mainline VC4 driver so reduce to lowest supported value # You need to set this to at least 80 for using the camera gpu_mem=32 -# Use eXtended firmware by default -start_x=1 +# Enable open source VC4 V3D display drivers +dtoverlay=vc4-kms-v3d +max_framebuffers=2 -# Automatically load overlays for detected cameras -camera_auto_detect=1 +# Stop the RPi turning on HDMI monitors on reboot +hdmi_ignore_cec_init=1 # Automatically load overlays for detected DSI displays display_auto_detect=1 -# Stop the RPi turning on HDMI monitors on reboot -hdmi_ignore_cec_init=1 +# Disable compensation for displays with overscan +disable_overscan=1 + +# Don't have the firmware create an initial video= setting in cmdline.txt. +# Use the kernel's default instead. +disable_fw_kms_setup=1 + +# Automatically load overlays for detected cameras +camera_auto_detect=1 # HAT and DT overlays. Documentation at Raspberry Pi here: # https://www.raspberrypi.org/documentation/configuration/device-tree.md # Each dtoverlay line is an individual HAT/overlay, multiple lines allowed # dtoverlay=rpi-sense + +#dtparam=i2c_arm=on +#dtparam=i2s=on +#dtparam=spi=on +