i.MX6 Linux BSP supported display resolution.

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

i.MX6 Linux BSP supported display resolution.

Jump to solution
975 Views
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

Tags (1)
0 Kudos
1 Solution
667 Views
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.

View solution in original post

0 Kudos
3 Replies
667 Views
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!
-----------------------------------------------------------------------------------------------------------------------

667 Views
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 Kudos
668 Views
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 Kudos