liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7d1c85f6806cdcefea29d4878ccb4e7981d020d3
parent 70fa328574b926238c4fcd91786da6d850ce423a
Author: Daniel Barlow <dan@telent.net>
Date:   Sat, 15 Oct 2022 16:11:40 +0100

kernel: enlarge offset to rootfs, disable sysfs devlink

the ag71xx driver doesn't probe with fw_devlink enabled

Diffstat:
Mdefault.nix | 2+-
Mmodules/base.nix | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/default.nix b/default.nix @@ -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 diff --git a/modules/base.nix b/modules/base.nix @@ -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";