Our current setup is:
- Colibri iMX8 DualX 1GB Wi-Fi / Bluetooth
- Aster board v. 1.1B
- TorizonCore os
We were expecting to see 1GB of total ram, however when running
free we only get 803 Mb.
torizon@colibri-imx8x-06846642:~$ free --mega
total used free shared buff/cache available
Mem: 803 471 93 38 238 221
Swap: 0 0 0
Is there a reason for this? Is part of the ram reserved for graphics or something similar?
If this is the case, as we are running a headless application and won’t need any graphic output, can we somehow free the rest of the memory, perhaps disabling the vga output with an overlay or something similar?
Thank you in advance for your help.
Hi @morlandi ,
Thanks for reaching out to Toradex.
That’s right. You can see the
reserved-memory section in the device tree.
There are various subsections there, relating to elements like the M4 core, for example.
If you follow the link below, you will get forwarded to the dedicated section in the device tree. You can remove these subsections as you wish. Be aware that changes in these sections can leave the module in an unbootable state. So make sure you really do not need these.
Furthermore, Toradex has added additional memory for the GPU due to some bugs reported in the past.
You can also remove this one. Please be aware that some drivers (for example the graphics driver) will expect this reserved memory to be there. So if the memory is not reserved the driver will maybe fail or print errors. Other components might be affected by the same behaviour.
Hope this helps.