Skip to content

Commit 0573f44

Browse files
Merge pull request #3935 from timg236/firmware-updates
Updates docs for firmware changes for CM5 / Pi500 and other recent firmware changes.
2 parents d45f05f + b19a43e commit 0573f44

File tree

4 files changed

+47
-7
lines changed

4 files changed

+47
-7
lines changed

documentation/asciidoc/computers/config_txt/boot.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@ Not relevant on Raspberry Pi 5 because there is no `start.elf` file.
154154

155155
Default: `0x0`
156156

157+
[[enable_rp1_uart]]
158+
==== `enable_rp1_uart`
159+
160+
When set to `1`, firmware initialises RP1 UART0 to 115200bps and doesn't reset RP1 before starting the OS (separately configurable using `pciex4_reset=1`).
161+
This makes it easier to get UART output on the 40-pin header in early boot-code, for instance during bare-metal debug.
162+
163+
Default: `0x0`
164+
157165
[[pciex4_reset]]
158166
==== `pciex4_reset`
159167

documentation/asciidoc/computers/config_txt/overclocking.adoc

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ WARNING: Setting any overclocking parameters to values other than those used by
6060
| Forces turbo mode frequencies even when the ARM cores are not busy. Enabling this may set the warranty bit if `over_voltage_*` is also set.
6161

6262
| initial_turbo
63-
| Enables https://forums.raspberrypi.com/viewtopic.php?f=29&t=6201&start=425#p180099[turbo mode from boot] for the given value in seconds, or until cpufreq sets a frequency. The maximum value is `60`.
63+
| Enables https://forums.raspberrypi.com/viewtopic.php?f=29&t=6201&start=425#p180099[turbo mode from boot] for the given value in seconds, or until `cpufreq` sets a frequency. The maximum value is `60`. The November 2024 firmware update made the following changes:
64+
65+
* changed the default from `0` to `60` to reduce boot time
66+
* switched the kernel CPU performance governor from `powersave` to `ondemand`
67+
6468

6569
| arm_freq_min
6670
| Minimum value of `arm_freq` used for dynamic frequency clocking. Note that reducing this value below the default does not result in any significant power savings, and is not currently supported.
@@ -381,4 +385,9 @@ $ vcgencmd pmic_read_adc EXT5V_V
381385

382386
=== Overclocking problems
383387

384-
Most overclocking issues show up immediately with a failure to boot. If this occurs, hold down the `shift` key during the next boot. This will temporarily disable all overclocking, allowing you to boot successfully and then edit your settings.
388+
Most overclocking issues show up immediately, when the device fails to boot. If your device fails to boot due to an overclocking configuration change, use the following steps to return your device to a bootable state:
389+
390+
. Remove any clock frequency overrides from `config.txt`.
391+
. Increase the core voltage using `over_voltage_delta`.
392+
. Re-apply overclocking parameters, taking care to avoid the previous known-bad overclocking parameters.
393+

documentation/asciidoc/computers/raspberry-pi/boot-eeprom.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
== Raspberry Pi boot EEPROM
22

3-
Raspberry Pi 5, Raspberry Pi 4, 400, Compute Module 4, and Compute Module 4S computers use an EEPROM to boot the system. All other models of Raspberry Pi computer use the `bootcode.bin` file located in the boot filesystem.
3+
The following Raspberry Pi models use an EEPROM to boot the system:
4+
5+
* Flagship models since Raspberry Pi 4
6+
* Compute Module models since CM4 (including CM4S)
7+
* Keyboard models since Pi 400
8+
9+
All other models of Raspberry Pi computer use the `bootcode.bin` file located in the boot filesystem.
410

511
NOTE: You can find the scripts and pre-compiled binaries used to create `rpi-eeprom` in the https://github.com/raspberrypi/rpi-eeprom/[rpi-eeprom GitHub repository].
612

@@ -13,10 +19,12 @@ If an error occurs during boot, then an xref:configuration.adoc#led-warning-flas
1319

1420
There are multiple ways to update the bootloader of your Raspberry Pi.
1521

16-
==== Raspberry Pi 5, Raspberry Pi 4 and Raspberry Pi 400
22+
==== Flagship models since Raspberry Pi 4; Compute Modules since CM5; Keyboard models since Pi 400
1723

1824
Raspberry Pi OS automatically updates the bootloader for important bug fixes. To manually update the bootloader or change the boot order, use xref:configuration.adoc#raspi-config[raspi-config].
1925

26+
NOTE: Compute Module 4 and Compute Module 4S do not support automatic bootloader updates because the bootrom cannot load the `recovery.bin` file from eMMC. The recommended update mechanism is `rpiboot` or via `flashrom` - see `rpi-eeprom-update -h` for more information.
27+
2028
[[imager]]
2129
==== Use Raspberry Pi Imager to update the bootloader
2230

documentation/asciidoc/computers/raspberry-pi/eeprom-bootloader.adoc

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Default: `115200`
4747

4848
If `1` then `sudo halt` will run in a lower power mode until either GPIO3 or GLOBAL_EN are shorted to ground.
4949

50-
This setting is not relevant on Raspberry Pi 5 because the xref:raspberry-pi.adoc#power-button[dedicated power button] may always be used to wakeup from `HALT` or `STANDBY`.
50+
This setting is not relevant on Flagship models since Raspberry Pi 5, Compute Modules since CM5, and Keyboard models since Pi 500 because the xref:raspberry-pi.adoc#power-button[dedicated power button] may always be used to wake from `HALT` or `STANDBY`.
5151

5252
Default: `1`
5353

@@ -60,7 +60,7 @@ Raspberry Pi 400 has a dedicated power button which operates even if the process
6060

6161
On Raspberry Pi 5 this places the PMIC in `STANDBY` mode where all outputs are switched off. There is no need to set `WAKE_ON_GPIO` and pressing the xref:raspberry-pi.adoc#power-button[dedicated power button] will boot the device.
6262

63-
Default: `0`
63+
Default: `1` on Compute Modules since CM5 and Keyboard models since Pi 400; otherwise `0`
6464

6565
[[BOOT_ORDER]]
6666
==== `BOOT_ORDER`
@@ -398,7 +398,22 @@ This setting is ignored and network install is disabled if `DISABLE_HDMI=1` is s
398398

399399
In order to detect the keyboard, network install must initialise the USB controller and enumerate devices. This increases boot time by approximately 1 second so it may be advantageous to disable network install in some embedded applications.
400400

401-
Default: `1` on Raspberry Pi 4 and Raspberry Pi 400, and `0` on Compute Module 4.
401+
Default: `1` on Flagship models since Raspberry Pi 4 and Keyboard models since Pi 400; `0` on Compute Modules since CM4 (including CM4S).
402+
403+
[[NET_INSTALL_AT_POWER_ON]]
404+
==== `NET_INSTALL_AT_POWER_ON`
405+
406+
When set to `1`, displays the network install UI briefly after a cold boot to make this feature more obvious to new users. Overrides `NET_INSTALL_ENABLED` if the settings conflict.
407+
408+
The default bootloader images set this value to `1` in the bootloader config. To disable the brief network install UI display, use the `Advanced Options` menu in `raspi-config` or manually delete this line in `rpi-eeprom-config`:
409+
410+
[source,console]
411+
----
412+
$ sudo rpi-eeprom-config --edit
413+
----
414+
415+
416+
Default: `0`
402417

403418
[[NET_INSTALL_KEYBOARD_WAIT]]
404419
==== `NET_INSTALL_KEYBOARD_WAIT`

0 commit comments

Comments
 (0)