Skip to content

Commit 72e1063

Browse files
authored
Update conditional.md (raspberrypi#1047)
* Update conditional.md * Update conditional.md * Update conditional.md * copy edits
1 parent d889334 commit 72e1063

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

configuration/config-txt/conditional.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,18 @@ This is the most basic filter. It resets all previously set filters and allows a
1414

1515
It is usually a good idea to add an `[all]` filter at the end of groups of filtered settings to avoid unintentionally combining filters (see below).
1616

17-
## The `[pi1]` and `[pi2]` (etc.) filters
17+
## The `[pi1]` and `[pi2]` (etc.) model filters
1818

19-
Any settings below a `[pi1]` filter will only be applied to Pi 1 (A, A+, B, B+) hardware, including the original Compute Module.
20-
Any settings below a `[pi2]` filter will only be applied to Pi 2 hardware. The `[pi3]` filter is applicable to Pi 3 and Compute Module 3 hardware, while `[pi0]` covers Pi Zero and Pi Zero W.
19+
The conditional model filters are applied according to the following table.
2120

22-
[pi1]
23-
[pi2]
24-
[pi3]
25-
[pi3+]
26-
[pi0]
27-
[pi0w]
21+
| Filter | Applicable model(s) |
22+
|--------|------------------|
23+
| [pi1] | Model A, Model B, Compute Module |
24+
| [pi2] | Model 2B (BCM2836- or BCM2837-based) |
25+
| [pi3] | Model 3B, Model 3B+, Model 3A+, Compute Module 3 |
26+
| [pi3+]| Model 3A+, Model 3B+ |
27+
| [pi0] | Zero, Zero W, Zero WH |
28+
| [pi0w]| Zero W, Zero WH |
2829

2930
These are particularly useful for defining different `kernel`, `initramfs`, and `cmdline` settings, as the Pi 1 and Pi 2 require different kernels. They can also be useful to define different overclocking settings, as the Pi 1 and Pi 2 have different default speeds. For example, to define separate `initramfs` images for each:
3031

@@ -39,7 +40,6 @@ Remember to use the `[all]` filter at the end, so that any subsequent settings a
3940
It is important to note that the Raspberry Pi Zero W will see the contents of [pi0w] AND [pi0]. Likewise, a Raspberry Pi 3B Plus sees [pi3+] AND [pi3]. If you want a setting to apply only to Pi Zero or Pi 3B you need to follow it (order is important) with a setting in the [pi0w] or [pi3+] section that reverts it.
4041

4142

42-
4343
## The `[none]` filter
4444

4545
The `[none]` filter prevents any settings that follow from being applied to any hardware. Although there is nothing that you can't do without `[none]`, it can be a useful way to keep groups of unused settings in config.txt without having to comment out every line.

0 commit comments

Comments
 (0)