本帖最后由 一只耳朵怪 于 2018-6-21 09:04 编辑
自己做的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 configura
tion.
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:
not set. Validating first E-fuse MAC
cpsw, u***_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#
请问,还有什么地方需要修改的吗?
谢谢!