riscbert: get netboot towards stage-2
This commit is contained in:
parent
1f84f0e671
commit
408a30c286
|
@ -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" {} ''
|
||||
|
|
Loading…
Reference in New Issue