From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Trimarchi Date: Tue, 17 Feb 2009 13:24:27 +0100 Subject: [U-Boot] MAC address being reset to 00:00:00:00:00:00 ? In-Reply-To: <878C8866E38F79479435191DB986157F4059B8@ex001.siverge-in.lan> References: <878C8866E38F79479435191DB986157F4059B8@ex001.siverge-in.lan> Message-ID: <499AAC7B.5030308@gandalf.sssup.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Look at the linux git code the driver use this function to fill the mac address of your net, and so I think that somenthing fail here. Maybe is not valid? Try to verify if it fails. const void *of_get_mac_address(struct device_node *np) { struct property *pp; pp = of_find_property(np, "mac-address", NULL); if (pp && (pp->length == 6) && is_valid_ether_addr(pp->value)) return pp->value; pp = of_find_property(np, "local-mac-address", NULL); if (pp && (pp->length == 6) && is_valid_ether_addr(pp->value)) return pp->value; pp = of_find_property(np, "address", NULL); if (pp && (pp->length == 6) && is_valid_ether_addr(pp->value)) return pp->value; return NULL; } Michael