Display lcd kernel 4.1.15

cancel
Showing results for 
Search instead for 
Did you mean: 

Display lcd kernel 4.1.15

164 Views
xarowubas
Contributor III

Dear NXP Community,

I am trying to setup a RGB LCD display with kernel 4.1.15 (imx6dl) and with UBoot I am able to show the logo.

On the boot phase the frame buffer is loaded:

mxc_sdc_fb fb@0: registered mxc display driver lcd

but I get an error "Division by zero in kernel" on the below function (ipu_disp.c)

div = clk_get_rate(clk_get_parent(ipu->pixel_clk_sel[disp])) / rounded_pixel_clk;

That's because the below function fails returning 0:

rounded_pixel_clk = clk_round_rate(ipu->pixel_clk[disp], pixel_clk);

The clock name and rate of ipu->pixel_clk[disp] (get with printk) are:

name: ipu1_pclk0

rate: 0

I think some clock definition is missing in the DTS but I could not figure it out..

Thank you very much for any suggestion

0 Kudos
1 Reply

102 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Xaro

one can look at various RGB LCD display with i.MX6Q(DL) examples on boundary devices

resources (nxp does not support such configuration in its bsps)

https://boundarydevices.com/configuring-i-mx6-machines-different-screens-nitrogen6x-sabre-lite/ 

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

0 Kudos