我在dts中设置了预留内存。我只预留了几十兆内存,但是内核日志显示预留了200多兆内存,imx8x。除了dts设置reserved memory还有别的地方吗
日志:
[0.000000]内存:492256K/1046528K可用(18560K内核代码,1558K rwdata,7180K rodata,3840K init,544K bss,226592K保留,327680K cma保留)
dtb->dts:
保留内存{
#address-cells = <0x02>;
#size-cells = <0x02>;
范围;
解码器启动@0x84000000 {
reg = <0x00 0x84000000 0x00 0x2000000>;
无地图;
phandle = <0x40>;
};
编码器引导@0x86000000 {
reg = <0x00 0x86000000 0x00 0x200000>;
无地图;
phandle = <0x43>;
};
decoder-rpc@0x86200000 {
reg = <0x00 0x86200000 0x00 0x100000>;
无地图;
phandle = <0x41>;
};
encoder-rpc@0x94400000 {
reg = <0x00 0x94400000 0x00 0x700000>;
无地图;
phandle = <0x44>;
};
linux,cma {
compa
tible = "shared-dma-pool";
可重复使用的;
大小 = <0x00 0x14000000>;
分配范围=<0x00 0x98000000 0x00 0x14000000>;
linux,cma-默认值;
};
};