RGB sequence

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

RGB sequence

979 Views
VincentChou1z
Contributor III

Dear friends,

 

We tried to interface a different LCD panel with the EVK and discovered the output of the LCD is off completely.  It seems the disp data output from the EVK image is in RGB order but the outcome is like the panel needs an RBG order.  Does anyone know how we could switch the order of RGB data in the kernel?  Thanks for the help beforehand!

 

Vincent

Labels (1)
Tags (2)
0 Kudos
6 Replies

893 Views
VincentChou1z
Contributor III

By the way, our format requirements is BGR.  Do you know whether this has been implemented in the newest Linux BSP?

Thanks in advance!

0 Kudos

893 Views
VincentChou1z
Contributor III

Do you mean we have to implement the c code of ipu by ourselves?  In that case, we should just go straight into the coding phase of the c code directly.  Do you know whether Freescale is going to release a BSP with full functions of ipu in the future?

0 Kudos

893 Views
costermann
Contributor I

latest linux kernel provided by freescale is 2.6.35

If your format is not yet implemented you will need to do it by yourself.

0 Kudos

893 Views
VincentChou1z
Contributor III

Hi!  Christophe,

 

We tried to compile with a different parameter and discovered it has not been implemented in our BSP for the parameter we chose.  Is there a new version of BSP which covers most of the format in the include file?  Which BSP do you use?  Do we just need to add some c code into our list of files in the build?  Thanks in advance!

 

Vincent

0 Kudos

893 Views
VincentChou1z
Contributor III

Hi!  Christopher, 

 

Thanks for the suggestions!  Let us try it on our board!  

 

Vincent

0 Kudos

893 Views
costermann
Contributor I

Hi,

You can change format in mx51_babbage.c

in fb_data structure, smth like

 .interface_pix_fmt = IPU_PIX_FMT_BGR565,


BR
christophe

0 Kudos