NixOS on ARM/Raspberry Pi: Difference between revisions
Add Raspberry Pi 5 to tables (it's already described below) |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 22: | Line 22: | ||
|- | |- | ||
!colspan="2" class="title"|Raspberry Pi 4 | !colspan="2" class="title"|Raspberry Pi 4 | ||
|- | |||
!Architecture | |||
|AArch64 + ARMv7 | |||
|- | |||
! colspan="2" |Raspberry Pi 5 | |||
|- | |- | ||
!Architecture | !Architecture | ||
| Line 90: | Line 95: | ||
| AArch64<br /> ''+ armv7'' | | AArch64<br /> ''+ armv7'' | ||
| Yes (only with kernel >= 6.1) | | Yes (only with kernel >= 6.1) | ||
|- | |||
! colspan="3" |Raspberry Pi 5 | |||
|- | |||
|Raspberry Pi 5 | |||
|AArch64<br /> ''+ armv7'' | |||
|C* | |||
|} | |} | ||
| Line 160: | Line 171: | ||
''See'' [[NixOS on ARM/Raspberry Pi 5]] | ''See'' [[NixOS on ARM/Raspberry Pi 5]] | ||
== Audio == | |||
In addition to the usual config, it might be required to enable audio support explicitly in the firmwareConfig. | In addition to the usual config, it might be required to enable audio support explicitly in the firmwareConfig. | ||
| Line 339: | Line 350: | ||
=== Power issues === | === Power issues === | ||
Especially with the power-hungry Raspberry Pi 3, it is important to have a [https://www.raspberrypi.org/documentation/hardware/raspberrypi/power/README.md sufficient enough power supply] or | Especially with the power-hungry Raspberry Pi 3, it is important to have a [https://www.raspberrypi.org/documentation/hardware/raspberrypi/power/README.md sufficient enough power supply] or unexpected behaviour may occur; this may include: | ||
* Lightning bolt on HDMI output "breaking" the display. | * Lightning bolt on HDMI output "breaking" the display. | ||
| Line 346: | Line 357: | ||
* Random hangs | * Random hangs | ||
This | This is a hard problem. It is caused by the Raspberry Pi warning about power issues, but the current drivers (as of | ||
Linux 4.14) have a hard time dealing with it properly. If the power supply is rated properly AND the cable is not incurring too much power losses, it may be required to disable the lightning bolt indicator so the display driver isn't messed up.<ref>https://logs.nix.samueldr.com/nixos/2017-12-20#1513784657-1513784714;</ref> The lightning bolt indicator can be disabled by adding the line <code>avoid_warnings=1</code> in config.txt<ref>https://www.raspberrypi.org/documentation/configuration/config-txt/README.md</ref> | Linux 4.14) have a hard time dealing with it properly. If the power supply is rated properly AND the cable is not incurring too much power losses, it may be required to disable the lightning bolt indicator so the display driver isn't messed up.<ref>https://logs.nix.samueldr.com/nixos/2017-12-20#1513784657-1513784714;</ref> The lightning bolt indicator can be disabled by adding the line <code>avoid_warnings=1</code> in config.txt<ref>https://www.raspberrypi.org/documentation/configuration/config-txt/README.md</ref> | ||