Skip to main content
Visitor II
July 31, 2020
Solved

Can the STM32MP157 GPU be used by the M4 kernel?

  • July 31, 2020
  • 2 replies
  • 998 views

I want to use the M4 kernel to display some animations and images that can be rendered on the GPU?

    This topic has been closed for replies.
    Best answer by PatrickF

    The Cortex-M4 in the STM32MP1 series was intended to be mostly a powerful real time/low power coprocessor for Linux.

    Display is intended to be under the Linux control (which offer a vast choice of graphical options/framework). You could still put a second 'small' display controlled by M4 using I2C, SPI or even FMC, but it is not intended for large size, high refresh rate and complex HMI.

    Maybe you could think about asking Linux to do the rendering (using rpmsg/OpenAMP, see wiki), but that might need some custom development.

    2 replies

    Technical Moderator
    July 31, 2020

    Hello,

    GPU driver (provided as binary for Linux) is not provided for M4 and furthermore, GPU has no access to M4 memories.

    Regards.

    Jack li1Author
    Visitor II
    July 31, 2020

    I want to use M4 for display, and hope to have the function of DMA2D.

    PatrickFAnswer
    Technical Moderator
    July 31, 2020

    The Cortex-M4 in the STM32MP1 series was intended to be mostly a powerful real time/low power coprocessor for Linux.

    Display is intended to be under the Linux control (which offer a vast choice of graphical options/framework). You could still put a second 'small' display controlled by M4 using I2C, SPI or even FMC, but it is not intended for large size, high refresh rate and complex HMI.

    Maybe you could think about asking Linux to do the rendering (using rpmsg/OpenAMP, see wiki), but that might need some custom development.