commit f2daa0b66955d6a6759d67067f737bd8860308f4
parent 3f74fad966d5d071e7ae4196a9f800cf1d13b86a
Author: Daniel Barlow <dan@telent.net>
Date: Tue, 5 Dec 2023 17:30:01 +0000
exclude rootfs region from kernel-visible ram
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/run-liminix-vm/run-liminix-vm.fnl b/pkgs/run-liminix-vm/run-liminix-vm.fnl
@@ -76,7 +76,7 @@
(fn bootable [cmdline uboot]
(if uboot
["-drive" (.. "if=pflash,format=raw,file=" uboot )]
- (let [cmdline (.. cmdline " liminix mtdparts=phram0:16M(rootfs) phram.phram=phram0," options.phram-address ",16Mi,65536 root=/dev/mtdblock0")]
+ (let [cmdline (.. cmdline " mem=256M liminix mtdparts=phram0:16M(rootfs) phram.phram=phram0," options.phram-address ",16Mi,65536 root=/dev/mtdblock0")]
["-kernel" options.kernel "-append" cmdline])))
(local bin {