How to enable the HDMI for IMX8 QXP MEK with LVDS to HDMI converter

cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable the HDMI for IMX8 QXP MEK with LVDS to HDMI converter

4,248 Views
chongwang
Contributor I

I just got the IMX8 QXP MEK development (MCIMX8QXP-CPU), but the HDMI is not working. I used the attached mini SAS cable connecting the LVDS to HDMI converter to the MIPI-DIS0/LVDS0 connector. Please see the following for the U-Boot configuration. 

Can anyone tell me how to enable the HDMI output? 

Thanks.

U-Boot 2017.03-imx_4.9.51_8qm_beta1_8qxp_alpha+g106258e (Apr 14 2018 - 22:15:25 -0400)

CPU: Freescale i.MX8QXP revA A35 at 1200 MHz at 26C
Model: Freescale i.MX8QXP MEK
Board: iMX8QXP MEK
Boot: SD1
DRAM: 3 GiB
MMC: Actual rate for SDHC_0 is 396000000
Actual rate for SDHC_1 is 396000000
FSL_SDHC: 0, FSL_SDHC: 1
[pcie_ctrlb_sata_phy_init_rc] LNK DOWN 8600000
In: serial
Out: serial
Err: serial

BuildInfo:
- SCFW 9f3fa3da, IMX-MKIMAGE da676d67, ATF
- U-Boot 2017.03-imx_4.9.51_8qm_beta1_8qxp_alpha+g106258e

switch to partitions #0, OK
mmc1 is current device
Net: eth0: ethernet@5b040000 [PRIME]
Normal Boot
Hit any key to stop autoboot: 0
=> printenv
baudrate=115200
board_name=MEK
board_rev=iMX8QXP
boot_fdt=try
bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else booti ${loadaddr} - ${fdt_addr}; fi; fi; else booti ${loadaddr} - ${fdt_addr}; fi
bootcmd_mfg=run mfgtool_args;booti ${loadaddr} ${initrd_addr} ${fdt_addr};
bootdelay=3
bootscript=echo Running bootscript from mmc ...; source
commit_mkimage=da676d67
commit_scfw=9f3fa3da
console=ttyLP0,115200 earlycon=lpuart32,0x5a060000,115200
ethact=ethernet@5b040000
ethaddr=00:04:9f:05:57:0e
ethprime=eth0
fdt_addr=0x83000000
fdt_file=fsl-imx8qxp-mek.dtb
fdt_high=0xffffffffffffffff
fdtcontroladdr=fda8ed38
image=Image
initrd_addr=0x83800000
initrd_high=0xffffffffffffffff
loadaddr=0x80280000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
loadm4image_0=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4_0_image}
m4_0_image=m4_0.bin
m4boot_0=run loadm4image_0; dcache flush; bootaux ${loadaddr} 0
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" video=imxdpufb5:off video=imxdpufb6:off video=imxdpufb7:off clk_ignore_unused
mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} video=imxdpufb5:on video=imxdpufb6:off video=imxdpufb7:off
mmcautodetect=yes
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then booti ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi; else echo wait for boot; fi;
mmcdev=1
mmcpart=1
mmcroot=/dev/mmcblk1p2 rootwait rw
netargs=setenv bootargs console=${console} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp video=imxdpufb5:off video=imxdpufb6:off video=imxdpufb7:off
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${loadaddr} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then booti ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi; else booti; fi;
panel=NULL
script=boot.scr

0 Kudos
5 Replies

1,720 Views
adayan
Contributor I

Hi, 

This helped me on the IMX8 dev kit. 

iMX8M HDMI · compulab-yokneam/Documentation Wiki · GitHub 

Baiscally disabling EDID in device tree:

&hdmi {  fsl,no_edid;  status = "okay"; };
0 Kudos

1,720 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Chong

please try beta2 release described on

Alpha / Beta BSPs for Microprocessors|NXP 

with image Image-fsl-imx8qxp-mek-lvds0-it6263.dtb: IT6263 LVDS-HDMI adapter card connected LVDS port 0.

described in attached Release Notes Table 3. Kernel and device tree configurations

"L4.9.51_MX8_BETA2_LINUX_DOCS"
https://www.nxp.com/webapp/Download?colCode=L4.9.51_MX8_BETA2_LINUX_DOCS&Parent_nodeId=1454108179417... 
Linux Binary Demo Files – i.MX 8QXPlus MEK
https://www.nxp.com/webapp/Download?colCode=L4.9.51_MX8QX_Beta&appType=license&Parent_nodeId=1454108... 

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

0 Kudos

1,720 Views
chongwang
Contributor I

Hello Igor,

Thank you for your reply. I was working on another project these days, and just tested with the beta2 image. However, I still could not see anything showing on the HDMI monitor.  Can you please check my build commands and UBOOT configurations? I did not see any beta2 manifest with 8qxp, so I just used "imx-4.9.51-8qm_beta2.xml". I changed the device tree file to "fsl-imx8qxp-mek-lvds0-it6263.dtb", and turned on the "video=imxdpufb5:on video=imxdpufb6:on video=imxdpufb7:on", but it did not help. 

Thanks.

1. repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-morty -m imx-4.9.51-8qm_beta2.xml

2. repo sync

2. DISTRO=fsl-imx-x11 MACHINE=imx8qxpmek source fsl-setup-release.sh -b build-x11

3. bitbake fsl-image-validation-imx

U-Boot 2017.03-4.9.51_8qm_beta2_8qxp_beta+gda8c9e0 (May 19 2018 - 12:13:51 -0400)

CPU: Freescale i.MX8QXP revA A35 at 1200 MHz at 25C
Model: Freescale i.MX8QXP MEK
Board: iMX8QXP MEK
Boot: SD1
DRAM: 3 GiB
MMC: Actual rate for SDHC_0 is 333333333
Actual rate for SDHC_1 is 200000000
FSL_SDHC: 0, FSL_SDHC: 1
[pcie_ctrlb_sata_phy_init_rc] LNK DOWN 8600000
In: serial
Out: serial
Err: serial

BuildInfo:
- SCFW c873dc14, IMX-MKIMAGE 4352f717, ATF
- U-Boot 2017.03-4.9.51_8qm_beta2_8qxp_beta+gda8c9e0
switch to partitions #0, OK
mmc1 is current device
Net: eth0: ethernet@5b040000 [PRIME]
Error: ethernet@5b050000 address not set.

Normal Boot
Hit any key to stop autoboot: 0
=> printenv
baudrate=115200
board_name=MEK
board_rev=iMX8QXP
boot_fdt=try
bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loadimage; then run mmcboot; else run netboot; fi; fi; else booti ${loadaddr} - ${fdt_addr}; fi
bootcmd_mfg=run mfgtool_args;booti ${loadaddr} ${initrd_addr} ${fdt_addr};
bootdelay=3
bootscript=echo Running bootscript from mmc ...; source
commit_mkimage=4352f717
commit_scfw=c873dc14
console=ttyLP0,115200 earlycon=lpuart32,0x5a060000,115200
ethact=ethernet@5b040000
ethaddr=00:04:9f:05:56:fb
ethprime=eth0
fdt_addr=0x83000000
fdt_file=fsl-imx8qxp-mek-lvds0-it6263.dtb
fdt_high=0xffffffffffffffff
fdtcontroladdr=fda84d18
image=Image
initrd_addr=0x83800000
initrd_high=0xffffffffffffffff
loadaddr=0x80280000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}
loadm4image_0=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${m4_0_image}
loadxen=fatload mmc ${mmcdev}:${mmcpart} ${xen_addr} ${xen_file}
m4_0_image=m4_0.bin
m4boot_0=run loadm4image_0; dcache flush; bootaux ${loadaddr} 0
mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_storage.idProduct=0x37FF g_mass_storage.iSerialNumber="" video=imxdpufb5:off video=imxdpufb6:off video=imxdpufb7:off clk_ignore_unused
mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} video=imxdpufb5:on video=imxdpufb6:on video=imxdpufb7:on clk_ignore_unused
mmcautodetect=yes
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then booti ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi; else echo wait for boot; fi;
mmcdev=1
mmcpart=1
mmcroot=/dev/mmcblk1p2 rootwait rw
netargs=setenv bootargs console=${console} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp video=imxdpufb5:off video=imxdpufb6:off video=imxdpufb7:off
netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${loadaddr} ${image}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then booti ${loadaddr} - ${fdt_addr}; else echo WARN: Cannot load the DT; fi; else booti; fi;
panel=NULL
script=boot.scr
xen_addr=0x80200000
xen_file=xen
xenargs=setenv bootargs console=dtuart dtuart=/serial@5a060000 dom0_mem=1024M
xenboot=setenv loadaddr 0x80a00000; setenv fdt_file fsl-imx8qxp-mek-dom0.dtb; setenv bootargs console=dtuart dtuart=/serial@5a060000 dom0_mem=1024M; run loadfdt; run loadxen; run loadimage; fdt addr ${fdt_addr}; fdt set /chosen/module@0 reg <0x00000000 ${loadaddr} 0x00000000 0x${filesize}>; booti ${xen_addr} - ${fdt_addr}

 

0 Kudos

1,720 Views
deepamurugesan
Contributor I

Hi, Just got to read the problem you faced in making the HDMI UP in IMX8 QXP MEK board. I am also facing the same Issue with my MEK board.

I tried with  

manifest = imx-4.9.51-8qm_beta2.xml

Branch=imx-linux-morty

DISTRO=fsl-imx-fb

MACHINE=imx8qxpmek 

U-Boot Env:

fdt_file=Image-fsl-imx8qxp-mek-lvds0-it6263.dtb

bootargs=console=ttyLP0,115200 earlycon=lpuart32,0x5a060000,115200,115200 root=/dev/mmcblk1p2 rootwait rw video=imxdpufb5:on video=imxdpufb6:on video=imxdpufb7:on

I am trying to view the kernel boot log in the display connected to LVDS-HDMI converter. With the above build configurations I am unable to get anything in the display. Could you please help me to know how to fix the display issue in IMX8QXP MEK HW. It would be great if you could share the DISTRO / Manifest / Branch in which LVDS-HDMI display is working.

Thanks in advance

-Deepa

0 Kudos

1,720 Views
darsh_dev
Contributor V

Hi,

I was also facing the same issue on MEK board. I run the below mentioned commands to up the HDMI display and its working fine.

# export DISPLAY=:0
# xrandr --output HDMI-1 --mode 1024x768 (Try with the other mode resolution option)

Regards,

Darshak 

0 Kudos