Hi All
I can modify drm-device=card2 in /etc/xdg/weston/weston.ini file and see the weston ui screen is displayed normally on the panel after booting.
Then ,How can I compile this setting into my image so that I don’t need to manually set it again after burning?
My environment is as follows:
BSP :imx-yocto-L5.4.70_2.3.0
EVK :imx8mq evk
Build step:
1 bitbake -c cleanall imx-image-multimedia
2 bitbake -c compile -f u-boot-imx
3 bitbake -c deploy -f u-boot-imx
4 bitbake -c compile -f linux-imx
5 bitbake -c deploy -f linux-imx
6 bitbake imx-image-multimedia
7 use uuu tool for programming
Hello,
1. use devtool modify weston-imx to unpack the code into workspace
2. modify the code you want and generate the patch
3. put that patch in sources/meta-imx/meta-imx-bsp/recipes-graphics/wayland/weston/
4. modify bb sources/meta-imx/meta-imx-bsp/recipes-graphics/wayland/weston/weston_xxx.imx.bb, add your patch here.
Best Regards,
Zhiming
Hi @Zhiming_Liu
I modified the file /source/meta-imx/meta-bsp/recipes-grapgics/wayland
/weston-init.bbappend
card0->card2
and /source/meta-imx/meta-bsp/recipes-grapgics/wayland/weston-init/weston.ini
#drm-device=card0 -> #drm-device=card2
After burning the image, now can directly see weston ui in the panel when turn on.
Thank you.