steveszhang
[root@100ask:~]# ifconfig eth0 192.168.5.23
[ 50.657854] stm32-dwmac 5800a000.ethernet eth0: no phy at addr -1
[ 50.662799] stm32-dwmac 5800a000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
SIOCSIFFLAGS: No such device
有出现 eth0不能识别了,啥原因哈,测试 ifconfig -eth0/1 up 都不行
[root@100ask:~]# ifconfig eth1 up
[root@100ask:~]# ifconfig eth0 up
[ 179.607097] stm32-dwmac 5800a000.ethernet eth0: no phy at addr -1
[ 179.611901] stm32-dwmac 5800a000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
SIOCSIFFLAGS: No such device
这么奇怪
而且在 uboot 里一次也不能ping 通过;有没有配置这个的文档?比如uboot 里的;
STM32MP> ping 192.168.5.15
Could not get PHY for ethernet@5800a000: addr 6
phy_connect() failedFAILED: 0Using ethernet@5800a000 device
我怀疑是不是 uboot 哪个文件没有配置好,导致,引脚不对?

steveszhang
100ask_huang
1 天
还没有来及测试这个命令,重新烧录img 文件,好了;
回复

steveszhang
2
steveszhang
4 分钟
[root@100ask:~]# ifconfig eth0 192.168.5.23
[ 50.657854] stm32-dwmac 5800a000.ethernet eth0: no phy at addr -1
[ 50.662799] stm32-dwmac 5800a000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
SIOCSIFFLAGS: No such device
有出现 eth0不能识别了,啥原因哈,测试 ifconfig -eth0/1 up 都不行
[root@100ask:~]# ifconfig eth1 up
[root@100ask:~]# ifconfig eth0 up
[ 179.607097] stm32-dwmac 5800a000.ethernet eth0: no phy at addr -1
[ 179.611901] stm32-dwmac 5800a000.ethernet eth0: stmmac_open: Cannot attach to PHY (error: -19)
SIOCSIFFLAGS: No such device
这么奇怪
而且在 uboot 里一次也不能ping 通过;有没有配置这个的文档?比如uboot 里的;
STM32MP> ping 192.168.5.15
Could not get PHY for ethernet@5800a000: addr 6
phy_connect() failedFAILED: 0Using ethernet@5800a000 device
我怀疑是不是 uboot 哪个文件没有配置好,导致,引脚不对?