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.

AM62L-PROCESSOR-SDK: Weston support in the latest SDK

Part Number: AM62L-PROCESSOR-SDK
Other Parts Discussed in Thread: AM62L

Tool/software:

Hi Team,

While testing the new SDK release, I noticed that Weston GUI support appears to be removed from the build. In the previous SDK, running the command systemctl restart weston would successfully bring up the Weston interface on the display. However, in the new SDK, the same command fails with an error indicating that the Weston service is not available. I also tried manually adding the Weston service and socket files, but the service continues to fail. I would like to know how to properly restore Weston GUI support in the new SDK—specifically, which Yocto packages or recipes need to be added and where they should be included (such as in local.conf or the image recipe) to enable Weston and ensure the service is installed and starts correctly.

Regards, 
Dheeraj K

  • Which exact SD card image do you use? I can see Weston in my tisdk-default-image for SDK v11.00.05.02 here:

    root@am62lxx-evm:~# find /usr -name weston*
    /usr/bin/weston-simple-dmabuf-egl
    /usr/bin/weston-stacking
    /usr/bin/weston-scaler
    /usr/bin/weston-constraints
    /usr/bin/weston-tablet
    /usr/bin/weston-simple-dmabuf-feedback
    /usr/bin/weston-simple-damage
    /usr/bin/weston-launch-calibrator
    /usr/bin/weston-calibrator
    /usr/bin/weston-debug
    /usr/bin/weston-touch-calibrator
    /usr/bin/weston-resizor
    /usr/bin/weston-clickdot
    /usr/bin/weston-transformed
    /usr/bin/weston-multi-resource
    /usr/bin/weston-eventdemo
    /usr/bin/weston-simple-egl
    /usr/bin/weston-flower
    /usr/bin/weston-dnd
    /usr/bin/weston-subsurfaces
    /usr/bin/weston-screenshooter
    /usr/bin/weston-fullscreen
    /usr/bin/weston-smoke
    /usr/bin/weston-presentation-shm
    /usr/bin/weston-simple-shm
    /usr/bin/weston-image
    /usr/bin/weston-terminal
    /usr/bin/weston-simple-dmabuf-v4l
    /usr/bin/weston-simple-touch
    /usr/bin/weston-content_protection
    /usr/bin/weston-editor
    /usr/bin/weston
    /usr/bin/weston-cliptest
    /usr/share/weston-start
    /usr/share/libweston-13/protocols/weston-debug.xml
    /usr/share/libweston-13/protocols/weston-direct-display.xml
    /usr/share/libweston-13/protocols/weston-output-capture.xml
    /usr/share/libweston-13/protocols/weston-content-protection.xml
    /usr/share/wayland-sessions/weston.desktop
    /usr/share/weston
    /usr/lib/systemd/system/weston.socket
    /usr/lib/systemd/system/weston.service
    /usr/lib/weston
    /usr/libexec/weston-keyboard
    /usr/libexec/weston-simple-im
    /usr/libexec/weston-ivi-shell-user-

    Can you check if you have those files?

    If your issues are specific with SDK v11.00.15.05 I'll have a closer look at that version.

    Regards, Andreas

  • Yes My issue is with the new SDK - SDK v11.00.15.05  , where i can see the weston related commands like weston-simple-egl and others.But the weston service itself is missing as well as i cannot see the weston gui .

  • Hi Dheeraj,

    I was discussing with one of the developers today, and Weston itself is still part of that newer AM62L system image. What changed however is the way it is started. Rather than using `weston.service` via systemd which was considered a hack, Weston is now started through the `emptty` service. The `empptty` service provides a straightforward and resource-friendly way to log into a Linux system from a text console and launch your chosen desktop environment or window manager.

    $ systemctl start emptty
    
    $ systemctl stop emptty

    Regards, Andreas

  • Hi Andreas, 

    Thank you for that , Weston GUI is visible now.