NixOS on ARM/Raspberry Pi 4: Difference between revisions

imported>Kaligule
Straighten up the flow of the article.
imported>Sorki
USB boot notes
Line 78: Line 78:
}
}
</nowiki>}}
</nowiki>}}
=== USB boot ===
For USB booting to work properly, firmware update might be needed:
{{commands|<nowiki>
nix-shell -p raspberrypi-eeprom
rpi-eeprom-update -d -a
</nowiki>}}
Now reboot the device so it can update the firmware from boot partition.
When running from USB device without SD card present, kernel spams log about missing SD card, workaround for this is to set:
{{commands|<nowiki>
boot.loader.raspberryPi.firmwareConfig = "dtparam=sd_poll_once=on";
</nowiki>}}
=== GPU support ===
=== GPU support ===