Anyway I still have 6.7GB memory. The device tree still shows that the vpr-carveout is enabled, I am not sure if that should be updated if it is controlled through the bootloader.
Iāve found the issue. The file you told me is orphaned. It is nowhere used in the l4t. The correct file is:
tegra194-memcfg-sw-override.cfg, without the ā-l4tā
You might want to delete the unused file in the next release.
Now we have:
Checked on release R32: Free shows 7959912 total memory
Checked on release R35: Free shows 7019444 total memory
Release R35 without VPR: 7710608 total memory
What else do we need to disable to get the last 250MB?
I have dumped both files for the current released and compared them to the R32. I could not see anything in the reserved-memory block which obviously causes the memory difference. I am not able to understand the whole device tree though.
Hi, I am assuming, you have got the rel32 iomem data without being a root user, as a result all data are zero.
Please attach the dmesg logs also.
Delete the nodes under reserved-memory and see it helps.
As asked earlier, can you delete the cambdg_caeveout from dt,
it could be that the memory is reserved irrespective of state of the node.
check the driver for this compatible = ānvidia,camdbg_carveoutā;
R32:
htop: 7.59GB
free: 7959912 (same as htop with /(1024*1024))
dmesg: 7190540K/8132608K
R35 without vpr carvout:
htop: 7.35GB
free: total 7710540 (same as htop with /(1024*1024))
dmesg: 7633096K/8161984K
Yes dmesg shows even more memory for R32, with less available. But in the end in the system you have 240MB less for actual use in R35. There has to be some reason for this or not?
Iād understand it if you told me that R35 does something more or better than R32. But on the same hardware without improvements, Iād expect to have the same memory.
there are many improvements in rel-35. the memory missing is allocated to optee, uefi and for some inter-r5-shmem usecases.
Not possible to be made available in rel-35.
You can stick to rel-32 and use upstream kernel to retain the 240MB of space and also move to latest kernel
that is very unfortunate. We are planning on using Orin NX or Orin Nano for the finished product, those both are not supported by Rel32.
Itās quite sad that the boards are not usable with the advertised memory. Our decision to use the board was based on itās specifications. Every bit of missing memory will make our application slower.
We do not require optee, are you sure that it cannot be removed?
Why does the ARM implementation of UEFI burn system memory compared to the X64 implementation? I initially was happy that you adopt uefi, but the price of paying system memory is too high!
I have not read about inter-r5-shmem. What can we do with that?