I am using nitrogen6x Solo board with 1GB DDR3 RAM with 3.0.35 kernel.
I wanted to try to limit the available memory to 128 MB. I have tried to change the DDR_MB size on the boards.cfg in U-Boot with no luck.
Can someone point me the proper step to do this?
Hi Yuldi,
You can add "mem=128M" to the kernel command-line by editing the boot script (6x_bootscript.txt).
The on-line boot script compiler can convert back to the binary form:
http://git.boundarydevices.com/bootscript.php
Regards,
Eric
Thanks Eric.
Actually the issue was the reserved memory for the GPU was more than the memory size. I reduced the size and I was able to boot just fine.
After the boot I noticed that there is still 16900k reserved, as follows:
Memory: 120MB = 120MB total
Memory: 114172k/114172k available, 16900k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
...
May I know what other configurations to adjust the kernel reserved memory?
Hi Yuldi,
This isn't information that I have readily available, but in 3.0.35, you can check through the board startup file:
linux-imx6/board-mx6_nit6xlite.c at boundary-imx_3.0.35_4.1.0 · boundarydevices/linux-imx6 · GitHub
Sorry. I thought you said Nitrogen6_Lite.
The corresponding Nitrogen6x solo code is here:
linux-imx6/board-mx6_nitrogen6x.c at boundary-imx_3.0.35_4.1.0 · boundarydevices/linux-imx6 · GitHub