Ethernet not work on my custome carrier board

we use 88E1512PB2-NNP2C000 same as develop kit, the schematic diagram is the same, but doesn’t work. The dmesg error show

"eth0: Colud not attach to PHY
net eth0: eqos_open: Can’t attach to PHY (error: -19)

Hi, if the design is totally same to dev kit, it should be able to work. Otherwise it is caused by design difference or device difference. Please check and compare the design between yours and dev kit.

it’s all the same ,device and design, any debug suggestion?

Please refer to

Does the source code of develop kit’s mcu can download from website?

Only some codes(kernel/bootloader) are available over the download center.

we search all the topic and no one can slove our problem.

we can read/write the register of the phy by mdio , all the voltage seem to be right.

root@desktop:/home/cidi# dmesg | grep phy
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 31.25MHz (phys).
[ 4.277542] libphy: Fixed MDIO Bus: probed
[ 4.397575] libphy: dwc_phy: probed
root@desktop:/home/cidi# dmesg | grep eth0
[ 15.655204] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

When we plug in the cable with another computer , the computer port will blink for a while seems to auto negotiation, then it show connected on 10 mpbs, but xavier link show nothing and always down.

ls /sys/bus/mdio_bus/drivers , i can see the driver for 88E1512

the register data

  1. 1000
  2. 7949
  3. 0141
  4. 0dd4
  5. 0de1
  6. 0000
  7. 0004
  8. 2801
  9. 0000
  10. 0300
  11. 0000
  12. 0000
  13. 0000
  14. 4007
  15. 0006
  16. 3000
  17. 0070
  18. 8040
  19. 6480
  20. 0040
  21. 0020
  22. 0000
  23. 0000
  24. 0000
  25. 0000
  26. 0000
  27. 0040
  28. 0000
  29. 0000
  30. 0000
  31. 0000
  32. 0000

Please share the full dmesg.

dmesg.log (75.1 KB)

any update?

Hi,

Could you compare the register value between your board and devkit?

i have done it , and it’s all the same

I can read and write(read the value is changed) the register.
When i set system internal loopback and external loopback follow marvell guide, the xavier network shows nothing changed, so does the phy chip broken?

Sloved.
We mistook a resistor, thanks for your patient