Hello
I have Mecool M8S Pro+ with broken emmc, because Android no longer boots, but that's not a real problem.
I want to free gpu-reserved memory to run headless armbian.
I placed img.dtb on /boot, but system is using another one, maybe from Emmc, so, to get my current .dtb file:
dtc -I fs -O dts /proc/device-tree/ -o current.dts
Now I wan't to free reserved memory using s905_autoscript.
On pages 2 and 3 of this topic I saw command in autoscript to remove entire reserved-memory node, but that caused instability:
fdt addr 0x1000000; if test "${nographics}" = "1"; then fdt rm /reserved-memory; fdt rm /aocec; fi
There is also removal of /aocec node, i think it's related to HDMI but I'm not sure.
Anyway which one of child-nodes from reserved-memory should I remove/disable to free gpu-reserved memory?
};
reserved-memory {
#address-cells = <0x00000002>;
#size-cells = <0x00000002>;
ranges;
linux,secmon {
compatible = "amlogic, aml_secmon_memory";
reg = <0x00000000 0x10000000 0x00000000 0x00200000>;
no-map;
linux,phandle = <0x0000000a>;
phandle = <0x0000000a>;
};
linux,secos {
status = "disable";
compatible = "amlogic, aml_secos_memory";
reg = <0x00000000 0x05300000 0x00000000 0x02000000>;
no-map;
};
aml_pstore {
compatible = "amlogic, pstore";
reg = <0x00000000 0x07300000 0x00000000 0x00100000>;
no-map;
};
linux,meson-fb {
compatible = "amlogic, fb-memory";
reg = <0x00000000 0x7e000000 0x00000000 0x02000000>;
no-map;
linux,phandle = <0x0000002c>;
phandle = <0x0000002c>;
};
linux,di {
compatible = "amlogic, di-mem";
size = <0x00000000 0x01e00000>;
linux,phandle = <0x00000033>;
phandle = <0x00000033>;
};
linux,chunk-reserve {
compatible = "amlogic, chunk-reserve";
size = <0x00000000 0x04000000>;
linux,phandle = <0x0000002b>;
phandle = <0x0000002b>;
};
linux,ion-dev {
compatible = "amlogic, idev-mem";
size = <0x00000000 0x03000000>;
linux,phandle = <0x00000030>;
phandle = <0x00000030>;
};
linux,vdin1_cma {
compatible = "shared-dma-pool";
reusable;
size = <0x00000000 0x01000000>;
alignment = <0x00000000 0x00400000>;
linux,phandle = <0x00000034>;
phandle = <0x00000034>;
};
linux,ppmgr {
compatible = "shared-dma-pool";
size = <0x00000000 0x00000000>;
linux,phandle = <0x00000032>;
phandle = <0x00000032>;
};
linux,codec_mm_cma {
compatible = "shared-dma-pool";
reusable;
size = <0x00000000 0x15000000>;
alignment = <0x00000000 0x00400000>;
linux,contiguous-region;
linux,phandle = <0x0000002d>;
phandle = <0x0000002d>;
};
linux,picdec {
compatible = "shared-dma-pool";
reusable;
size = <0x00000000 0x00000000>;
alignment = <0x00000000 0x00000000>;
linux,contiguous-region;
linux,phandle = <0x00000031>;
phandle = <0x00000031>;
};
linux,codec_mm_reserved {
compatible = "amlogic, codec-mm-reserved";
size = <0x00000000 0x04100000>;
alignment = <0x00000000 0x00100000>;
linux,phandle = <0x0000002e>;
phandle = <0x0000002e>;
};