Not able to get display on LVDS0 on i.Mx8QXP custom board.

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

Not able to get display on LVDS0 on i.Mx8QXP custom board.

1,652 Views
kailas_kharse
Contributor IV

Hello,

We have developed a custom board using i.MX8QXP C0, We have leveraged the design on MEK, the difference in MEK and Potot is listed below. We are using "Single DSI0 / LVDS CONNECTOR"

1. Mini SAS connected mounting position is changed from Vertical to Horizontal.
2. Removed voltage translator U203, Adding pullup to MIPI_DSI0_EN (J1.A11 pin)
3. Removing 12V power to a connector, changing power rails as per load switch.

I am able to boot the board, But I am not able to get the display on HDMI Display.

Also, there is no Splash Screen appearing on HDMI Display

Can you help us what are the changes required do be done, I have also referred the linux porting guide, I did not found much information available there.

 

Thanks & Regards,

Kailas Kharse

0 Kudos
7 Replies

1,564 Views
kailas_kharse
Contributor IV

Hello Igore,

I am able to get the display in U-boot and In Kernel, but I am not able to change the resolution of the display.

I want to change the resolution of the display from 720p to 1080p.

What are the changes expected in Kernel?

 

Thanks & Regards,
Kailas K.

 

0 Kudos

1,606 Views
kailas_kharse
Contributor IV

Hello Igor,

While booting I am seeing the below issue in U-boot, Can you please provide any pointer why I am getting this error.


[*]-Video Link 0probe device is failed, ret 3
(1280 x 720)
[0] dpu@56180000, video
[1] lvds-channel@0, display
[2] lvds-to-hdmi-bridge@4c, video_bridge

 

Thanks & Regards,

Kailas K.

0 Kudos

1,560 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kailas

 

this is because uboot expects connection of lvds-to-hdmi-bridge IT6263 :

in struct display_info_t const displays[]  :

https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8qxp_mek/imx8qxp_mek.c?...

 

Best regards
igor

0 Kudos

1,549 Views
kailas_kharse
Contributor IV

Hello Igor,

I am using Yocto version "imx_v2020.04_5.4.24_2.1.0", I did not found any structue "struct display_info_t const displays[] :" at the location "board/freescale/imx8qxp_mek/imx8qxp_mek.c".

Can you please guide me for the "imx_v2020.04_5.4.24_2.1.0" Where should I look, I did not found any similar structure in u-boot for this particular branch.

 

Thanks & Regards,

Kailas K.

0 Kudos

1,646 Views
igorpadykov
NXP Employee
NXP Employee

1,503 Views
kailas_kharse
Contributor IV

Hello Igor,

I am able to get the display, but I am not able to change the resolution to 1080p.

I am using " imx_5.4.24_2.1.0" Linux Version. Can you please tell what are other things I need to look into.

I have also modified the "imx8x-mek-jdi-wuxga-lvds0-panel.dtsi" file with below changes.

fsl,data-mapping = "spwg";
fsl,data-width = <24>;

+ display-timings {
+ native-mode = <&timing0>;
+
+ timing0: timing0 {
+ clock-frequency = <74250000>;
+ hactive = <1920>;
+ vactive = <1080>;
+ hfront-porch = <220>;
+ hback-porch = <110>;
+ hsync-len = <40>;
+ vback-porch = <5>;
+ vfront-porch = <20>;
+ vsync-len = <5>;
+ };
+ };
+
port@1 {
reg = <1>;

Using above changes I am not able to change the resolution to 1080p.

Also I am not able to find the file "https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel/panel-simple.c?h=imx...  in "imx_5.4.24_2.1.0".

Can you please point me to exact file or exact change I need to follow?

 

Thanks & Regards,

Kailas K.

0 Kudos

1,598 Views
kailas_kharse
Contributor IV

Hello Igor,

While booting I am seeing the below issue in U-boot, Can you please provide any pointer to why I am getting this error.

Boot: MMC0
DRAM: 1022 MiB
setup_typec lookup GPIO5_9 failed ret = 3
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

[*]-Video Link 0probe device is failed, ret 3
(1280 x 720)
[0] dpu@56180000, video
[1] lvds-channel@0, display
[2] lvds-to-hdmi-bridge@4c, video_bridge
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0(part 0) is current device
flash target is MMC:0

 

Can you help how I can debug this issue?

 

Thanks & Regards,

Kailas K.

0 Kudos