Hi,

I have installed the "ubuntu-16.04.1-console-armhf-2017-01-23" from <URL:
http://elinux.org/BeagleBoardUbuntu> on the SSD for BBB. I have installed
different stuffs to have a "desktop" like LXDE. To enable "Xorg Drivers" I
have ran

$ /opt/scripts/tools/graphics/ti-tilcdc.sh

Everything is fine for HDMI.

However, I have a LCD (ER-TFT050-3  1B) connected to BBB. I have customized
the Device Tree as follow to drive the LCD:

&lcdc {
    status = "okay";
};

/ {
    panel {
        status = "okay";
        compatible = "ti,tilcdc,panel";
        pinctrl-names = "default";

        panel-info {
            ac-bias        = <255>;
            ac-bias-intrpt = <0>;
            dma-burst-sz   = <16>;
            bpp            = <16>;
            fdd            = <0x80>;
            sync-edge      = <0>;
            sync-ctrl      = <0>;
            raster-order   = <1>;
            fifo-th        = <0>;
        };
        display-timings {
            native-mode = <&timing0>;
            timing0: 800x480 {
                clock-frequency = <50000000>;
                hactive         = <800>;
                vactive         = <480>;
                hfront-porch    = <40>;
                hback-porch     = <88>;
                hsync-len       = <30>;
                vback-porch     = <32>;
                vfront-porch    = <13>;
                vsync-len       = <2>;
                hsync-active    = <0>;
                vsync-active    = <0>;
                de-active       = <1>;
                pixelclk-active = <0>;
            };
        };
    };
};

My xorg.conf is also as follow:

Section "Monitor"
        Identifier      "Builtin Default Monitor"
EndSection

Section "Device"
        Identifier      "Builtin Default fbdev Device 0"
        Driver          "fbdev"
        Option          "SWCursor"      "true"
EndSection

Section "Screen"
        Identifier      "Builtin Default fbdev Screen 0"
        Device          "Builtin Default fbdev Device 0"
        Monitor         "Builtin Default Monitor"
        DefaultDepth    16
EndSection

Section "ServerLayout"
        Identifier      "Builtin Default Layout"
        Screen          "Builtin Default fbdev Screen 0"
EndSection

The problem is there the red and the blue are inverted on the LCD as far as
I keep the line

Driver          "fbdev"

in xorg.conf! If I comment this line "Driver          "fbdev"" from
xorg.conf the colors become fine, but I have a slow desktop!

Would you please help me to figure out what is wrong with my
configurations?

Best regards

-- 
Home page: http://sites.google.com/site/mostafayaghobi/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAACXRKxm0HX7US6%2BKA4bNctAh6SA3UAEn%2B1kk0mnO1mG7udW0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to