phram dtb reserved-memory needs no-map
c.f. 69429404ab
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
This commit is contained in:
parent
8cd068ea68
commit
26f206d0e1
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user