How to add new customise HDMI resolution

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

How to add new customise HDMI resolution

1,217 次查看
himanshubhavani
Contributor I

 

Hello All

Board: imx8m
weston version 9

I am trying to find the way to add new customise resolution in hdmi
currently available resolutions are:-

root@imx8mp-cgtqx8p:~# cat /sys/class/drm/card1-HDMI-A-1/modes                                                                                
1920x1080
1920x1080
1920x1080
1920x1080
1280x1024
1280x1024
1280x960
1152x864
1280x720
1280x720
1280x720
1280x720
800x600
800x600
720x576
720x480
720x480
720x480
720x480

I want to add “1280x800” customise resolution because the second display which is lvds has this resolution.

root@imx8mp-cgtqx8p:~# cat /sys/class/drm/card1-DPI-1/modes 
1280x800

And I am trying to clone lvds to hdmi display. Is some one help me here how can i do that ?

标签 (1)
0 项奖励
回复
2 回复数

1,184 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport
0 项奖励
回复

1,172 次查看
himanshubhavani
Contributor I

Hi @Bio_TICFSL 

Thanks for your support.

On my toradex board (imx8) I successfully able to set customise resolution using this command from u-boot command

setenv vidargs video=HDMI-A-1:1280x800@60e

And after that it will set on cmdline and showing on /modes

cat /proc/cmdline 
root=PARTUUID=94874b25-02 ro rootwait console=tty1 console=ttymxc2,115200 consoleblank=0 earlycon video=HDMI-A-1:1280x800@60e

cat /sys/class/drm/card1-HDMI-A-1/modes 
1280x800
1280x720
1280x720
1280x720
800x600
720x576
640x480
640x480
720x400

Also it is “1280x800” reflected on display. but in another board I am not able to set. that board is congatec imx8 when i set video like

setenv mmcargs "setenv bootargs console=${console},${baudrate} earlycon root=/dev/mmcblk${mmcdev}p${mmcpart} rootwait rw rootfs=ext4 video=DSI-1:1280x800@60e"

it will showing on /cmdline but not showing in /sys/class/drm/card1-HDMI-A-1/modes

Can you help me what is the issue here why customise resolution set on toradex board and not on imx8?

0 项奖励
回复