Why does imx6sl board hang on booting at lcdif initialization?

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

Why does imx6sl board hang on booting at lcdif initialization?

Jump to solution
777 Views
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

Labels (2)
Tags (3)
0 Kudos
1 Solution
651 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
652 Views
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 Kudos
651 Views
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 Kudos