Skip to content

Commit 82be38b

Browse files
committed
installation/guides/arm-devices/raspberry-pi: update for new kernel
- should now support 500/CM5 (as of 6.6.67 at least) - audio/video config.txt lines should now be uncommented by default - memcg no longer required with new config
1 parent 0488441 commit 82be38b

File tree

1 file changed

+18
-25
lines changed

1 file changed

+18
-25
lines changed

src/installation/guides/arm-devices/platforms.md renamed to src/installation/guides/arm-devices/raspberry-pi.md

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# Supported Platforms
2-
3-
## Raspberry Pi
1+
# Raspberry Pi
42

53
The `rpi-kernel` packages for all Raspberry Pi variants are built from the
64
Raspberry Pi Foundation's kernel tree, which should enable all special
@@ -16,20 +14,20 @@ kernel are in the `/boot/cmdline.txt` file. Some of the relevant parameters are
1614
documented in the [official
1715
documentation](https://www.raspberrypi.com/documentation/computers/configuration.html#the-kernel-command-line).
1816

19-
### Supported Models
17+
## Supported Models
2018

21-
| Model | Architecture |
22-
|---------------------------------------------|--------------|
23-
| 1 A, 1 B, 1 A+, 1 B+, Zero, Zero W, Zero WH | armv6l |
24-
| 2 B | armv7l |
25-
| 3 B, 3 A+, 3 B+, Zero 2W, 4 B, 400, CM4, 5 | aarch64 |
19+
| Model | Architecture |
20+
|------------------------------------------------------|--------------|
21+
| 1 A, 1 B, 1 A+, 1 B+, Zero, Zero W, Zero WH | armv6l |
22+
| 2 B | armv7l |
23+
| 3 B, 3 A+, 3 B+, Zero 2W, 4 B, 400, CM4, 5, 500, CM5 | aarch64 |
2624

2725
> It is possible to run the armv7l images on an RPi 3, as the RPi 3's CPU
2826
> supports both the Armv8 and Armv7 instruction sets. The difference between
2927
> these images is that the armv7l image provides a 32-bit system while the
3028
> aarch64 image provides a 64-bit system.
3129
32-
### Raspberry Pi 5 Kernel
30+
## Raspberry Pi 5 Kernel
3331

3432
The `rpi5-kernel` and `rpi5-kernel-headers` packages provide a kernel and
3533
headers optimized for the Raspberry Pi 5 with 16KB pages. To switch from the
@@ -40,7 +38,7 @@ replace it with `rpi5-kernel`.
4038
> View any known issues and report any compatibility problems found in the
4139
> [tracking issue](https://github.com/void-linux/void-packages/issues/48260).
4240
43-
### Enabling hardware RNG device
41+
## Enabling hardware RNG device
4442

4543
By default, the
4644
[HWRNG](https://en.wikipedia.org/wiki/Hardware_random_number_generator) device
@@ -52,26 +50,30 @@ In order to fix this, install the `rng-tools` package and
5250
[enable](../../../config/services/index.md#enabling-services) the `rngd`
5351
service, which uses the `/dev/hwrng` device to seed `/dev/random`.
5452

55-
### Graphical session
53+
## Graphical session
5654

5755
The `mesa-dri` package contains drivers for all the Raspberry Pi variants, and
5856
can be used with the [modesetting Xorg
5957
driver](../../../config/graphical-session/xorg.md#modesetting) or
6058
[Wayland](../../../config/graphical-session/wayland.md).
6159

62-
### Hardware
60+
You may also need to uncomment the `dtoverlay=vc4-kms-v3d` line in
61+
`/boot/config.txt`.
62+
63+
## Hardware
6364

6465
More configuration information can be found in the Raspberry Pi Foundation's
6566
[official
6667
documentation](https://www.raspberrypi.com/documentation/computers/configuration.html).
6768
The `raspi-config` utility isn't available for Void Linux, so editing the
6869
`/boot/config.txt` file is usually required.
6970

70-
#### Audio
71+
### Audio
7172

72-
To enable the soundchip, add `dtparam=audio=on` to `/boot/config.txt`.
73+
To enable audio, you may need to uncomment `dtparam=audio=on` in
74+
`/boot/config.txt`.
7375

74-
#### Serial
76+
### Serial
7577

7678
To enable serial console logins,
7779
[enable](../../../config/services/index.md#enabling-services) the
@@ -101,12 +103,3 @@ configuration. It should show:
101103
$ i2cdetect -l
102104
i2c-1i2c bcm2835 I2C adapter I2C adapter
103105
```
104-
105-
### Memory cgroup
106-
107-
The kernel from the `rpi-kernel` package [disables the memory cgroup by
108-
default](https://github.com/raspberrypi/linux/commit/28aec65bb1743c9bfa53b036999f9835c889704e).
109-
110-
This breaks workloads which use containers. Therefore, if you want to use
111-
containers on your Raspberry Pi, you need to enable memory cgroups by adding
112-
`cgroup_enable=memory` to `/boot/cmdline.txt`.

0 commit comments

Comments
 (0)