Skip to contentSkip to conversation

Utilisation of PHY Driver

DISCUSSION LINDHEIMER Christophe 1 participant 1 message Nov 8, 2024

lore
Share & tools
lore
#0 lore raw

Hi

I have started working with UBOOT on a custom board with Ultrascale+. I am working with UBoot Xilinx Release 2024.1

Using a SD card, I managed to boot Linux and network is OK under Linux

I would like to be able to use network under UBoot

PHY is a marvell 88E1510.
CONFIG_PHY_MARVELL is set and marvell.c is compiled.

In the dts file, I set a compatible marvel 88E1510 entry. Unfortunately, I get a "Could not get PHY for eth0" when booting.

Adding some trace in marvell.c I see that init function is not called.
I also add some trace in \drivers\core\root.c and \drivers\core\lists.c, I see that UBoot looks for a compatible driver for the marvell but it does not find it. I have printed all the drivers that are compared in driver_check_compatible and there is no marvell driver.

I have the feeling that only the drivers declared with U_BOOT_DRIVER are shown and not the ones with U_BOOT_PHY_DRIVER. Is it right ?
If so, how can I register and use the driver for my Marvell PHY ?

Thanks