[Buildroot] Setting RGB
Ezequiel Garcia
ezequiel at vanguardiasur.com.ar
Thu Feb 11 14:06:06 UTC 2016
Hey Gabriel,
On 10 February 2016 at 14:40, GabrielCastillo
<gcastillo at 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
More information about the buildroot
mailing list