Skip to main content
JXu.5
Associate
February 28, 2021
Question

Maybe there are same bug in STM32CubeMx creating mp157 decvice tree

  • February 28, 2021
  • 2 replies
  • 1178 views

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
February 28, 2021

The CubeMx version is 6.2.0, the mp1 package is 1.3.0

Fee
Associate II
March 1, 2021

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