This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368 U-BOOT 配置Ethernet PHY



新手请教大家一个问题:

我调试DM368的UBOOT,用的是DVSDK4.02,   打印信息如下,

我按键盘让系统停在UBOOT里面,测量DM368 配置Ethernet PHY的2个GPIO,MDC ,MDIO,发现MDC一直有CLK,   MDIO一直循环查询0-31的PHY ID的寄存器0,  我的网卡芯片是LAN8710,PHY ID 0,可以看到查询到设备地址为0的时候,PHY芯片有正确的回复,看了打印,和int davinci_emac_initialize(void),感觉已经初始化成功了,怎么还在循环地址不停查询呢?附件图片是MDIO管脚的波形

U-Boot 2010.12-rc2 (Jun 28 2017 - 20:01:04)

Cores: ARM 432 MHz
DDR: 340 MHz
DRAM:128 MiB
NAND: 128 MiB
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
nand_read_bbt: Bad block at 0x000000120000
NAND read from offset 60000 failed -74
*** Warning - readenv() failed, using default environment

Net: Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot: 0