Some 发表于 2022-9-19 23:18:57

firefly3568核心板双网口问题,ETH1可用,ETH0不通

如论坛上类似的问题,核心板插到自制的底板上, eth1能ping通,eth0 attach 失败,自制底板对于双网口相关管脚与开发版底板使用管脚相同
9610.132836] rk_gmac-dwmac fe010000.ethernet eth0: Could not attach to PHY
[ 9610.132871] rk_gmac-dwmac fe010000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)


查到eth0所连的GMAC1, 其中 MDIO 和 MCD 都没有信号时序, reset信号是有的,PHY芯片电源正常。

cat /sys/kernel/debug/pinctrl/pinctrl-rockchip-pinctrl/pinmux-pins查看管脚复用情况看起来是正常的:
pin 126 (gpio3-30): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-rgmii-bus
pin 127 (gpio3-31): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-rgmii-bus
pin 128 (gpio4-0): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-rgmii-clk
pin 129 (gpio4-1): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-rgmii-bus
pin 130 (gpio4-2): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-rgmii-bus
pin 131 (gpio4-3): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-rgmii-clk
pin 132 (gpio4-4): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-tx-bus2
pin 133 (gpio4-5): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-tx-bus2
pin 134 (gpio4-6): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-tx-bus2
pin 135 (gpio4-7): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-rx-bus2
pin 136 (gpio4-8): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-rx-bus2
pin 137 (gpio4-9): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-rx-bus2
pin 138 (gpio4-10): fe5d0000.i2c (GPIO UNCLAIMED) function i2c4 group i2c4m0-xfer
pin 139 (gpio4-11): fe5d0000.i2c (GPIO UNCLAIMED) function i2c4 group i2c4m0-xfer
pin 140 (gpio4-12): fe590000.can (GPIO UNCLAIMED) function can2 group can2m0-pins
pin 141 (gpio4-13): fe590000.can (GPIO UNCLAIMED) function can2 group can2m0-pins
pin 142 (gpio4-14): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-miim
pin 143 (gpio4-15): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-miim
pin 144 (gpio4-16): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 145 (gpio4-17): fe010000.ethernet (GPIO UNCLAIMED) function gmac1 group gmac1m1-clkinout


请处理过同样问题的朋友指点一下,谢谢。


majestli 发表于 2023-1-12 15:24:10

你后面怎么解决的,现在开放版都斯这样
页: [1]
查看完整版本: firefly3568核心板双网口问题,ETH1可用,ETH0不通