Fb0 data format in imx6dp

cancel
Showing results for 
Search instead for 
Did you mean: 

Fb0 data format in imx6dp

298 Views
志林韩
Contributor I

Hi everyone:

   I got problems when getting /dev/fb0 data in imx6dp. I started the demo program Tutorial3_es20, and then I got the data in /dev/fb0 by the following command:dd if=/dev/fb0 of=fbfile. But I can't display it with the player vooya. And I learned that the format in framebuffer has become tiled by adding print.

   How should I solve this problem?

Labels (1)
0 Kudos
3 Replies

142 Views
b36401
NXP TechSupport
NXP TechSupport

i.MX6 has nothing special regarding to framebuffer format.
You can refer to common Linux documentation:
https://www.kernel.org/doc/Documentation/fb/framebuffer.txt

0 Kudos

142 Views
志林韩
Contributor I

Hi Victor,

      When I start the demo tutorial3_es20, the dada format in /dev/fb0 change from IPU_PIX_FMT_BGR32 to IPU_PIX_FMT_GPU32_SRT which is tiled format. So I can't take a screenshot by reading the data in /dev/fb0. This situation only appears on i.MX6dp, In our i.MX6d board, the data format in /dev/fb0 is IPU_PIX_FMT_BGR32.

       And I think that it's the prefetch and resolve engine in i.MX6dp affect the format in fb.

BTW: We use the 3.14.52 version of the Linux kernel.

Thanks!

0 Kudos

142 Views
b36401
NXP TechSupport
NXP TechSupport

I can suspect that some change in Linux kernel affected framebuffer format.
Please try to use latest one.

0 Kudos