specify root device as /dev/mtdblockn

the (openwrt?) magic that autodetects it based on mtd labels
won't work with a two-stage boot
This commit is contained in:
Daniel Barlow
2023-04-26 22:16:15 +01:00
parent 6d6dbe1cbb
commit 4cfaed7303
5 changed files with 9 additions and 3 deletions

View File

@@ -119,6 +119,7 @@ in {
};
boot.commandLine = [
"console=ttyS0,115200 panic=10 oops=panic init=/bin/init loglevel=8"
"root=${config.hardware.rootDevice}"
"rootfstype=${config.rootfsType}"
"fw_devlink=off"
];