All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] Setting RGB
Date: Thu, 11 Feb 2016 11:06:06 -0300	[thread overview]
Message-ID: <CAAEAJfBS36gKR3P_-MZ888yMi4y=piVN=x77F07z0-+=Bpxv0Q@mail.gmail.com> (raw)
In-Reply-To: <1455126039107-125494.post@n4.nabble.com>

Hey Gabriel,

On 10 February 2016 at 14:40, GabrielCastillo
<gcastillo@controlnet.com.ar> wrote:
> I'm using:
> - SAMA5D3x
> -Atmel
> - The Display is a Multiino MI0500PT-7
>
> I don't know if on QT4 works, but i need to make an App on QT5.
>

I really don't think this has anything to do with Qt. See below.

> I have configure a panel-simple.c with:
>
> static const struct drm_display_mode multiinno_mi0500pt_mode = {
>   ????.clock = 30000,
>   ????.hdisplay = 800,
>   ????.hsync_start = 800 + 2,
>   ????.hsync_end = 800 + 2 + 41,
>   ????.htotal = 800 + 2 + 41 + 2,
>   ????.vdisplay = 480,
>   ????.vsync_start = 480 + 2,
>   ????.vsync_end = 480 + 2 + 41,
>   ????.vtotal = 480 + 2 + 41 + 2,
>   ????.vrefresh = 60,
>   ????.flags = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
>   };
>
>   static const struct panel_desc multiinno_mi0500pt = {
>   ????.modes = &multiinno_mi0500pt_mode,
>   ????.num_modes = 1,
>   ????.bpc = 8,
>   ????.size = {
>   ????????.width = 108,
>   ????????.height = 65,
>   ????},
>   ????.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> };
>

So I presume you have a framebuffer device at /dev/fb0. In that case,
you can enable the Buildroot package for the framebuffer tests
(BR2_PACKAGE_FB_TEST_APP) and the run "fb-test".

You should get this:

https://wiki.chiliboard.org/images/7/78/Fb-test.png

See how blue matches blue, red matches red, etc.

Can you do this and let us know?
-- 
Ezequiel Garc?a, VanguardiaSur
www.vanguardiasur.com.ar

  reply	other threads:[~2016-02-11 14:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-04 14:28 [Buildroot] Setting RGB Gabriel Andrés Castillo
2016-02-04 19:55 ` Peter Seiderer
2016-02-10 17:40   ` GabrielCastillo
2016-02-11 14:06     ` Ezequiel Garcia [this message]
2016-02-11 14:04       ` GabrielCastillo
2016-02-11 14:46         ` Ezequiel Garcia
2016-02-11 14:48           ` Ezequiel Garcia
2016-02-11 15:09       ` GabrielCastillo
2016-02-11 20:52         ` Peter Seiderer
2016-04-12 11:45           ` Leonardo Giordano
2016-04-13 13:35             ` Leonardo Giordano
2016-04-13 20:54               ` Peter Seiderer

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='CAAEAJfBS36gKR3P_-MZ888yMi4y=piVN=x77F07z0-+=Bpxv0Q@mail.gmail.com' \
    --to=ezequiel@vanguardiasur.com.ar \
    --cc=buildroot@busybox.net \
    /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.