System memory size definition

For some reason, I would like Linux to detect and use 30GB memory not 32GB.
2GB would be allocated for some other way.
Kernel command ‘mem=30gb’ is not effective to me.

Where should I touch?


You mean primary (DRAM) or secondary(EMMC) memory?

DRAM it is!


you can add memory to reserved memory which linux kernel will not touch anymore

there are already reserved memory examples in dts file. you can add yours.

1 Like

Thanks, @Bibek

I would try that.