Why does imx6sl board hang on booting at lcdif initialization?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Why does imx6sl board hang on booting at lcdif initialization?

跳至解决方案
1,451 次查看
sujay1
Contributor V

I'm using an imx6sl-evk board with 512 MB lpddr2 som, I use yocto bsp and I've compiled and flashed the images successfully however on booting the kernel hangs at:

Console: switching to colour frame buffer device 30x40

on proper booting the next line is supposed to read

mxsfb 20f8000.lcdif: initialized

but the kernel just hangs on the previous line, what changes do I need to make to kernel source to have it boot correctly?

I've attached the log of the non working board and another log of a board that boots fine but has 1GB DRAM

标签 (2)
标记 (3)
0 项奖励
回复
1 解答
1,325 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Sujay

for 512MB one can try to change cma size as in example

imx6ull-9x9-evk.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

also check if lcdif clock is enabled by register CCM CCM_CCGR3.

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,326 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Sujay

for 512MB one can try to change cma size as in example

imx6ull-9x9-evk.dts\dts\boot\arm\arch - linux-imx - i.MX Linux kernel 

also check if lcdif clock is enabled by register CCM CCM_CCGR3.

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

0 项奖励
回复
1,325 次查看
sujay1
Contributor V

Thanks for the reply igor,

The issue was solved by commenting the function 

ret = mxsfb_overlay_map_video_memory(fbi, ofb);

found in drivers/video/fbdev/mxsfb.c

0 项奖励
回复