forked from DGNum/liminix
extract mips kernel options to module
This commit is contained in:
parent
f75995e895
commit
f1c04c7979
2 changed files with 3 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue