commit 202a37221a63339d229199a8986863e7b3b82bdf
parent e5963ae3f76434db1c26a401f31bf768f4349bd1
Author: dan <dan@telent.net>
Date: Sat, 16 Mar 2024 18:18:18 +0000
Merge pull request 'tftpboot: use commandLineDtbNode' (#11) from flokli/liminix:tftpboot-honor-commandLineDtbNode into main
Reviewed-on: https://gti.telent.net/dan/liminix/pulls/11
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/outputs/tftpboot.nix b/modules/outputs/tftpboot.nix
@@ -122,7 +122,7 @@ in {
fdtput -p -t lx dtb /reserved-memory/$node reg $ac_prefix $(hex $rootfsStart) $sz_prefix $(hex $rootfsSize)
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 bootargs "$cmd"
+ fdtput -t s dtb /chosen ${config.boot.commandLineDtbNode} "$cmd"
dtbSize=$(binsize ./dtb )