All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <meta-arago@emagii.com>
To: "Cooper Jr., Franklin" <fcooper@ti.com>,
	 "Dmytriyenko, Denys" <denys@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Color output (was: Build of qtbase fails due to no OpenGL libraries, but completes after cleaning qtbase)
Date: Thu, 03 Jul 2014 08:23:40 +0200	[thread overview]
Message-ID: <53B4F6EC.6070606@emagii.com> (raw)
In-Reply-To: <8F29D6B095ED194EA1980491A5E029710C6DAA36@DFLE08.ent.ti.com>

[-- Attachment #1: Type: text/plain, Size: 2411 bytes --]

 >> One issue which I need to investigate, is the colours.
 >> At boot, the Penguin appears with Blue feet, and not Yellow/Orange 
and the
 >> customer splash screen and applications also have the wrong colour.

 > [Franklin] I believe that color issue has to-do with the am335x errata
 >    (http://www.ti.com/lit/er/sprz360f/sprz360f.pdf (page 8). )
 > The BBB is hooked up to display correctly in 16bpp mode but if you 
use 24bpp then your colors will look messed up.
 > I recommend posting this question to e2e.ti.com and the right people 
can help you with this.

Did a posting there, yet to get a reply, so I am posting here as well.


My custom device-tree file was based on the LCD4 device tree files. Some 
excerpts:


         lcdc: lcdc@0x4830e000 {
             compatible = "ti,am33xx-tilcdc";
             reg = <0x4830e000 0x1000>;
             interrupt-parent = <&intc>;
             interrupts = <36>;
             clocks = <&lcd_gclk>;
             clock-names = "fck";
             ti,hwmods = "lcdc";
             status = "okay";
         };

/* fbdev entry */
&lcdc {
     pinctrl-names = "default";
     pinctrl-0 = <&bone_lcd4_cape_lcd_pins>;
     status = "okay";
     display-timings {
         480x272 {
             clock-frequency = <9000000>;
             hactive         = <480>;
             vactive         = <272>;
             hfront-porch    = <9>;
             hback-porch     = <44>;
             hsync-len       = <5>;
             vback-porch     = <13>;
             vfront-porch    = <4>;
             vsync-len       = <10>;
             hsync-active    = <0>;
             vsync-active    = <0>;
         };
     };
};

Any view on the correctness of this?

"omaplfb" loads with this. Is this because it (compatible = "ti") is true?
The "tilcdc" driver is not even compiled.

Is there any documentation on device tree bindings for the "omaplfb"?

Meanwhile, I am adding 'bpp = <16>;' based on other examples

         lcdc: lcdc@0x4830e000 {
             compatible = "ti,am33xx-tilcdc";
             reg = <0x4830e000 0x1000>;
             interrupt-parent = <&intc>;
             interrupts = <36>;
             bpp = <16>;
             clocks = <&lcd_gclk>;
             clock-names = "fck";
             ti,hwmods = "lcdc";
             status = "okay";
         };

BR
Ulf Samuelsson


[-- Attachment #2: Type: text/html, Size: 5285 bytes --]

  reply	other threads:[~2014-07-03  6:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <53B44965.5050502@emagii.com>
2014-07-02 18:05 ` [meta-ti] Build of qtbase fails due to no OpenGL libraries, but completes after cleaning qtbase Ulf Samuelsson
2014-07-02 18:13   ` Denys Dmytriyenko
2014-07-02 19:13     ` Ulf Samuelsson
2014-07-02 19:18       ` Denys Dmytriyenko
2014-07-02 19:22         ` Ulf Samuelsson
2014-07-02 19:34           ` Cooper Jr., Franklin
2014-07-02 19:36             ` Denys Dmytriyenko
2014-07-02 19:42               ` Cooper Jr., Franklin
2014-07-02 19:50                 ` Denys Dmytriyenko
2014-07-02 20:26             ` Ulf Samuelsson
2014-07-02 20:36               ` Cooper Jr., Franklin
2014-07-03  6:23                 ` Ulf Samuelsson [this message]
2014-07-03 11:43                   ` BBB Problem: No USB host at boot Ulf Samuelsson
2014-07-03 14:16                     ` Denys Dmytriyenko
2014-07-03 17:13                   ` Color output Ulf Samuelsson
2014-07-02 20:37               ` [meta-ti] Build of qtbase fails due to no OpenGL libraries, but completes after cleaning qtbase Ulf Samuelsson
2014-07-02 19:34           ` Denys Dmytriyenko

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=53B4F6EC.6070606@emagii.com \
    --to=meta-arago@emagii.com \
    --cc=denys@ti.com \
    --cc=fcooper@ti.com \
    --cc=meta-arago@arago-project.org \
    /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.