2023-11-05 16:13:06 +01:00
|
|
|
{ lib, pkgs, config, lim, ...}:
|
2023-09-20 18:27:04 +02:00
|
|
|
{
|
|
|
|
config = {
|
|
|
|
kernel.config = {
|
|
|
|
MIPS_ELF_APPENDED_DTB = "y";
|
2023-09-20 18:50:21 +02:00
|
|
|
MIPS_BOOTLOADER_CMDLINE_REQUIRE_COOKIE = "y";
|
|
|
|
MIPS_BOOTLOADER_CMDLINE_COOKIE = "\"liminix\"";
|
|
|
|
MIPS_CMDLINE_DTB_EXTEND = "y";
|
2023-09-30 22:52:13 +02:00
|
|
|
|
|
|
|
OF = "y";
|
|
|
|
USE_OF = "y";
|
2023-09-20 18:27:04 +02:00
|
|
|
};
|
2023-11-05 20:13:51 +01:00
|
|
|
hardware.ram.startAddress = lim.parseInt "0x80000000";
|
2023-09-20 18:27:04 +02:00
|
|
|
boot.commandLine = [
|
|
|
|
"console=ttyS0,115200" # true of all mips we've yet encountered
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|