2021-08-05 12:45 AM
Hi all,
What is the most correct and easiest way to generate dtb for the STM32MP1?
I tried following this :
https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_Package
Looks way complicated and I get below error :
/opt/st/stm32mp1/3.1-openstlinux-5.10-dunfell-mp1-21-03-31/sysroots/x86_64-ostl_sdk-linux/lib/libc.so.6: version `GLIBC_2.33' not found (required by /usr/lib/gcc/x86_64-linux-gnu/10/liblto_plugin.so)
post that came across workshop video which does it in few steps.
https://www.youtube.com/watch?v=XhB0rGLjl_Q&list=PLnMKNibPkDnFeV4sBarnsAtFTg7h6V-9_&index=9
I couldn't seem to get it up and compile file in any case? I mean it exists cleanly but not dtb gets generated?
What i might be missing here?
Solved! Go to Solution.
2021-08-20 01:08 AM
Hi @AlexandrShipovsky : If you look closely at the error message it says reference to an non-existent node. Are you sure you dts file has correct changes in place?
2021-08-20 01:11 AM
Hi @Jean-Marc B : Works like charm on 20.04. Thanks.
2021-08-20 01:12 AM
In fact, I did not change this file at all. The file code was supplied in the developer's package. These devices are all present on the STM32MP157A-DK1 board
2021-08-20 02:24 AM
I found a problem. For some reason, CubeIDE refers to the Makefile and directories of my old project with the same name to another folder. And of course there are no necessary files there. At the same time, the paths in the project settings in CubeIDE are specified correctly. I will understand