2023-07-13 11:03 PM - edited 2023-07-13 11:16 PM
error is logged as > Label or path sram not found
The DTS file at the failing line reads
&sram{
dma_pool:dma_pool@0{
reg = <0x50000 0x10000>;
pool;
};
};
I'm assuming this is to specify where the SRAM pool is. But this automatically generated file fails at build.
The CubeMX project has worked before, just upgraded to mickledore and the latest CubeMX but I don't think that is the problem.
I have done clean bitbakes etc
Building the sample machines and configs appears to work perfectly its only my own new machine that is failing
> looking at the 'equivalent' DTS file in one of the standard builds I dont see SRAM specified anywhere. I think my nachine specification is off although it was build using the tutorial in the docs....... more digging.
Solved! Go to Solution.
2023-07-19 01:31 AM
Hi @LAK17AT ,
Comparing Mickledore (DV5.0) with previous Kirkstone (DV4.1) looks like sram has been rename sram1 in stm32mp151.dtsi.
Olivier
2023-07-19 01:31 AM
Hi @LAK17AT ,
Comparing Mickledore (DV5.0) with previous Kirkstone (DV4.1) looks like sram has been rename sram1 in stm32mp151.dtsi.
Olivier
2023-07-19 06:07 AM
Thanks. I rebuilt my machine definitian and cleaned a lot of temp stuff out and I am getting a build now. I will look in to see if its using SRAM or the SRAM1 you have highlighted.
2023-07-27 10:34 PM
SOLVED - The upgrade to mickledore requires an update to the later CubeMX and a device tree regeneration.
The later tool recognised that theproject was generated in an earlier version and offered to migrate it.
When it did so it reassigned the watchdog timer to WDT2 from 1.