Skip to main content
Visitor II
March 13, 2024
Solved

run Weston fail on Buildroot

  • March 13, 2024
  • 1 reply
  • 2373 views

 

Hi,

The MP157F-DK2 comes with an SD card attached. Weston (ver 5.0.0) with DRM works well.
But if I want to run Weston(ver 10.0.1) on Buildroot, it will fail.

Do I need to build more packages for Weston?

I am using the version of Buildroot.

a. buildroot: remotes/origin/st/2023.02.6
b. buildroot-external-st: remotes/origin/st/2023.02.2

 

This is the failure log, and the attachment is the success log of the SD card that comes with the MP157F-DK2.

# export XDG_RUNTIME_DIR=/run/user/root
# mkdir --parents $XDG_RUNTIME_DIR
# chmod 0700 $XDG_RUNTIME_DIR

# weston --tty=1
[00:01:34.112] weston 10.0.1
 https://wayland.freedesktop.org
 Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
 Build: 2021.05-10575-gae4a6e0c24
[00:01:34.113] Command line: weston --tty=1
[00:01:34.113] OS: Linux, 6.1.28, #1 SMP PREEMPT Tue Feb 20 15:20:37 CST 2024, armv7l
[00:01:34.113] Flight recorder: enabled
[00:01:34.113] Starting with no config file.
[00:01:34.114] Output repaint window is 7 ms maximum.
[00:01:34.114] Loading module '/usr/lib/libweston-10/drm-backend.so'
[00:01:34.118] initializing drm backend
[00:01:34.118] Trying weston_launch launcher...
[00:01:34.118] could not get launcher fd from env
[00:01:34.118] Trying direct launcher...
[00:01:34.123] using /dev/dri/card0
[00:01:34.123] DRM: supports atomic modesetting
[00:01:34.123] DRM: supports GBM modifiers
[00:01:34.123] DRM: supports picture aspect ratio
[00:01:34.123] Compiled without GBM/EGL support
[00:01:34.123] failed to initialize egl
[00:01:34.123] fatal: failed to create compositor backend

 

Would you give an advice?

Thanks for reading.

 

    This topic has been closed for replies.
    Best answer by Kevin HUBER

    Hello @wG.1 ,

     

    For question specific to buildroot, it is recommended to contact our partner that support buildroot on our STM32MP1 platforms:

    https://wiki.st.com/stm32mpu/wiki/STM32_MPU_ecosystem_release_note_-_v5.0.0#Buildroot_-28Arm-C2-AE_Cortex-C2-AE-A7-29

     

    Bootlin has developed specific support, demonstration configurations and documentation to help ST customers use Buildroot on STM32MP1 platforms.
     

    See https://www.st.com/content/st_com/en/partner/partner-program/partnerpage/Bootlin.html
    To address Bootlin technical support: buildroot-st-support@bootlin.com

    Hope it helps,

    Best Regards,

    Kevin

    1 reply

    Technical Moderator
    April 9, 2024

    Hello @wG.1 ,

     

    For question specific to buildroot, it is recommended to contact our partner that support buildroot on our STM32MP1 platforms:

    https://wiki.st.com/stm32mpu/wiki/STM32_MPU_ecosystem_release_note_-_v5.0.0#Buildroot_-28Arm-C2-AE_Cortex-C2-AE-A7-29

     

    Bootlin has developed specific support, demonstration configurations and documentation to help ST customers use Buildroot on STM32MP1 platforms.
     

    See https://www.st.com/content/st_com/en/partner/partner-program/partnerpage/Bootlin.html
    To address Bootlin technical support: buildroot-st-support@bootlin.com

    Hope it helps,

    Best Regards,

    Kevin