riscbert: get netboot towards stage-2

This commit is contained in:
Astro 2022-10-28 02:53:34 +02:00
parent 1f84f0e671
commit 408a30c286
1 changed files with 6 additions and 4 deletions

View File

@ -4,8 +4,10 @@
boot = {
kernelParams = [
"verbose" "shell_on_fail"
"verbose"
# "console=ttyS0,115200n8"
"elevator=deadline"
"boot.shell_on_fail"
];
initrd = {
network = {
@ -17,8 +19,8 @@
];
# includeDefaultModules = false;
availableKernelModules = [
"stmmac-platform"
"nfs"
"dwmac-generic"
"nfs" "nfsv4"
"usbhid"
];
};
@ -39,7 +41,7 @@
fileSystems."/" = {
device = "${hostRegistry.hosts.nfsroot.ip4}:/var/lib/nfsroot/riscbert";
fsType = "nfs";
options = [ "nfsvers=3" "proto=tcp" "nolock" "hard" "async" "rw" ];
options = [ "nfsvers=4" "proto=tcp" "nolock" "hard" "async" "rw" ];
};
system.build.bootFiles = pkgs.runCommand "boot-files" {} ''