19 lines
420 B
Nix
19 lines
420 B
Nix
{ lib, pkgs, config, ...}:
|
|
{
|
|
config = {
|
|
kernel.config = {
|
|
CPU_LITTLE_ENDIAN= "y";
|
|
CPU_BIG_ENDIAN= "n";
|
|
# CMDLINE_FROM_BOOTLOADER availability is conditional
|
|
# on CMDLINE being set to something non-empty
|
|
CMDLINE="\"console=ttyAMA0\"";
|
|
CMDLINE_FROM_BOOTLOADER = "y";
|
|
|
|
OF = "y";
|
|
USE_OF = "y";
|
|
};
|
|
boot.commandLine = [
|
|
"console=ttyAMA0,38400"
|
|
];
|
|
};
|
|
}
|