主题 : 在mini2440上移植u-boot-2009.08的DM9000时老是出现“could not establish link” 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 58414
精华: 0
发帖: 18
金钱: 90 两
威望: 18 点
贡献值: 0 点
综合积分: 36 分
注册时间: 2011-11-07
最后登录: 2012-01-04
楼主  发表于: 2011-11-14 10:04

 在mini2440上移植u-boot-2009.08的DM9000时老是出现“could not establish link”

在mini2440上移植u-boot-2009.08的DM9000时老是出现“could not establish link”。
请问各位这是什么原因导致的。
这是我的代码配置:
#if 1 //internet delay loop
i = 0;
while (!(phy_read(1) & 0x20)) { /* autonegation complete bit */
  udelay(1000);
  i++;
  if (i == 3000) {
   printf("could not establish link\n");
   return 0;
  }
}
#endif