Hi, thank you for your answer.
I have decompiled the dtb file with dtc command. I have modified memory size 0x80000000 (before 0x40000000).
I have compiled the modified dts file with dtc and it is always the same. I have only 822 Mb of ram.
After I try to modify the reserved memory linux cma "shared-dma-pool" to 0x2000000. Without success, always the same amount of ram.
This is the begining of the original dts :
/dts-v1/;
/ {
interrupt-parent = <0x1>;
#address-cells = <0x2>;
#size-cells = <0x2>;
compatible = "amlogic,p281", "amlogic,s905w", "amlogic,meson-gxl";
model = "Amlogic Meson GXL (S905W) P281 Development Board";
reserved-memory {
#address-cells = <0x2>;
#size-cells = <0x2>;
ranges;
hwrom@0 {
reg = <0x0 0x0 0x0 0x1000000>;
no-map;
};
secmon@10000000 {
reg = <0x0 0x10000000 0x0 0x200000>;
no-map;
};
secmon@5000000 {
reg = <0x0 0x5000000 0x0 0x300000>;
no-map;
};
secmon@5300000 {
reg = <0x0 0x5300000 0x0 0x2000000>;
no-map;
};
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x38000000>;
alignment = <0x0 0x400000>;
linux,cma-default;
};
};
here is the cma size -----------------------------------------^
and somewhere else :
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x40000000>;
};
here is the memory size ------------------------------------------^
Can somebody help me ?
Thanks.