2025-01-04 11:53 AM - edited 2025-01-04 12:15 PM
I have two STM32MP157C-DK2 dev boards, they still have the demo software on it.
They collected a lot of dust, over the past years.
The problem is the 3d cube demo slowing down after days.
After a reset it is fast again. Perhaps a memory leak?
Because it needs a reset every day or maybe every hour, I never was willing to start developing software on it.
I'm cleaning up, and I am about to throw these kits in the trashbin.
But, what's the undelying problem? Is there a solution to keep de kits running stable and at full speed anyway?
2025-01-06 12:29 AM
Hi @Jack3
I will give a try on my side with latest ecosystem on latest board STM32MP157F-DK2.
Which version of SW ecosystem or Linux kernel version you have on the board ?
Did you try to put the latest ecosystem SW on the board ?
I assume the one delivered on SD-Card with this board is very old and largely updated meanwhile.
Regards.
2025-01-06 11:38 PM
I would check what the "top" and "free" commands say in both instances.
2025-01-06 11:45 PM
Hi,
After about 1 day running the 3D demo on STM32MP157F-DK2 with latest ecosystem 6.x, I did not see any visible slow down not any significant change within 'top' results.
I keep it running.
Regards,
2025-01-09 11:56 PM
Hi @Jack3
did you have time to try using latest ecosystem on your board.
On my side, no issues after 3 days. I stop the investigations on my side.
Issue is likely old ecosystem with old GPU driver which has evolved a lot in the past years (board are usually shipped with an outdated SW).
Regards.
2025-01-11 06:44 AM
Thank you very much!
"uname -r" reports 4.19.9 on both units.
2025-01-11 06:52 AM
Thank you, this is a very good idea!
Doing it now, but I may need to wait for the lugish stuttering to become more and more visible.
A day should be enough.
I will also capture a video, with both units, one freshly restarted, one running for a day, so you can see the difference.
2025-01-11 07:22 AM
"uname -r" reports 4.19.9 on both units, so I guess these need to be updated.
I have a windows laptop and Linux mint 22 runs in VirtualBox.
I need to look up how to update these units.
2025-01-11 07:24 AM
Hi Patrick, thanks for testing this out.
I will need to find out how to update these.
2025-01-12 11:36 PM
Hi @Jack3
update is rather easy with STM32CubeProgrammer, on Windows or Linux machine.
You should follow this wiki page https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-DK2/Let%27s_start/Populate_the_target_and_boot_the_image
(mostly steps 6, 7 and 8, using FlashLayout_sdcard_stm32mp157c-dk2-optee.tsv).
Regards.