专栏底层软件J5A 网口不能使用

J5A 网口不能使用

已解决
danyxnever2022-10-13
50
2

单板问题。

同样的软件镜像,同一批板子,其中一块板子88EA1512无法识别,导致无法下载镜像。

1.硬件获取渠道:参考附件原理图自制主板。

2.当前系统镜像版本:

3.当前天工开物版本:

4.问题定位:

1、hbupdate下载过程报如下错误

[2022-10-13 14:01:53,745] [Update0] [INFO] core.py:92 [com] setenv ipaddr 192.168.88.71

[2022-10-13 14:01:53,745] [Update0] [INFO] core.py:92 [com] Hobot# setenv serverip 192.168.88.222

[2022-10-13 14:01:53,747] [Update0] [INFO] core.py:92 [com] Hobot# ping 192.168.88.222

[2022-10-13 14:01:53,747] [Update0] [INFO] core.py:92 [com] phy_addr:14

[2022-10-13 14:01:53,747] [Update0] [INFO] core.py:92 [com] media-mode:copper

[2022-10-13 14:01:53,747] [Update0] [INFO] core.py:92 [com] Could not get PHY for ethernet@59120000: addr 14

[2022-10-13 14:01:53,747] [Update0] [INFO] core.py:92 [com] phy_connect() failedFAILED: 0Using ethernet@59120000 device

[2022-10-13 14:01:53,747] [Update0] [INFO] transfer_to_board.py:84 board net ping is not alive, please check net...

[2022-10-13 14:02:13,818] [Update0] [INFO] core.py:92 [com] ARP Retry count exceeded; starting again

[2022-10-13 14:02:13,818] [Update0] [INFO] core.py:92 [com] ping failed; host 192.168.88.222 is not alive

[2022-10-13 14:02:13,818] [Update0] [INFO] core.py:92 [com] Hobot#

[2022-10-13 14:02:13,818] [Update0] [INFO] transfer_to_board.py:84 board net ping is not alive, please check net...

[2022-10-13 14:02:15,322] [Update0] [INFO] core.py:92 [com] ping 192.168.88.222

[2022-10-13 14:02:15,323] [Update0] [INFO] core.py:92 [com] phy_addr:14

[2022-10-13 14:02:15,323] [Update0] [INFO] core.py:92 [com] media-mode:copper

[2022-10-13 14:02:15,324] [Update0] [INFO] core.py:92 [com] Could not get PHY for ethernet@59120000: addr 14

[2022-10-13 14:02:15,325] [Update0] [INFO] core.py:92 [com] phy_connect() failedFAILED: 0Using ethernet@59120000 device

[2022-10-13 14:02:15,325] [Update0] [INFO] transfer_to_board.py:84 board net ping is not alive, please check net...

[2022-10-13 14:02:16,327] [Update0] [ERROR] transfer_to_board.py:91 The network of the board is blocked!

[2022-10-13 14:02:16,327] [Update0] [ERROR] transfer_to_board.py:334 network test failed!

[2022-10-13 14:02:16,450] [Update0] [ERROR] hbupdate-gui.py:149 update fail:

2、串口进入uboot命令行。

执行如下命令检测不到phy,执行命令过程中测量MDIO,MDC信号,量不到波形,J5B正常那路通过同样的步骤可以测量到波形。

Hobot# mii dev ethernet@59120000

Hobot# mii dump 0x0E 0-2

0. (0000) -- PHY control register --

(8000:0000) 0.15 = 0 reset

(4000:0000) 0.14 = 0 loopback

(2040:0000) 0. 6,13 = b00 speed selection = 10 Mbps

(1000:0000) 0.12 = 0 A/N enable

(0800:0000) 0.11 = 0 power-down

(0400:0000) 0.10 = 0 isolate

(0200:0000) 0. 9 = 0 restart A/N

(0100:0000) 0. 8 = 0 duplex = half

(0080:0000) 0. 7 = 0 collision test enable

(003f:0000) 0. 5- 0 = 0 (reserved)

1. (0000) -- PHY status register --

(8000:0000) 1.15 = 0 100BASE-T4 able

(4000:0000) 1.14 = 0 100BASE-X full duplex able

(2000:0000) 1.13 = 0 100BASE-X half duplex able

(1000:0000) 1.12 = 0 10 Mbps full duplex able

(0800:0000) 1.11 = 0 10 Mbps half duplex able

(0400:0000) 1.10 = 0 100BASE-T2 full duplex able

(0200:0000) 1. 9 = 0 100BASE-T2 half duplex able

(0100:0000) 1. 8 = 0 extended status

(0080:0000) 1. 7 = 0 (reserved)

(0040:0000) 1. 6 = 0 MF preamble suppression

(0020:0000) 1. 5 = 0 A/N complete

(0010:0000) 1. 4 = 0 remote fault

(0008:0000) 1. 3 = 0 A/N able

(0004:0000) 1. 2 = 0 link status

(0002:0000) 1. 1 = 0 jabber detect

(0001:0000) 1. 0 = 0 extended capabilities

2. (0000) -- PHY ID 1 register --

(ffff:0000) 2.15- 0 = 0 OUI portion

3、J5A,J5B对换88EA1512, 问题还是在J5A这路网口,与88EA1512无关。

4、用万用表测量J5A 的MDC电平为:0.8V,MDIO电平为:1.8V。测量J5B的MDC为:0V,MDIO电平为:1.3V。

6.需要提供的解决方案:

J5A MDIO,MDC pin脚内部电路。上下拉电阻多少?

此现象可能存在的因素

附件:
底层软件
征程5
评论1
0/1000
  • 孔祥斌
    Lv.1

    个别现象还是都这样?

    2022-10-17
    0
    1
    • danyxnever回复孔祥斌:

      个别现象

      2022-10-17
      0