2022-12-01 05:10 AM
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)
How 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?
2023-01-03 08:03 AM
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 :
Else it's recommended to use of distribution package to properly handle rebuild of the out of tree module.
Hope it help
Olivier