From: Lei Sun Date: Wed, 8 Nov 2006 16:10:55 -0500 Subject: [U-Boot-Users] ethernet on FCC In-Reply-To: <1163014016.10016.24.camel@saruman.qstreams.net> References: <1163007598.10016.17.camel@saruman.qstreams.net> <1163014016.10016.24.camel@saruman.qstreams.net> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I changed the last byte (count start from left). I set the MAC via environment "ethaddr", I've also defined "CONFIG_ETHADDR" so to force it to fixed value. My ethereal did show the correct source MAC address for the broadcast ARP request. The host replied with unicast ARP reply, that's when my board failed to get it. Haven't tried if my board could get broadcasted packet yet. Thanks On 11/8/06, Ben Warren wrote: > On Wed, 2006-11-08 at 13:59 -0500, Lei Sun wrote: > > Yeah, i suppose so. I connect my host to the board with a hub, give > > them static IP, and set the MAC address to be the same as my host's > > MAC, except one byte. Then I sniff the packet on my host using > > ethereal. > Which byte do you change? Don't touch the left-most one, as its bits > have special meaning. When you say you 'set the MAC address', how do > you do it? Does the 'Source Address' field in the ARP packet sent by > your board match the MAC address that you set? > > > Is the MAC address being compared in CPM's micro code ? > Unicast addresses are compared to registers in the CPM, which may be > implemented in microcode but that's neither here nor there. > > regards, > Ben > > >