my borad base on imx6qsabrelite
it work well with 1GB ram.
now i want to check it's performance with 512MB.
so i set the RAM size to 512MB in dtb and uboot(physical memory is 1GB in fact),
but kernel boot will hang at :writel_relaxed(1 << CCM_CCGR_OFFSET(0), base + 0x7c);
this can reproduce very boot.
is there someone have any idear ?
many thansk
Solved! Go to Solution.
Hi hu
reason may be insufficient memory, one can try core-image-minimal
or for example decrease cma:
imx_v7_defconfig <---- change CONFIG_CMA_SIZE_MBYTES size
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
Iam also working on a board with 512MB and facing the same issue that it is getting stucked at:
writel_relaxed(1 << CCM_CCGR_OFFSET(0), base + 0x7c);
writel_relaxed(0, base + 0x80);
Can you give me some idea, how you have resolved this issue with 512M. Please help..
Hi hu
reason may be insufficient memory, one can try core-image-minimal
or for example decrease cma:
imx_v7_defconfig <---- change CONFIG_CMA_SIZE_MBYTES size
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igorpadykov:
thanks for your reply.
you are right. my CONFIG_CMA_SIZE_MBYTES reserved 256M memory.
after set it to 0, now my board can work well with 540M memory, by set mem=540M in cmdline.
but kernel still hang with 512M memory. i think maybe there is something esle reserved memory
as CONFIG_CMA_SIZE_MBYTES. now i will try to find it out.
also i will take try core-image-minimal as you suggest.