AnsweredAssumed Answered

i.MX6 - Yocto GUI with 24bpp display

Question asked by Abdul Raseeth Ansari on Sep 10, 2015
Latest reply on Sep 14, 2015 by Abdul Raseeth Ansari

Hi,

 

We are using imx6Q custom platform for our development which is based on sabresd platform.

We are using Linux 3.14.28_1.0.0-GA BSP for our development.

 

Our primary display is connected with LVDS0. The pixel format is RGB24 and bpp is 24. Here we are able to get the yocto GUI properly.

Then we tried to dump a raw picture (cat red.raw > /dev/fb0) on the display. But the LCD is not displaying the exact image. 

 

We found that the Yocto GUI changes the display format to 16bpp. Please find the fbset values in below and the bpp is set to 16bpp here.

fbset

mode "1024x768-53"

    # D: 56.883 MHz, H: 42.324 kHz, V: 52.511 Hz

    geometry 1024 768 1024 768 16

    timings 17580 160 24 29 3 136 6

    rgba 5/11,6/5,5/0,0/0

endmode

 

Later, we have forced the display bpp into 24 bpp by below command.  In this case, the Yocto GUI is not proper but the raw picture is proper format.

fbset -fb /dev/fb0 -depth 24

 

We want the Yocto GUI in 24bpp format so that we can dump the raw picture in proper format and proper Yocto GUI in 24bpp.

 

Please suggest us.

 

Thank You,

Regards,

Ansari

Outcomes