cancel
Showing results for 
Search instead for 
Did you mean: 

Gcnano driver for openstlinux-5.10.10

DKapu.2
Associate

We have a custom board developed on stm32mp157 with openstlinux-5.10.10 (dunfell). I want to monitor the GPU consumption, and as per this link, I enabled the debugfs flag from menuconfig. However, upon deploying the image to target, no /gc folder was created. Upon further digging, I figured out that the galcore.ko module which is responsible for this was missing.

Hence, I looked up the gcnano binaries, referring to the developer package installation instructions, however, there seems to be no gcnano binaries available for openstlinux-5.10.10 denfell. (following figure where my version is 3.1.0. The versions above 4.0.1 have the gcnano drivers in their package)

0693W00000WJz6GQAT.pngHow should i enable the gcnano driver for 5.10.10?

Also are there any alternate ways to monitor the GPU consumption in stm32mp1 MPU's?

1 REPLY 1
Olivier GALLIEN
ST Employee

Hi @DKapu.2​,

First all your wiki links are for DV4.x.

If you are on DV3.x rather use https://wiki.st.com/stm32mpu-ecosystem-v3/wiki/

Can you share some logs to better understand the issue ?

As a first generic comment, management of gcnano is indeed quite complex with Developper package, particularly before DV4.x.

Maybe looking at this post could help you :

https://community.st.com/s/question/0D53W00001KSSAoSAP/time-out-check-load-galcore-module-expired-how-to-solve-it

Else it's recommended to use of distribution package to properly handle rebuild of the out of tree module.

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.