cancel
Showing results for 
Search instead for 
Did you mean: 

Maybe there are same bug in STM32CubeMx creating mp157 decvice tree

JXu.5
Associate

I use CubeMx creating stm32mp157 device tree.

  1. After the 2nd create , the path "CA7->DeviceTree->[My board]->u-boot" always has a file named "<My board>.dts.bak" .
  2. modified the Device Tree code in kernel (USER CODE), then push create. The u-boot dts will be replaced by kernel dts.

 

2 REPLIES 2
JXu.5
Associate

The CubeMx version is 6.2.0, the mp1 package is 1.3.0

Fee
Senior

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.

0693W000007ZihMQAS.png