This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/am5728: Starting display at boot time

Part Number: AM5728
Other Parts Discussed in Thread: THS8200, AM5728

Tool/software: Linux

Hi

GoodDay, We interfaced a vga monitor with am5728 using ths8200, Now Display is not starting while booting.

if i start weston  and matrix-gui-2.0 services using the command /etc/init.d/weston start and /etc/init.d/matrix-gui-2.0 - display is up with all Hsyc.Vsync and RGB data,

How to make display active while boot time ?

Thanks & Regards

Aslam

  • The software team have been notified. They will respond here.
  • There are lot of unknowns for us to comment. Please tell us  -

    1. Have you written a driver? Where's the code?
    2. Have you made dts changes? If so, what are those changes?
    3. What does boot log show?
    4. What kind of custom board do you  have?
    5. What's your need from display to work at boot time?

  • Hi Manisha,

    1- The driver THS8200 is present in the BSP, I didn't make any changes to the driver.

    2 - Yes, I edited am57xx-beagle-x15-common.dtsi file .
    Added Display2 = &lcd1 for aliases.
    Added display timing for SVGA standard

    lcd1: display {
    compatible = "ti,ths8200", "panel-dpi";

    label = "lcd";
    /*enable-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;*/

    panel-timing {
    clock-frequency = <40000000>;
    hactive = <800>;
    vactive = <600>;
    hfront-porch = <40>;
    hback-porch = <88>;
    hsync-len = <128>;
    vback-porch = <23>;
    vfront-porch = <1>;
    vsync-len = <4>;
    hsync-active = <1>;
    vsync-active = <1>;
    de-active = <0>;
    pixelclk-active = <1>;
    };
    port {
    lcd_in: endpoint {
    remote-endpoint = <&dpi_out>;
    };
    };
    };


    We are using Vout2 for vga. so selected dss port reg =1

    &dss {
    status = "ok";
    ports {
    #address-cells = <1>;
    #size-cells = <0>;

    port {
    reg = <1>;

    dpi_out: endpoint {
    remote-endpoint = <&lcd_in>;
    data-lines = <24>;
    };
    };

    };
    };

    3 - boot log showing weston.service is started but display is not active(no Hsync,Vsync) until i manually start using /etc/init.d/weston start

    log showing
    Starting weston.service...
    [ OK ] Started weston.service.

    4- We are using AM5728EVM custom board.

    5 - We Have requirement that we need LCD and VGA Display output .

    Looking forward to hear from you.

    Thanks & Regards
    Aslam
  • The weston auto start problem while booting has been resolved.

    To start weston service it's required a input device events. so when weston is starting those input event services are not up.
    so while starting the weston it's look for the input event in /dev/input/event* if it's not up the weston will fail to start.

    To resolve this issue i changed the starting priority of weston.
    the starting rc file is present on the location /etc/rc5.d/ default value was 'S09weston' . That changed to S96weston.
    to change link the new S96weston to it's actual script present in init.d directory

    ###################
    ln -s /etc/init.d/weston /etc/rc5.d/S96weston

    reboot the system

    next time the input event will start before weston get started .

    Hope this will help somebody.

    Thanks & Regards
    Aslam