i.MX8QXP Reserved Memory Size

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8QXP Reserved Memory Size

884 Views
Kazuma_Sasaki
Senior Contributor I

Hi,

My customer is making a product with i.MX8QuadXPlus and Linux BSP L4.14.98_2.0.0_ga.

They would like to reduce a memory size from cost point of view.

However, current linux BSP has consumed around 270MiB for reserved for system.

We seems it is difficult to apply low-specification platform such as DRAM density 512MiB.

How do we reduce these reserved memory? Can you provide us any advice to reduce reserved memory size? 

[    0.000000] Linux version 4.14.78-imx_4.14.78_1.0.0_ga+g66620c3 (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Tue Dec 4 04:00:25 UTC 2018

[    0.000000] Memory: 1815668K/3068928K available (13500K kernel code, 1660K rwdata, 6012K rodata, 1280K init, 444K bss, 270220K reserved, 983040K cma-reserved)

root@imx8qxpmek:~# free -h -k

total used free shared buff/cache available
Mem: 2.7G 362M 2.2G 8.8M 83M 2.2G
Swap: 0B 0B 0B

Best Regards,

Kazuma Sasaki.

Labels (1)
Tags (1)
0 Kudos
3 Replies

757 Views
Kazuma_Sasaki
Senior Contributor I

Hi Markus, igor,

I really appreciate your support. I will try reserved-memory adjustment.

Best Regards,

Kazuma Sasaki.

0 Kudos

757 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kazuma

one can try to adjust "reserved-memory" in fsl-imx8dx.dtsi

fsl-imx8dx.dtsi\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

For finding optimal settings for customer design and software configuration may be

recommended to proceed with help of extended support of NXP Professional Services | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

757 Views
Niebel-TQ
Contributor IV

Hello,

just a few thoughts. If there is any IP with reserved memory that you do not use in your design, you could just remove the nodes (both for ip and the reserved memory) from the device tree. Depending on the dispaly in use you can also eyperiment with lowering the GPU reserved memory size.

Best Regards

Markus Niebel

0 Kudos