From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Sat, 01 Mar 2008 14:18:23 -0500 Subject: [U-Boot-Users] 1.3.2-rc2 83xx CONFIG_HAS_ETHX not passing MAC addresses In-Reply-To: <20080229130318.GR16684@chiana.homelinux.org> References: <20080229130318.GR16684@chiana.homelinux.org> Message-ID: <47C9ABFF.8080105@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Marc Leeman wrote: > When booting an 8347 processor, the MAC addresses (ethaddr and eth1addr) > don't seem to get passed anymore. > > I modified my config to include CONFIG_HAS_ETH0 and CONFIG_HAS_ETH1 and > I am entering the code in fdt_fixup_ethernet (common/fdt_support.c) but > get stuck at node = fdt_path_offset(fdt, "/aliases"); > > Once this fails, the MAC addresses are not passed along. Disclaimer: I have not researched this... I presume the problem is that the /aliases node doesn't exist in your tree (original kernel .dts source, and thus the .dtb blob). One simple solution would be to create the /aliases node if it doesn't exist, just like we create the /chosen node if it doesn't exist. Best regards, gvb