Re: [uClinux-dev] uClinux port to MCF5272??

From: Greg Ungerer (gerg@moreton.com.au)
Date: Thu Jan 18 2001 - 18:41:25 EST


Hi Wen-Ping Ying,

Wen-Ping Ying wrote:
> The culprit was tftp transfer error. When using 100Mbps, we observed several error message on  the screen during the initial download. When that happens, the boot failed at various places. Once we changed to 10Mbps, the transfer didn't result in any error messages. (One thing that still puzzles me is that we could never download with straight Image type, rather, we had to download the Srec, i.e. download with Image type only gave use ONE block.)


Ahh, yes, I did have some initial problems downloading images.
The guys at Motorola found a bug in the dBUG firmware for the
thernet code (I don't recall if it was the ethernet driver
or some IP issue...).

The fixed it with a new version of dBUG.


> Now the fun part. The network seems to be very sluggish. The only time when the network becomes alive is when we did tcpdump from the console. By doing tcpdump, the dhcpcd finally got dhcp offer properly, and we could ping any host on the network. The moment we stop tcpdump, the ping failed. (We had tcpdump also turned on on one of the hosts on the net, when we stopped tcpdump on 5272, there was no icmp traffic observed on the monitoring host.)
> 
> I checked the ifconfig, the route, everything seems to be ok. It looks like the MAC layer stopped forwarding packets unless it's put in the promisc mode. Have you encountered the same problem before? Could it be hardware problem??

I suspect this has something to do with the MAC address setup. I think
my previous release code had the MAC hard wried into the driver. It is
something like 00:d0:cf:00:00:72. Almost certainly that is not what
you would have programmed into dBUG (using "set mac").

This will certainly cause the ethernet port not to receive packets
when in anything other than promiscuous mode (with tcpdump running
for example).

One of 2 things to do:

1.  Change the MAC address in dBUG to be the above
2.  Chnage the ethernet driver (~/drivers/net/fec.c) to use
    the same MAC address as you set at dBUG

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Wizard           EMAIL:  gerg@lineo.com
Lineo (Integrated Products Group)                 PHONE: +61 7 3435 2888
825 Stanley St,                                   FAX:   +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia               WEB:     www.lineo.com
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:25 EDT