Skip to content

Commit 7bd0404

Browse files
Merge pull request #4193 from raspberrypi/develop
Publish a number of general updates
2 parents 6f80adc + fa0fe2c commit 7bd0404

File tree

10 files changed

+76
-12
lines changed

10 files changed

+76
-12
lines changed

documentation/asciidoc/accessories/touch-display-2/about.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ To rotate the display without a desktop, edit the `/boot/firmware/cmdline.txt` f
154154
video=DSI-1:720x1280@60,rotate=<rotation-value>
155155
----
156156

157+
This `rotate=` setting only rotates the text-mode console; any applications that write directly to DRM (such as `cvlc` or the libcamera apps) won't be rotated, and will instead need to use their own rotation options (if available).
158+
157159
NOTE: You can't rotate the DSI display separately from the HDMI display with `cmdline.txt`. When you use DSI and HDMI simultaneously, they share the same rotation value.
158160

159161
== Customise touchscreen settings

documentation/asciidoc/computers/compute-module/cmio-camera.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ To connect a single camera to a Compute Module, complete the following steps:
2121
+
2222
image::images/CMIO-Cam-Adapter.jpg[alt="Connecting the adapter board", width="60%"]
2323

24+
. _(CM5 only)_: Fit two jumpers on J6 per the board's written instructions.
25+
+
26+
image::images/cm5io-j6-cam1.png[alt="Jumpers on J6 for CAM1", width="60%"]
27+
28+
2429
. _(CM1, CM3, CM3+, and CM4S only)_: Connect the following GPIO pins with jumper cables:
2530
* `0` to `CD1_SDA`
2631
* `1` to `CD1_SCL`
@@ -107,7 +112,7 @@ image::images/CMIO-Cam-Adapter.jpg[alt="Connect the adapter board", width="60%"]
107112
+
108113
image:images/CMIO-Cam-GPIO2.jpg[alt="GPIO connection with additional camera", width="60%"]
109114

110-
. _(CM4 and CM5)_: Connect the J6 GPIO pins with two vertical-orientation jumpers.
115+
. _(CM4)_: Connect the J6 GPIO pins with two vertical-orientation jumpers.
111116
+
112117
image:images/j6_vertical.jpg[alt="Connect the J6 GPIO pins in vertical orientation", width="60%"]
113118

369 KB
Loading

documentation/asciidoc/computers/config_txt/conditional.adoc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,26 @@ sudo vcmailbox 0x0003008c 8 8 1 0
171171
----
172172
The value of the `boot_arg1` variable when the OS was started can be read via xref:configuration.adoc#part4[device-tree] at `/proc/device-tree/chosen/bootloader/arg1`
173173

174+
==== `bootvar0`
175+
Raspberry Pi 5 and newer devices only.
176+
177+
The `bootvar0` variable is a 32-bit user-defined value that is set through `rpi-eeprom-config`, and then can be used as a conditional variable in `config.txt`.
178+
179+
For example, setting `bootvar0` to 42 via `rpi-eeprom-config`:
180+
[source,ini]
181+
----
182+
BOOTVAR0=42
183+
----
184+
185+
Using `bootvar0` conditionally in `config.txt`:
186+
[source,ini]
187+
----
188+
[bootvar0=42]
189+
arm_freq=1000
190+
----
191+
192+
This allows a common image (that is, with the same `config.txt` file) to support different configurations based on the persistent `rpi-eeprom-config` settings.
193+
174194
==== `boot_count`
175195
Raspberry Pi 5 and newer devices only.
176196

documentation/asciidoc/computers/configuration/users.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ $ sudo su - <username>
4848

4949
If the above command runs successfully, permissions were successfully configured for the user.
5050

51+
If you've changed your keyboard layout, you might find that the newly added user is using the "wrong" keyboard layout. To fix this, sign in as the new user and run:
52+
53+
[source,console]
54+
----
55+
$ sudo raspi-config nonint update_labwc_keyboard
56+
----
57+
5158
=== Delete a user
5259

5360
To delete a user, run the following command, replacing the `<username>` placeholder with the username you would like to delete:

documentation/asciidoc/computers/keyboard-computers/intro.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ For more information, see <<advanced, Advanced software settings>>.
173173
[[replace-m2]]
174174
=== Replace your M.2 SSD
175175

176-
You can expand storage capacity by replacing the M.2 SSD in your Raspberry Pi 500+. The Raspberry Pi 500+ supports SSDs that use the M.2 M key edge connector in the form factors 2230, 2242, 2260, and 2280.
176+
You can expand storage capacity by replacing the M.2 SSD in your Raspberry Pi 500+. You can also use this slot to install a different PCIe peripheral. The Raspberry Pi 500+ supports devices that use the M.2 M key edge connector in the form factors 2230, 2242, 2260, and 2280.
177177

178178
To complete this procedure, you need a cross head screwdriver, a flat head screwdriver, and the provided plastic opening tool (spudger).
179179

@@ -731,4 +731,4 @@ $ rpi-keyboard-config game
731731

732732
The game uses your keyboard backlighting as the "screen", and the lights flash in patterns to represent the bird and pipes. Your goal is to keep the bird from hitting pipes, similar to the original Flappy Bird. Press the space bar to fly over pipes (lit-up LEDs). Your "bird" continues to drop until you press the space bar. Your score is determined by the number of pipes you've successfully passed, which is indicated by the number of purple LEDs along the top of the keyboard.
733733

734-
To exit the game, press *Q* on your keyboard.
734+
To exit the game, press *Q* on your keyboard.

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,13 @@ During the "partition walk" `autoboot.txt` files are not processed to avoid cycl
568568

569569
Default: `0`
570570

571+
[[BOOTVAR0]]
572+
==== `BOOTVAR0`
573+
574+
Allows setting the conditional variable `bootvar0` used by `config.txt`. See xref:config_txt.adoc#bootvar0[bootvar0].
575+
576+
Default: `0`
577+
571578
[[PSU_MAX_CURRENT]]
572579
==== `PSU_MAX_CURRENT`
573580

documentation/asciidoc/computers/software-sources.adoc

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ At Raspberry Pi we're trying to open source as much of our code as possible to m
22

33
== Finding software sources in Raspberry Pi OS
44

5-
When looking for software which is distributed with Raspberry Pi OS, there are often upstream software sources that we patch to create our downstream packages (those tagged with `pass:[+rpt]`). To view the source for those packages it is usually easier to fetch through apt. To do this, you first need to edit your apt lists to include the source packages. The following files should be edited to remove the leading `pass:[#]` from each line:
5+
When looking for software which is distributed with Raspberry Pi OS, there are often upstream software sources that we patch to create our downstream packages (those tagged with `pass:[+rpt]`). To view the source for those packages it is usually easier to fetch through apt. To do this, you first need to edit your apt lists to include the source packages. The following files should be edited to remove the leading `pass:[#]` from each `deb-src` line:
66

77
* `+/etc/apt/sources.list+`
88
* `+/etc/apt/sources.list.d/raspi.list+`
@@ -21,11 +21,19 @@ Now you can fetch the package source, for example:
2121
$ apt source labwc
2222
----
2323

24+
Next, you need to install a helper package:
25+
26+
[source,console]
27+
----
28+
$ sudo apt install devscripts
29+
----
30+
2431
Finally you can build the package using the standard Debian building process.
2532

2633
[source,console]
2734
----
2835
$ sudo apt build-dep labwc
36+
$ cd labwc-0.8.4
2937
$ debuild -uc -us
3038
----
3139

@@ -46,6 +54,14 @@ The following is a curated list of repositories which most people are interested
4654
https://github.com/raspberrypi/linux::
4755
This repository contains the source code for the downstream Linux kernel supported and working on all versions of Raspberry Pi from Pi 1 to Pi 5.
4856

57+
https://github.com/raspberrypi/firmware::
58+
This repository contains the closed source firmware, although the following two links are useful:
59+
* https://github.com/raspberrypi/firmware/commits/master/[Changelog for the firmware]
60+
* https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README[Device tree overlay README]
61+
62+
https://github.com/raspberrypi/rpi-eeprom::
63+
Installation scripts and binaries for the Raspberry Pi 4 and Raspberry Pi 5 bootloader EEPROMs including the https://github.com/raspberrypi/rpi-eeprom/releases[releases] and https://github.com/raspberrypi/rpi-eeprom/blob/master/releases.md[release notes].
64+
4965
=== Libraries and applications
5066

5167
https://github.com/raspberrypi/utils::

documentation/asciidoc/microcontrollers/debug-probe/getting-started.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Connect the following:
1414
** Debug Probe `TX` connected to Pico H `RX` pin
1515
** Debug Probe `GND` connected to Pico H `GND` pin
1616
17-
NOTE: If you have a non-H Pico or Pico W (without a JST-SH connector) you can still connect it to a Debug Probe. Solder a male connector to the `SWCLK`, `GND`, and `SWDIO` header pins on the board. Using the alternate 3-pin JST-SH connector to 0.1-inch header (female) cable included with the Debug Probe, connect to the Debug Probe "D" port. Connect `SWCLK`, `GND`, and `SWDIO` on the Pico or Pico W to the `SC`, `GND`, and `SD` pins on the Debug Probe, respectively.
17+
NOTE: If you have a non-H Pico or Pico W (without a JST-SH connector) you can still connect it to a Debug Probe. Solder a male connector to the `SWCLK`, `GND`, and `SWDIO` header pins on the board. Using the alternate 3-pin JST-SH connector to 0.1-inch header (female) cable included with the Debug Probe, connect to the Debug Probe "D" port. Connect `SWCLK`, `GND`, and `SWDIO` on the Pico or Pico W to the `SC` (orange wire), `GND` (black wire), and `SD` (yellow wire) pins on the Debug Probe, respectively.
1818

1919
image:images/wiring.png[width="70%"]
2020

documentation/asciidoc/microcontrollers/debug-probe/updating-firmware.adoc

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
22

33
Firmware for the Debug Probe is available as a UF2 file distributed by Raspberry Pi.
44

5-
The latest version of the Debug Probe firmware is version 2.2. If you're running an older version, or if you have accidentally overwritten the firmware on your Debug Probe, you can find the latest release of the firmware in https://github.com/raspberrypi/debugprobe/releases/latest[the debugprobe GitHub repository].
5+
The latest version of the Debug Probe firmware is version 2.2.3. If you're running an older version, or if you have accidentally overwritten the firmware on your Debug Probe, you can find the latest release of the firmware in https://github.com/raspberrypi/debugprobe/releases/latest[the debugprobe GitHub repository].
66

7-
Download `debugprobe.uf2` from the latest release.
7+
To check the firmware version of your Debug Probe, run:
8+
[source, console]
9+
----
10+
$ lsusb -v -d 2e8a:000c | grep bcdDevice
11+
----
12+
This will report `bcdDevice 2.23` for Debug Probe firmware version 2.2.3.
813

9-
Pinch to remove the top of the Debug Probe enclosure.
14+
NOTE: The `Info : CMSIS-DAP: FW Version = 2.0.0` line reported by `openocd` only refers to the CMSIS-DAP protocol level (which is different to the Debug Probe firmware version).
1015

11-
Push and hold the BOOTSEL button as you plug the Debug Probe into your computer to mount a volume called "RPI-RP2".
16+
To update the firmware version of your Debug Probe:
1217

13-
Copy `debugprobe.uf2` onto the "RPI-RP2" volume. The volume will dismount automatically after the file finishes copying onto the device.
14-
15-
Your Debug Probe will reboot and now runs an updated version of the Debug Probe firmware. It is now ready for debugging.
18+
1. Download `debugprobe.uf2` from the latest release.
19+
1. Pinch to remove the top of the Debug Probe enclosure.
20+
1. Push and hold the BOOTSEL button as you plug the Debug Probe into your computer, to mount a volume called "RPI-RP2".
21+
1. Copy `debugprobe.uf2` onto the "RPI-RP2" volume. The volume will dismount automatically after the file finishes copying onto the device.
22+
1. Your Debug Probe will reboot and now runs an updated version of the Debug Probe firmware. It is now ready for debugging.

0 commit comments

Comments
 (0)