From: Eric Nelson <eric.nelson@boundarydevices.com>
To: "PAPARO Nino (MM)" <nino.paparo@magnetimarelli.com>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: resolution not changing
Date: Thu, 16 May 2013 06:39:49 -0700 [thread overview]
Message-ID: <5194E1A5.8060708@boundarydevices.com> (raw)
In-Reply-To: <BD0864EDB115BF49BB58EF14BF245DAA3FA8DD1E28@MXCL14.fgremc.it>
Hi Nino,
On 05/16/2013 05:58 AM, PAPARO Nino (MM) wrote:
> Hi,
> 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@60 here instead of 800x480.
> but this does'nt seem to work.
> Any help would be appreciated.
>
> Nino
>
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
Regards,
Eric
next prev parent reply other threads:[~2013-05-16 13:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-15 22:05 resolution not changing Alexander Keller
2013-05-15 22:49 ` He Zheng
2013-05-15 23:12 ` Alexander Keller
2013-05-16 7:12 ` Erik Botö
2013-05-16 7:14 ` Eric Bénard
2013-05-16 12:58 ` PAPARO Nino (MM)
2013-05-16 13:29 ` Eric Bénard
2013-05-16 13:39 ` Eric Nelson [this message]
2013-05-20 14:32 ` PAPARO Nino (MM)
2013-05-20 16:24 ` Eric Nelson
2013-05-20 17:44 ` Eric Bénard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5194E1A5.8060708@boundarydevices.com \
--to=eric.nelson@boundarydevices.com \
--cc=meta-freescale@yoctoproject.org \
--cc=nino.paparo@magnetimarelli.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.