NixOS on ARM/Raspberry Pi: Difference between revisions
imported>Bkchr m Adapt to latest pull request changes. |
imported>Samueldr m Adds notes about 3B+ |
||
| Line 74: | Line 74: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Raspberry Pi 3B+ === | |||
Until the kernel 3.18 is finalized, this will require a temporary work-around image. See also the note in the [[#Serial console]] section. The image is available in the following comment. | |||
* https://github.com/NixOS/nixpkgs/issues/22014#issuecomment-399715748 | |||
== Serial console== | == Serial console== | ||
Your configuration.nix will need to add <code>console=ttyS0,115200n8</code> to the <code>boot.kernelParams</code> configuration to use the serial console. | Your configuration.nix will need to add <code>console=ttyS0,115200n8</code> to the <code>boot.kernelParams</code> configuration to use the serial console. | ||
{{note|For the Raspberry Pi 3B+ it has been reported that the console may be <tt>ttyS1</tt> instead of <tt>ttyS0</tt>.}} | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
| Line 87: | Line 95: | ||
} | } | ||
</nowiki>}} | </nowiki>}} | ||
== Camera == | == Camera == | ||