my borad base on imx6qsabrelite, but now hang in func imx6q_clocks_init at writel_relaxed(1 << CCM_CCGR_OFFSET(0), base 0x7c); this can reproduce very boot. is there someone have any idear ? many thansk

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

my borad base on imx6qsabrelite, but now hang in func imx6q_clocks_init at writel_relaxed(1 << CCM_CCGR_OFFSET(0), base 0x7c); this can reproduce very boot. is there someone have any idear ? many thansk

Jump to solution
806 Views
hushange
Contributor I

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

Labels (3)
0 Kudos
1 Solution
653 Views
igorpadykov
NXP Employee
NXP Employee

Hi hu

reason may be insufficient memory, one can try core-image-minimal

O.S. Systems

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!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
653 Views
srinivasaporam
Contributor II

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..

0 Kudos
654 Views
igorpadykov
NXP Employee
NXP Employee

Hi hu

reason may be insufficient memory, one can try core-image-minimal

O.S. Systems

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!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
653 Views
hushange
Contributor I

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.

0 Kudos