Maybe there are same bug in STM32CubeMx creating mp157 decvice tree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-28 5:00 AM - last edited on ‎2023-06-16 6:48 AM by Kevin HUBER
I use CubeMx creating stm32mp157 device tree.
- After the 2nd create , the path "CA7->DeviceTree->[My board]->u-boot" always has a file named "<My board>.dts.bak" .
- modified the Device Tree code in kernel (USER CODE), then push create. The u-boot dts will be replaced by kernel dts.
- Labels:
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-28 5:07 AM
The CubeMx version is 6.2.0, the mp1 package is 1.3.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-28 11:09 PM
Hi,
this is expected behaviour, see the following wiki article: https://wiki.st.com/stm32mpu/wiki/STM32MP15_device_tree#STMicroelectronics_software_delivery
The linux device tree files are copied to the u-boot device tree. The nodes used by u-boot usually have a 'u-boot,dm-pre-reloc;' in the device tree node.
