2024-01-22 03:52 PM
We have designed 2 seperate boards, main board has STM32MP135FAE on board connected to Microchip LAN8742 via ethernet1 mac and it is working. second board is a network board and has Marvell 88E6185 switch on board. Ethernet2 mac on STM32MP135F is connected to Port9 at the Switch using MII. However, STM32MP135F is not enabling internal clock. And eth2 is not activated.
I have attached my configuration files and clock settings and dmesg log.
Any idea what might be wrong on my configurations?
Solved! Go to Solution.
2024-01-24 05:32 AM
Hi @skarayigit
Maybe check the expected device tree is loaded during boot.
Is there some hint using Ethernet framework debug ?
https://wiki.st.com/stm32mpu/wiki/Ethernet_overview#How_to_trace_and_debug_the_framework
STM32MP13 discovery board provide 2 x Ethernet (See https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Let%27s_start/Unpack_the_STM32MP135x-DK_board) , so you could give a look to the Starter Package Device tree : https://github.com/STMicroelectronics/linux/blob/v6.1-stm32mp/arch/arm/boot/dts/stm32mp135f-dk.dts
For HW concerns, see also AN5474 Getting started with STM32MP13x lines hardware development
2024-01-24 05:32 AM
Hi @skarayigit
Maybe check the expected device tree is loaded during boot.
Is there some hint using Ethernet framework debug ?
https://wiki.st.com/stm32mpu/wiki/Ethernet_overview#How_to_trace_and_debug_the_framework
STM32MP13 discovery board provide 2 x Ethernet (See https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Let%27s_start/Unpack_the_STM32MP135x-DK_board) , so you could give a look to the Starter Package Device tree : https://github.com/STMicroelectronics/linux/blob/v6.1-stm32mp/arch/arm/boot/dts/stm32mp135f-dk.dts
For HW concerns, see also AN5474 Getting started with STM32MP13x lines hardware development
2024-01-30 01:44 PM
There was an issue with the script that is updating the dtb files in the image. It wasn't updating the files under fip folder therefore, the clocks weren't changing. Thank for the help and quick reply @PatrickF, eth2 is active now.