How to use HDMI display in i.mx6

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

How to use HDMI display in i.mx6

4,429 次查看
huhyangjae
Contributor I

My custom board specification is..

CPU : i.mx6 Quad

Kernel version : 4.1.15

Filesystem : linux Xwayland (build in yocto and upgrade Qt 5.8.0)

I modified uboot to output the screen to HDMI and modified the kernel.

Uboot cmdline is below

Uboot > video=mxcfb0:dev=hdmi,1280x720@60,if=RGB24,bpp=24

Uboot > mmcargs=setenv bootargs console=ttymxc3,115200 root=/dev/mmcblk3p2 rootwait rw video=mxcfb0:dev=hdmi,1280x720@60,if=RGB24,bpp=24

As a result, Uboot is good at output. While the kernel is in progress, the openembedded loading screen also works well, but the screen does not appear when booting is completed.

Exactly on the debug serial of the PC is the following message.

Freescale i.MX Release Distro 4.1.15-2.1.0 imx6qsabresd /dev/ttymxc3

imx6qsabresd login: Failed to create display (No such file or directory)

And on the screen where hdmi is connected, it comes out as below.

Freescale i.MX Release Distro 4.1.15-2.1.0 imx6qsabresd /dev/tty1

imx6qsabresd login:

I thought it was a kernel problem, but I changed the file system to X11 and it prints normally. This seems to be a compatibility issue with wayland, not kernel issues.

How can I output the screen from the HDMI display? Please let us know if you need to modify export  command line or weston.ini.

0 项奖励
回复
3 回复数

3,459 次查看
syamkrishnan_m
Contributor II

Hi Huh,

If you fixed this issue ,please post the solution as Iam also facing same issue with IMX7dual.

 

Thanks in advance

Sam

0 项奖励
回复

3,459 次查看
syamkrishnan_m
Contributor II

Hi Huh,

If you fixed this issue ,please posat the solution as Iam also facing same issue with IMX7dual.

Thanks in advance

Sam

0 项奖励
回复

3,459 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Huh

please try official nxp bsps described on

https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-soft... 

linux-imx - i.MX Linux kernel 

https://community.nxp.com/docs/DOC-98109 

Or extensive hdmi usage description from third parties

HDMI - Boundary Devices 

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

0 项奖励
回复