we plan to use a CSI camera, but not one of the drivers NVIDIA supplied, but one for which an external supplier has created a driver. Would it be possible to remove it then too?
How much memory is reserved for each the camdb and the ramoops? Device Tree is not my speciality, forgive me the question if I can’t read it from the dts.
Why is it that the previous system allowed the user to use the 8GB and now we get the same functionality with 1GB less?
From 5.10 kernel, to align with upstream, VPR memory carveout is static reserved. In 4.9 kernel it was resizable and seen as part of CMA memory.
CMA memory is considered as reclaimable memory which is accounted in available memory as well. So, more available memory should be seen on rel-32.
Dmesg from 5.10, cma is 64MB and VPR is not part of kernel memory.
[ 0.000000] Memory: 6944136K/7473856K available (18496K kernel code, 3174K rwdata, 7176K rodata, 4032K init, 1094K bss, 464184K reserved, 65536K cma-reserved)
while in rel-32 K4.9 , VPR is resizable and part of kernel memory.
[ 0.000000] Memory: 7192656K/8134656K available (15294K kernel code, 2968K rwdata, 6716K rodata, 8640K init, 616K bss, 188336K reserved, 753664K cma-reserved)
If the customer has no requirement for secure playback then he can completely disable VPR through device tree. Otherwise, static VPR has to be present.
thanks for your answer. In the Kernel the VPR is disabled and apparently in the device tree too:
\source\public\hardware\nvidia\soc\t19x\kernel-dts\tegra194-soc\tegra194-soc-memory.dtsi
which is included by tegra194-p3668-common.dtsi → tegra194-soc/tegra194-soc-cvm.dtsi → tegra194-soc/tegra194-soc-base.dtsi → tegra194-soc-memory.dtsi
I changed the file and recompiled the kernel (Wondering how it should change anything, the file is not even in the kernel source folder) , the device tree is unchanged and the 1GB is still missing…
Any idea what could be wrong?
the file is present in bootloader/t186ref/BCT and has nothing to do with kernel. this is a bootloader file and from here you need to disable vpr so that bootloader does not enable vrp in kernel during boot.
Just change the file and reflash the board