cancel
Showing results for 
Search instead for 
Did you mean: 

Where to find the default dts files (the ones that are built on the 157C-DK2)?

NChri.1
Associate II

If I build the dts files that come with the developer package, I lose the ethernet. I need to add support for USART3 and UART7, but any new build of the device tree will make the ethernet disappear.

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @NChri.1​ 

The default dts is exactly the one which is in developer package.

In order to investigate the issue maybe good to look at :

https://wiki.st.com/stm32mpu/wiki/STM32MP15_device_tree

https://wiki.st.com/stm32mpu/wiki/Ethernet_device_tree_configuration

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
NChri.1
Associate II

Well, I think I followed the wiki

Eventually, I want to edit the file arch/arm/boot/stm157a-dk1.dts (to add those uarts I need to use)

Before modifying it, I built with

make dtbs

and then I copied all the produced dtb files into the boot of the DK2 device. When I do that ethernet is not there anymore.

Note that with the modification of the above file, I do get the uarts, but, as I said, I lose the ethernet (no eth0 found)

I will look into the links you referred to, the second one may be very useful.

Edit: Well, I looked into that... I do not see anything that it is not in my files.

Edit 2: I also lose the wlan...