exclude rootfs region from kernel-visible ram

This commit is contained in:
Daniel Barlow 2023-12-05 17:30:01 +00:00
parent 3f74fad966
commit f2daa0b669

View file

@ -76,7 +76,7 @@
(fn bootable [cmdline uboot] (fn bootable [cmdline uboot]
(if uboot (if uboot
["-drive" (.. "if=pflash,format=raw,file=" 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]))) ["-kernel" options.kernel "-append" cmdline])))
(local bin { (local bin {