cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup X11 in the distro instead of wayland on stm32mp1

asadullah4571
Associate III

Hi ST Team,

Hi i am trying to add the x11 support for Stm32mp1, but how to setup i do not know.


* **st-example-image-x11** (with **openstlinux-x11** distro):
Image which demonstrates an example of Basic X11 usage.
* **st-example-image-xfce.bb** (with **openstlinux-x11** distro):
Image which demonstrates an example of X11 usage with XFCE as UI.

i found this line into README,
how to to this.

2 REPLIES 2
PPAGE.13
ST Employee

Hi,

X11 is no more directly supported, but you can emulate it from Wayland.

Please look at this link

https://wiki.st.com/stm32mpu/wiki/How_to_install_JAVA_JDK#Compilation_and_execution_of_some_JAVA_demos

and how to setup display for that purpose.

BR

Philippe.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thanks @PPAGE.13 , this works , and I'm  able to play chromium, but there is one issue, without modification on rootfs size, it  works fine. 

 but when I try to change rootfs image size (that is 1.3 GB) then  i got the error. 

md@pc:~/Workspace/Kris_V4.1.2/oe-manifest/build-openstlinuxweston-stm32mp1/tmp-glibc/deploy/images/stm32mp1$ ./scripts/create_sdcard_from_flashlayout.sh ./flashlayout_st-image-core/optee/FlashLayout_sdcard_stm32mp157f-dk2-optee.tsv
Create Raw empty image: ./flashlayout_st-image-core/optee/../../FlashLayout_sdcard_stm32mp157f-dk2-optee.raw of 1536MB
Create partition table:
[CREATED] part 01: fsbl1 [partition size 256.0 KiB]
[CREATED] part 02: fsbl2 [partition size 256.0 KiB]
[CREATED] part 03: metadata1 [partition size 256.0 KiB]
[CREATED] part 04: metadata2 [partition size 256.0 KiB]
[CREATED] part 05: fip-a [partition size 4.0 MiB]
[CREATED] part 06: fip-b [partition size 4.0 MiB]
[CREATED] part 07: u-boot-env [partition size 512.0 KiB]
[CREATED] part 08: bootfs [partition size 64.0 MiB]
[CREATED] part 09: vendorfs [partition size 16.0 MiB]
[CREATED] part 10: rootfs [partition size 1.3 GiB]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[ERROR]: IMAGE TOO BIG [userfs:st-image-userfs-openstlinux-weston-stm32mp1.ext4 128 MB]
[ERROR]: There is not enough place on last partition(userfs)
then i reduce the image size only 1gb then it works and flash successful on SD card , but when i boot the image then i got the error.

[ 22.356492] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100 ]---
E/TC:1 Panic 'Watchdog' at ?:0