cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP1 TFT settings

gokhannsahin
Associate II

I want to change resolution of display in ev kit but don't know how to do.

Should I change the default struct values in panel-raydium-rm68200.c or is there another method?

Also, I'd like to rotate the screen of TFT so it will be wide screen TFT, is it possible? (For in compile time not run time)

Finally, need to add a custom TFT instead of this. Which parameters do I need to add a new one?

3 REPLIES 3
Olivier GALLIEN
ST Employee

​Hi @gokhannsahin​ 

Display settings are defined in [output] section of the weston.ini file.

https://wiki.st.com/stm32mpu/wiki/Wayland_Weston_overview

Please refer also to weston documentation here

http://manpages.ubuntu.com/manpages/disco/en/man5/weston.ini.5.html

Resolution have to be manage in "mode" option, rotation with "transform" option

To add a new custom TFT, depending on the used interface, you might deal with drivers and Device Tree configuration.

Olivier

Olivier GALLIEN
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.

​Hi,

You can find detailed tutorial to change display mode in this article

https://wiki.st.com/stm32mpu/wiki/How_to_display_on_HDMI#Video_modes

Hope it help

Olivier

Olivier GALLIEN
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.
gokhannsahin
Associate II

Thank you @Community member​ 

I'm using openstlinux-eglfs distro, is it valid for openstlinux-eglfs too?