forked from DGNum/liminix
kernel: enlarge offset to rootfs, disable sysfs devlink
the ag71xx driver doesn't probe with fw_devlink enabled
This commit is contained in:
parent
70fa328574
commit
7d1c85f680
2 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,7 @@ let
|
|||
let
|
||||
inherit (nixpkgs.lib.trivial) toHexString;
|
||||
uimageStart = 10485760; # 0xa00000
|
||||
squashfsStart = uimageStart + 2 * 1024 * 1024;
|
||||
squashfsStart = uimageStart + 4 * 1024 * 1024;
|
||||
squashfsSize = 8;
|
||||
cmd = "mtdparts=phram0:${toString squashfsSize}M(nix) phram.phram=phram0,0x${toHexString squashfsStart},${toString squashfsSize}Mi memmap=${toString squashfsSize}M\$0x${toHexString squashfsStart} root=1f00";
|
||||
in
|
||||
|
|
|
@ -67,6 +67,7 @@ in {
|
|||
};
|
||||
boot.commandLine = [
|
||||
"earlyprintk=serial,ttyS0 console=ttyS0,115200 panic=10 oops=panic init=/bin/init loglevel=8 rootfstype=squashfs"
|
||||
"fw_devlink=off"
|
||||
];
|
||||
users.root = {
|
||||
uid = 0; gid= 0; gecos = "Root of all evaluation";
|
||||
|
|
Loading…
Reference in a new issue