Skip to main content
Associate III
February 10, 2026
Solved

About STM32MP255F GPU operation

  • February 10, 2026
  • 1 reply
  • 142 views

I am porting Linux to a board that uses the STM32MP255F.
I used the BSP from the STM32MP257F-DK board.
For now, I was able to get the LCD panel to display, but the weston-graphical-session did not start.

When I added the following line to /etc/default/weston, the weston-graphical-session started:

OPTARGS=--use-pixman

The demo menu appears, and I can launch the demos.
However, the GPU demos do not run.

As I understand it, the OPTARGS=--use-pixman setting is meant for when there is no GPU.
Since the GPU demos also do not run, it seems that the GPU is not operating.


Under what conditions does the GPU fail to operate?


For reference, the Device Tree gpu section is configured as follows:

&gpu {
contiguous-area = <&gpu_reserved>;
status = "okay";
};


Another thing I am concerned about is that the initialization around usb3dr does not match the custom board, so I have disabled it.

&m33_rproc {
mboxes = <&ipcc1 0x100>, <&ipcc1 0x101>, <&ipcc1 2>;
mbox-names = "vq0", "vq1", "shutdown";
memory-region = <&cm33_cube_fw>, <&cm33_cube_data>,
<&ipc_shmem_1>, <&vdev0vring0>,
<&vdev0vring1>, <&vdev0buffer>,
<&cm33_sram2>;
st,syscfg-nsvtor = <&a35ss_syscfg 0xa8 0xffffff80>;
status = "disabled"; //"okay";
};

1 reply

PatrickF
PatrickFBest answer
Technical Moderator
February 10, 2026
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.NEW ! Sidekick STM32 AI agent, see here
OKNAuthor
Associate III
February 12, 2026

Hi @PatrickF

I checked the wiki article you mentioned.
When I looked into the EULA,
I found that the `stm32mp25-disco` configuration was missing
from `.../layers/meta-st/meta-st-stm32mp-addons/conf/eula`.

Following the wiki article, I added the `stm32mp25-disco` configuration:

... $ ln -s ST_EULA_SLA stm32mp25-disco

Then I built it:...

$ DISTRO=openstlinux-weston MACHINE=stm32mp25-disco source layers/meta-st/scripts/envsetup.sh

After the build finished, I wrote each image and booted Linux.

weston-graphical-session worked without needing to add OPTARGS=--use-pixman to /etc/default/weston.
The demo 3D Pict GPU also worked without issues.

Thank you for your valuable advice.

Linux porting has taken a step forward.