i.MX6 Linux BSP supported display resolution.

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

i.MX6 Linux BSP supported display resolution.

跳至解决方案
1,011 次查看
satoshishimoda
Senior Contributor I

Hi community,

We have a question about i.MX6 Linux BSP (L3.14.28).

I want to know the supported display resolution by L3.14.28.

What file should I read to check the supported resolution?

I found drivers/video/modedb.c, is this the one? or other file?

Best Regards,

Satoshi Shimoda

标记 (1)
0 项奖励
1 解答
703 次查看
Yuri
NXP Employee
NXP Employee

Hello,

Your understanding is right regarding " $ cat /sys/class/graphics/fbx/mode   // current activated resolution ".

As for "  $ cat /sys/class/graphics/fbx/modes " - it provides all supported (in current BSP realization)

modes.

Regards,

Yuri.

在原帖中查看解决方案

0 项奖励
3 回复数
703 次查看
Yuri
NXP Employee
NXP Employee

Hello,

To check supported modes please use the next Linux command :

$ cat /sys/class/graphics/fb0/modes

To define current mode  :

$ cat /sys/class/graphics/fb0/mode


Have a great day,
Yuri

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

703 次查看
satoshishimoda
Senior Contributor I

Hi Yuri,

Thank you for your prompt reply.

I executed the above commands, but I felt the commands do not show all the resolution.

I think the commands are as below, right?

$ cat /sys/class/graphics/fbx/modes  // current assigned resolution

$ cat /sys/class/graphics/fbx/mode   // current activated resolution

I want to know all the supported resolution that I can use without any source code modification.

For example, I did not get 800x480@60 by the above commands, but BSP supports this resolution since it supports CLAA-WVGA display.

Best Regards,

Satoshi Shimoda

0 项奖励
704 次查看
Yuri
NXP Employee
NXP Employee

Hello,

Your understanding is right regarding " $ cat /sys/class/graphics/fbx/mode   // current activated resolution ".

As for "  $ cat /sys/class/graphics/fbx/modes " - it provides all supported (in current BSP realization)

modes.

Regards,

Yuri.

0 项奖励