Skip to main content
Visitor II
September 13, 2019
Question

STM32MP1 TFT settings

  • September 13, 2019
  • 2 replies
  • 1081 views

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?

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    September 16, 2019

    ​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

    Technical Moderator
    September 16, 2019

    ​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

    Visitor II
    September 21, 2019

    Thank you @Community member​ 

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