2025-08-13 9:22 AM
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:
Solved! Go to Solution.
2025-08-18 12:24 AM
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
2025-08-14 1:48 AM
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
2025-08-14 6:07 AM
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
2025-08-14 8:55 AM
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:
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.
2025-08-18 12:24 AM
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
2025-09-01 4:36 AM
while the wiki page has not been updated yet, can you write here what image to use to get Ethernet in Linux?
2025-09-01 4:43 AM - edited 2025-09-01 4:43 AM
Hi @positron,
Please use FlashLayout_sdcard_stm32mp257f-dk-optee.tsv.
BR,
Christophe
2025-09-01 5:03 AM
thank you!