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.

k2hk uboot 千兆网不通



千兆网没使用PHY,采用mac_mac_forcedlink强制链接。

1:对serdes和sgmii的配置与例子配置一样(该例子是在DSP上运行并能进行千兆网通信),PA时钟和SGMII时钟也设置相同

This is SGMII config
mr_adv_ability is: 00009801
control is: 00000020
mask is: 00000001

2:使用port0端口,在Mac_CTL寄存器值为0(其地址为:0x02090904.例子程序值为0x008400a1)--这个寄存器的值存在不通,但是修改了写入0x008400a1值后,memory browser显示还是0

3:在ping过程中,keystone2_eth_rcv_packet函数对hd变量一直是NULL(网线的连接是好的)

对于以上背景,uboot下ping不通PC,请问这是怎么回事?十万火急············

  • 您好,我使用的是K2e的评估板,运行的是masdk中的hello world例程,我运行后出现 Registration of the EMAC successful,waiting for link up .. Service status:DHCPC :Enables : :000 Service status DHCPC :Enables: :000 此后,console中就再也没有任何提示,程序一直在运行,不会自动停止。相关的寄存器中是error,无法读取。 请问,我需要修改哪些参数,才能正确运行程序,传输数据? 此外,如何修改DSP的IP配置模式(DHCP 或是手动)? 谢谢,期待您的回答 hitzhaoliangyu@126.com