commit 26f206d0e15992f6635b068502459953d96794e9
parent 8cd068ea6825c476d63854d3f5d4955cf4309362
Author: Daniel Barlow <dan@telent.net>
Date: Sat, 4 Jan 2025 23:50:44 +0000
phram dtb reserved-memory needs no-map
c.f. https://gti.telent.net/dan/liminix/commit/69429404abaf365ed649a2863830c1909f3626b2
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/modules/outputs/tftpboot.nix b/modules/outputs/tftpboot.nix
@@ -121,6 +121,7 @@ in {
node=$(printf "phram-rootfs@%x" $rootfsStart)
fdtput -p -t s dtb /reserved-memory/$node compatible phram
fdtput -p -t lx dtb /reserved-memory/$node reg $ac_prefix $(hex $rootfsStart) $sz_prefix $(hex $rootfsSize)
+ fdtput -p dtb /reserved-memory/$node no-map
cmd="liminix ${cmdline} mtdparts=phram0:''${rootfsSize}(rootfs) phram.phram=phram0,''${rootfsStart},''${rootfsSize},${toString config.hardware.flash.eraseBlockSize} root=/dev/mtdblock0";
fdtput -t s dtb /chosen ${config.boot.commandLineDtbNode} "$cmd"