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.

AM3359+RTL8211E的uboot ping 不通主机

Other Parts Discussed in Thread: AM3359

hi,ti 专家

我们现在自己设计了一块AM3359板子,phy用的RTL-8211E,linux的SDK版本是ti--am335x-evm-05.04.01.00。我们在evm.c文件中修改了phy的初始化配置。

可是,在uboot中ping主机时,出现ping 不能通的现象

U-Boot# ping 192.168.1.135

evm phy init

phyid1=1c,phyid2=c915

pyhcr=9100

bmcr = 1140

cpsw: Autonegotiation complete

cpsw: link up

physr = 7c02

cpsw slave init

link up on port 0, speed 100, full duplex

i=3a

Using cpsw device

sending ARP for 8701a8c0

ARP broadcast 1

cpsw send

length = 3c

ARP broadcast 2

cpsw send

length = 3c

ping failed; host 192.168.1.135 is not alive

uboot 的环境变量设置如下:

U-Boot# pri

autoload=yes

baudrate=115200

bootargs_defaults=setenv bootargs console=${console} ${optargs}

bootcmd=if mmc rescan; then echo SD/MMC found on device ${mmc_dev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run mmc_load_uimage; then run mmc_args;bootm ${kloadaddr};fi;fi;run nand_boot;

bootdelay=3

bootenv=uEnv.txt

bootfile=uImage

console=ttyO0,115200n8

ethact=cpsw

ethaddr=00:18:31:88:69:16

gatewayip=192.168.1.1

importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize

ip_method=none

ipaddr=192.168.1.126

kloadaddr=0x80007fc0

loadaddr=0x82000000

loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}

mmc_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmc_root} rootfstype=${mmc_root_fs_type} ip=${ip_method}

mmc_boot=run mmc_args; run mmc_load_uimage; bootm ${kloadaddr}

mmc_dev=0

mmc_load_uimage=fatload mmc ${mmc_dev} ${kloadaddr} ${bootfile}

mmc_root=/dev/mmcblk0p2 rw

mmc_root_fs_type=ext3 rootwait

nand_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${nand_root} noinitrd rootfstype=${nand_root_fs_type} ip=${ip_method}

nand_boot=echo Booting from nand ...; run nand_args; nandecc hw 2; nand read.i ${kloadaddr} ${nand_src_addr} ${nand_img_siz}; bootm ${kloadaddr}

nand_img_siz=0x500000

nand_root=ubi0:rootfs rw ubi.mtd=7,2048

nand_root_fs_type=ubifs rootwait=1

nand_src_addr=0x280000

netmask=255.255.255.0

script_addr=0x81900000

serverip=192.168.1.135

static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off

stderr=serial

stdin=serial

stdout=serial

Environment size: 1719/8188 bytes

另外,我在uboot中设置成了RGMII模式

请专家帮忙看这个问题是什么原因造成,根据你们的经验提供些建议。谢谢。