[meta-freescale] resolution not changing
eric.nelson at boundarydevices.com
Thu May 16 06:39:49 PDT 2013
On 05/16/2013 05:58 AM, PAPARO Nino (MM) wrote:
> I'm having a similar issue with a 800x480 rgb screen, I'd like to change the colordepth to 24.
> The uboot setting I'm using is:
> setenv bootargs $bootargs video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666
> and I tried setting it to:
> setenv bootargs $bootargs video=mxcfb0:dev=lcd,800x480,if=RGB24
I think you want 800x480M at 60 here instead of 800x480.
> but this does'nt seem to work.
> Any help would be appreciated.
The "if=RGBx" parameter controls the output pixel format to match the
display. It doesn't change the frame-buffer memory layout.
For that, you want to use the 'bpp=N' flag.
setenv bootargs $bootargs video=mxcfb0:dev=lcd,CLAA-WVGA,bpp=24,if=RGB666
You can verify this after boot by looking in /sys:
# cat /sys/class/graphics/fb0/bits_per_pixel
More information about the meta-freescale