2025-09-26 7:00 AM
Hey,,
I'm working on an STM32MP2 project and need help with Yocto. I generated a device tree with CubeMX and want to modify it so that I can activate the ums 0 mmc 1 command in the U-Boot terminal with the USB configured for 3.x speeds instead of the 2.0 basic configuration, then build a Yocto image (e.g., st-core-weston). Where do I place the DTS files, and how do I integrate them into the Yocto build?
Any tips or guides would be great!
Thanks!
2025-09-29 11:57 PM
Hi @Jacob1234 ,
You can use this page for help :
https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Distribution_Package
Regards,
Grégory
2025-10-10 9:03 AM
I tried with Buildroot. I modified the default devicetree so that the ums 0 mmc 1 command in the U-Boot terminal would launch the USB configured for 3.x speeds instead of the 2.0 basic configuration. The .config file would be configurated with the UI provided by the “make uboot-menuconfig” command, to set the specific drivers. However, after I build the image and run the “ums 0 mmc 1” command, UBoot tries to configure dwc3 as usb 3. After this, I get a prompt saying “Failed to configure PHY1 to USB3DRD”. I tried to find any details about the USB3 - PHY1 dependency on the st mp wiki and even in the reference manual or the default device tree .dts file, but without success.
Any tips or guides would be great!
Thanks!