From c6d9fc5dc7be640f2f7d9f3b846b2c96ebecbbf1 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Oct 20 2023 16:28:47 +0000 Subject: Update to ce3a0b4 --- diff --git a/bcm283x-firmware.spec b/bcm283x-firmware.spec index fc5d66d..5ed16c0 100644 --- a/bcm283x-firmware.spec +++ b/bcm283x-firmware.spec @@ -4,10 +4,10 @@ # git clone https://github.com/raspberrypi/firmware.git # cd firmware/boot # tar cJvf ../bcm283x-firmware-%{gitshort}.tar.xz *bin *dat *elf bcm2709*dtb bcm271*dtb LICENCE.broadcom COPYING.linux overlays/ -%define gitshort 6b37a45 +%define gitshort ce3a0b4 Name: bcm283x-firmware -Version: 20230921 +Version: 20231017 Release: 1.%{gitshort}%{?dist} Summary: Firmware for the Broadcom bcm283x/bcm2711 used in the Raspberry Pi # see LICENSE.broadcom @@ -25,7 +25,7 @@ Requires: bcm2835-firmware Requires: bcm2711-firmware Source0: %{name}-%{gitshort}.tar.xz -Source1: config-64.txt +Source1: config.txt %description Firmware for the Broadcom bcm283x and bcm2711 series of systems on a chip as @@ -61,14 +61,13 @@ Firmware for the Raspberry Pi 4 and CM4 %install mkdir -p %{buildroot}%{efi_esp_root}/overlays -%ifarch aarch64 install -p %{SOURCE1} %{buildroot}%{efi_esp_root}/config.txt -%endif install -p *bin %{buildroot}%{efi_esp_root} install -p *dat %{buildroot}%{efi_esp_root} install -p *elf %{buildroot}%{efi_esp_root} install -p bcm2710*dtb %{buildroot}%{efi_esp_root} install -p bcm2711*dtb %{buildroot}%{efi_esp_root} +install -p bcm2712*dtb %{buildroot}%{efi_esp_root} install -p overlays/README %{buildroot}%{efi_esp_root}/overlays install -p overlays/*.dtbo %{buildroot}%{efi_esp_root}/overlays @@ -91,10 +90,15 @@ install -p overlays/*.dtbo %{buildroot}%{efi_esp_root}/overlays %files -n bcm2711-firmware %{efi_esp_root}/bcm2711-rpi-* +%{efi_esp_root}/bcm2712-rpi-* %{efi_esp_root}/fixup4* %{efi_esp_root}/start4* %changelog +* Mon Sep 25 2023 Peter Robinson - 20231017-1.ce3a0b4 +- Update to latest firmware +- Updates for config.txt and minor fixes + * Mon Sep 25 2023 Peter Robinson - 20230921-1.6b37a45 - Update to latest firmware diff --git a/config-64.txt b/config-64.txt deleted file mode 100644 index 3a562e7..0000000 --- a/config-64.txt +++ /dev/null @@ -1,65 +0,0 @@ -# Options you can adjust for all Raspberry Pi Revisions -# https://www.raspberrypi.com/documentation/computers/config_txt.html - -# Raspberry Pi 4 -[pi4] -dtoverlay=upstream-pi4 - -# For RPi400 and newer rev RPi4s -arm_boost=1 - -# Enable DRM VC4 V3D driver -dtoverlay=vc4-kms-v3d-pi4 -dtoverlay=cma,cma-256 -max_framebuffers=2 -# 4K display support - RPi4 only, only one port possible -# hdmi_enable_4kp60=1 - -# Raspberry Pi CM4 -[cm4] -otg_mode=1 - -# Default Fedora configs for all Raspberry Pi Revisions -[all] -# Put the RPi into 64 bit mode -arm_64bit=1 -kernel=rpi-u-boot.bin -dtoverlay=upstream - -# 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 -# u-boot will auto detect serial and pass corrent options to kernel if enabled -# Speed details: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141195 - -# Terrible hack to work around U-Boot issues on most devices -enable_uart=1 - -# Early boot delay in the hope monitors are initialised enough to provide EDID -bootcode_delay=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 - -# Automatically load overlays for detected cameras -camera_auto_detect=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 - -# 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 - -# 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 diff --git a/config.txt b/config.txt new file mode 100644 index 0000000..c4b6be1 --- /dev/null +++ b/config.txt @@ -0,0 +1,65 @@ +# Options you can adjust for all Raspberry Pi Revisions +# https://www.raspberrypi.com/documentation/computers/config_txt.html + +# 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 + +# 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 +dtoverlay=cma,cma-256 +max_framebuffers=2 +# 4K display support - RPi4 only, only one port possible +# hdmi_enable_4kp60=1 + +# Raspberry Pi CM4 +[cm4] +otg_mode=1 + +# Default Fedora configs for all Raspberry Pi Revisions +[all] +# Put the RPi into 64 bit mode +arm_64bit=1 +kernel=rpi-u-boot.bin +dtoverlay=upstream + +# 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 +# u-boot will auto detect serial and pass corrent options to kernel if enabled +# Speed details: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141195 + +# Terrible hack to work around U-Boot issues on most devices +enable_uart=1 + +# Early boot delay in the hope monitors are initialised enough to provide EDID +bootcode_delay=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 + +# Automatically load overlays for detected cameras +camera_auto_detect=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 + +# 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 diff --git a/sources b/sources index ff97794..6ab7745 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bcm283x-firmware-6b37a45.tar.xz) = 2b7ab8c65eba224ca03e57cd018507b74c1284fa3e14ccc0dbf9397d9ba092aedf6e80922995589dc86339ee77a59b58988e33f3722cc44b43606f29e782d686 +SHA512 (bcm283x-firmware-ce3a0b4.tar.xz) = b51bf1f2e45aa1c54ff7672aae496d84ad0c4793dd94c23c3795747fe271f8afb0d097833491b0f69dee17cf7bcdf1d0e9d464b1890ee1e415702e63ce51e304