Skip to main content
Associate
August 13, 2025
Solved

STM32MP257F-DK with new openstlinux v25.06.11 release lacks ethernet

  • August 13, 2025
  • 1 reply
  • 9340 views

Hi, everyone.

 

FYI:

I have a board STM32MP257F-DK-C01. I flashed the latest release according to https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-DK/Let%27s_start/Populate_the_target_and_boot_the_image

It starts and everything looks ok, but the ethernet is absent. etho is absent if I run "ifconfig", "if up", etc. LEDs are not flashing when cable is plugged.

I tried to flash it second time, no changes. I tried to use same sdcard on another  STM32MP257F-DK-C01 board, but had no luck.

After reverting to v24.12.05 everything works fine.

Some facts that might help from v25.06.11:

1) U-Boot prints message: 

Net: No ethernet found

2) At the tenth second kernel writes a message

[   10.843936] Board is not a valid BOARD (stm32mp257f-dk, stm32mp257f-ev1)

3) After console is loaded the username looks like this:

PavelSavyhin_0-1755101468274.png

 

 

Best answer by Christophe Guibout

Hi @PavelSavyhin,

 

I confirm you did right, the point is about the flashlayout name in the wiki which is not correct.

The m33-examples images disables several linux drivers to release them to the M33, that explains your problem. Nevertheless, this is not the recommanded image to use in this Getting Started.
I updated the wiki, and the correction will be published as soon as the owner of the article will be back.

 

BR,

Christophe

1 reply

Christophe Guibout
ST Employee
August 14, 2025

Hello @PavelSavyhin,

 

It's like u-boot from v25.06.11 was not able to get the MAC addr.

 

Through u-boot console, could you please check the MAC addr ?
Here is an example done with my Evaluation board:


 

The prompt of the linux console should ends with the 6 last digits of the ethaddr returned by u-boot:

 

With v25.06.11 ecosystem, did you try to erase u-boot-env and then rebooot ?

env default -a

env save

More details in this wiki.

 

BR,

Christophe

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.
Christophe Guibout
ST Employee
August 14, 2025

By the way, did you use stm32mp257f-dk-ca35tdcid-ostl-m33-examples.dtb device tree ?

If yes, the ethernet is disabled in the linux device tree, so this is not an issue.

BR,

Christophe

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.
Associate
August 14, 2025

Hi, Christophe!

I did everything according to the step-by-step guide that I mentioned in original message: https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP2_boards/STM32MP257x-DK/Let%27s_start/Populate_the_target_and_boot_the_image

 

It clearly states that: 

PavelSavyhin_0-1755186706508.png

I suppose after programming it might utilize the device tree you mention because it replicates the name of highlighted tsv file. So, it looks like default behavior according to the guide.

So, if ethernet disabled by default is not an issue then it is ok. I personally think that it shouldn't be disabled because it is main interface for development taking into account that board should be connected to external power adapter instead of PC because of its current consumption.