Re: PB11MPCore & ethernet | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Antti P Miettinen wrote: > Sorry if this is off topic, but can someone maybe point me to a kernel > where ethernet for the PB11MPCore is known to work? I've been playing > with my brand new MPCore box and I cannot make the ethernet work. It > is able to send packets out of the ethernet interface (arp queries) > but seems to be unable to receive anything. Could be HW problem? > Could be. :) Seriously, I just had that very same problem description with a different ethernet controller. The problem turned out to be that my bootloader wasn't setting up a valid MAC address, and some napi-related changes caused the IP-Config step in the kernel to subsequently fail and/or confuse the hardware. Long story short, you have to set the MAC before calling register_netdev(). If you don't, then the kernel can't find the device later because apparently the lookup is now done by MAC address. (I didn't investigate this part of the problem all that much). If you change the MAC after register_netdev(), i.e. to replace an all-zeros address with a good one, then you might confuse IP-Config and/or the hardware itself. In my case, I had to reset the PHY and MAC hardware if the MAC address changed, and I wasn't. Until I did, I could transmit fine but not receive because packets were getting filtered before getting into the controller FIFOs. Just some thoughts. b.g. -- Bill Gatliff bgat@xxxxxxxxxxxxxxx ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux ARM Kernel] [Linux OMAP] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]