[U-Boot-Users] MPC8540 eval board ethernet issues

Michael Brian Willis willis at arlut.utexas.edu
Fri Jun 16 02:01:44 CEST 2006


Hello all, 

I am having trouble getting my ethernet interfaces to work in 
U-Boot 1.1.4. I am using an STK8540 starterkit evaluation board from TQ
Components. This board uses the TQM8540 board with an MPC8540 Freescale
processor. 

I cannot perform any network operations such as ping, tftp, or nfs. 
When I try to ping an ip address I receive the following: "Waiting for
PHY auto negotiation to complete...... TIMEOUT !"
I have tried using the u-boot image that shipped with the board as 
well as building my own u-boot image and the results are the same. 

I am pretty confident that the MAC addresses are accurate b/c the
addresses programmed on the board are the same as the sticker that is
physically on the board. 

I have included U-Boot output of the startup sequence, the ping command,
the printenv command, and the mii info command below. 

I have spent quite a bit of time searching for a solution, however I
have been unsuccessful. So if anybody has a possible solution or can
point me in the right direction, I would greatly appreciate it.

Regards, 

Michael Willis
Applied Research Labs-University of Texas
willis at arlut.utexas.edu


-----------------------------------------------------

//U-Boot startup.......
U-Boot 1.1.4 (Dec  2 2005 - 12:16:01)
 
CPU:   8540, Version: 2.0, (0x80300020)
Core:  E500, Version: 2.0, (0x80200020)
Clock Configuration:
       CPU: 833 MHz, CCB: 333 MHz,
       DDR: 166 MHz, LBC:  41 MHz
L1:    D-cache 32 kB enabled
       I-cache 32 kB enabled
Board: TQM8540, serial# TQM8540DCBAD7-APFBC.0204 11340057
PCI1:  32 bit, 33 MHz (compiled)
I2C:   ready
DTT:   1 is 39 C
DRAM:  256 MB (CL=2.5)
FLASH: 32 MB
L2 cache 256KB: enabled
In:    serial
Out:   serial
Err:   serial
Net:   TSEC0, TSEC1, FEC
PS/2:  No device found
Kbd:   reset failed, no ACK
 
Type run flash_nfs to mount root filesystem over NFS
 Hit any key to stop autoboot:  0



//Ping command output...
=> ping 10.8.18.223
Waiting for PHY auto negotiation to complete...... TIMEOUT !
 done
Waiting for PHY realtime link...... TIMEOUT !
 done
TSEC0: No link.
Waiting for PHY auto negotiation to complete...... TIMEOUT !
 done
Waiting for PHY realtime link...... TIMEOUT !
 done
TSEC1: No link.
Speed: 100, full duplex
Using FEC device
ping failed; host 10.8.18.223 is not alive



//printenv command output...
=> printenv
bootcmd=run flash_self
baudrate=115200
loads_echo=1
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over
NFS;echo
loadaddr=200000
netdev=eth0
consdev=ttyS0
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $bootargs
ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off panic=1
addcons=setenv bootargs $bootargs console=$consdev,$baudrate
flash_nfs=run nfsargs addip addcons;bootm $kernel_addr
flash_self=run ramargs addip addcons;bootm $kernel_addr $ramdisk_addr
net_nfs=tftp $loadaddr $bootfile;run nfsargs addip addcons;bootm
rootpath=/opt/eldk/ppc_85xx
bootfile=/tftpboot/tqm8540/uImage
kernel_addr=FE000000
ramdisk_addr=FE100000
update=protect off fffc0000 ffffffff;era fffc0000 ffffffff;cp.b 100000
fffc0000 40000;setenv filesize;saveenv
upd=run load;run update
serial#=TQM8540DCBAD7-APFBC.0204 11340057
ethaddr=00:D0:93:08:11:96
eth1addr=00:D0:93:08:11:97
eth2addr=00:D0:93:08:11:98
load=tftp 100000 u-boot_tqm8540_2005-12-02_1215_mkr.bin
fileaddr=100000
bootdelay=3
bootargs=root=/dev/ram rw ip=192.168.9.232:192.168.9.1::::eth0:off
panic=1 console=ttyS0,115200
ipaddr=10.8.1.77
serverip=10.8.18.223
netmask=255.255.0.0
gatewayip=10.8.28.255.255
stdin=serial
stdout=serial
stderr=serial
ethact=FEC
 



//mii command output...
=> mii info
Can't read PHY at address 0
Error reading info from the PHY
PHY 0x01: OUI = 0x5043, Model = 0x0C, Rev = 0x02,  10baseT, HDX
PHY 0x02: OUI = 0x5043, Model = 0x0C, Rev = 0x02,  10baseT, HDX
PHY 0x03: OUI = 0x04DE, Model = 0x0E, Rev = 0x02, 100baseT, FDX
Can't read PHY at address 4
Error reading info from the PHY
Can't read PHY at address 5
Error reading info from the PHY
Can't read PHY at address 6
Error reading info from the PHY
Can't read PHY at address 7
Error reading info from the PHY
Can't read PHY at address 8
Error reading info from the PHY
Can't read PHY at address 9
Error reading info from the PHY
Can't read PHY at address 10
Error reading info from the PHY
Can't read PHY at address 11
Error reading info from the PHY
Can't read PHY at address 12
Error reading info from the PHY
Can't read PHY at address 13
Error reading info from the PHY
Can't read PHY at address 14
Error reading info from the PHY
Can't read PHY at address 15
Error reading info from the PHY
Can't read PHY at address 16
Error reading info from the PHY
Can't read PHY at address 17
Error reading info from the PHY
Can't read PHY at address 18
Error reading info from the PHY
Can't read PHY at address 19
Error reading info from the PHY
Can't read PHY at address 20
Error reading info from the PHY
Can't read PHY at address 21
Error reading info from the PHY
Can't read PHY at address 22
Error reading info from the PHY
Can't read PHY at address 23
Error reading info from the PHY
Can't read PHY at address 24
Error reading info from the PHY
Can't read PHY at address 25
Error reading info from the PHY
Can't read PHY at address 26
Error reading info from the PHY
Can't read PHY at address 27
Error reading info from the PHY
Can't read PHY at address 28
Error reading info from the PHY
Can't read PHY at address 29
Error reading info from the PHY
Can't read PHY at address 30
Error reading info from the PHY
Can't read PHY at address 31
Error reading info from the PHY












More information about the U-Boot mailing list