2023-09-20 23:53:59 +02:00
|
|
|
{ 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";
|
2023-09-30 22:52:13 +02:00
|
|
|
|
|
|
|
OF = "y";
|
|
|
|
USE_OF = "y";
|
2023-09-20 23:53:59 +02:00
|
|
|
};
|
|
|
|
boot.commandLine = [
|
|
|
|
"console=ttyAMA0,38400"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|