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.
自己做的3358的板,网卡连接使用rgmii模式。使用sdk 8.0的uboot,修改如下:
1、在read_eeprom中修改了header->name的值 :strncpy(header->name, "A335X_SK", 8);
2、修改了cpsw_slaves中的phy_addr。
uboot运行起来后,网络不通,串口信息如下:
U-Boot SPL 2014.07-00107-gd28f2b9-dirty (Jan 19 2017 - 16:33:11)
The Expected Linux image was not found. Please check your NAND configuration.
Trying to start u-boot now...
U-Boot 2014.07-00107-gd28f2b9-dirty (Jan 19 2017 - 16:33:11)
I2C: ready
DRAM: 512 MiB
NAND: 256 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
U-Boot#
U-Boot# setenv ipaddr 192.168.1.11;setenv serverip 192.168.1.234
U-Boot# ping 192.168.1.234
link up on port 0, speed 100, full duplex
Using cpsw device
ping failed; host 192.168.1.234 is not alive
U-Boot#
link up on port 0, speed 100, full duplex
Using cpsw device
ping failed; host 192.168.1.234 is not alive
U-Boot#
请问,还有什么地方需要修改的吗?
谢谢!
Denny Yang:
1、硬件没有验证过;
2、”软件寄存器配置模式部分“,指的是这个地方吗:
writel((RGMII_MODE_ENABLE | RGMII_INT_DELAY), &cdev->miisel);
cpsw_slaves[0].phy_if = cpsw_slaves[1].phy_if =
PHY_INTERFACE_MODE_RGMII;
谢谢!