2026-04-20 3:10 AM
Hi!
I think a have found a bug in CubeMX for STM32MP257F processor.
If you go to RIF - RISAB - VDERAM. You will find that the region size can only be 0x21000. That's more than 128 kB, according to the data sheet.
SYSRAM1, SYSRAM2, SRAM1, SRAM2, RETRAM have 0x20000 as maximum region size.
Question: If this is a bug, then I want to send a PR to the Github ST repository of the MP2 firmware. Can you guide me where the code is so I can make a PR?
2026-04-20 7:19 AM
Hello @DMårt
Thank you for highlighting this issue on STCommunity.
I will check it internally with the dedicated team and get back to you as soon as possible.
BR, Souhaib
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.
2026-04-20 8:52 AM
Thank you for your reply.
Waiting for the feedback.
2026-04-21 6:29 AM
There is also issues with the field linuxkernel2 region size.
2026-04-21 8:58 AM
Hello @DMårt
An internal ticket has been raised to the dedicated team to review this issue: Internal ticket number: CDM0061992 (This is an internal tracking number and is not accessible or usable by customers.)
Regarding the "field linuxkernel2 region size" could you clarify further?
BR, Souhaib
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.
2026-04-23 9:05 AM
Unfortunately, my laptop having some issues. So, I cannot show you what I mean. But according what's happening is that the field linuxkernel2 having some issues. It's not possible to configure. Check the values of the start and region size.