Skip to main content
JXu.5
Associate
Feb 28, 2021 13:00 UTC
Question

Maybe there are same bug in STM32CubeMx creating mp157 decvice tree

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.

 

This topic has been closed for replies.

2 replies

JXu.5
JXu.5Author
Associate
Feb 28, 2021 13:07 UTC

The CubeMx version is 6.2.0, the mp1 package is 1.3.0

Fee
Associate II
Mar 1, 2021 07:09 UTC

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