cancel
Showing results for 
Search instead for 
Did you mean: 

About STM32MP255F GPU operation

OKN
Associate III

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 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hi @OKN 

I'm not expert, but did you accept the EULA when asked for ?

https://wiki.st.com/stm32mpu/wiki/STM32_MPU_OpenSTLinux_release_note#Machine_features

https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machine#Create_symbolic_link_for_EULA_with_new_machine_created 

 

Regards.

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.
Tip of the day: Try Sidekick STM32 AI agent, see here

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

Hi @OKN 

I'm not expert, but did you accept the EULA when asked for ?

https://wiki.st.com/stm32mpu/wiki/STM32_MPU_OpenSTLinux_release_note#Machine_features

https://wiki.st.com/stm32mpu/wiki/How_to_create_your_own_machine#Create_symbolic_link_for_EULA_with_new_machine_created 

 

Regards.

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.
Tip of the day: Try Sidekick STM32 AI agent, see here

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.