extract mips kernel options to module

This commit is contained in:
Daniel Barlow 2023-09-20 17:50:21 +01:00
parent f75995e895
commit f1c04c7979
2 changed files with 3 additions and 4 deletions

View file

@ -3,6 +3,9 @@
config = { config = {
kernel.config = { kernel.config = {
MIPS_ELF_APPENDED_DTB = "y"; MIPS_ELF_APPENDED_DTB = "y";
MIPS_BOOTLOADER_CMDLINE_REQUIRE_COOKIE = "y";
MIPS_BOOTLOADER_CMDLINE_COOKIE = "\"liminix\"";
MIPS_CMDLINE_DTB_EXTEND = "y";
}; };
boot.commandLine = [ boot.commandLine = [
"console=ttyS0,115200" # true of all mips we've yet encountered "console=ttyS0,115200" # true of all mips we've yet encountered

View file

@ -56,10 +56,6 @@ in {
MODULE_SIG = if modular then "y" else "n"; MODULE_SIG = if modular then "y" else "n";
DEBUG_FS = "y"; DEBUG_FS = "y";
MIPS_BOOTLOADER_CMDLINE_REQUIRE_COOKIE = "y";
MIPS_BOOTLOADER_CMDLINE_COOKIE = "\"liminix\"";
MIPS_CMDLINE_DTB_EXTEND = "y";
# basic networking protocols # basic networking protocols
NET = "y"; NET = "y";
UNIX = "y"; UNIX = "y";