From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benedict Hewson Date: Sun, 16 Mar 2014 07:00:55 +0000 Subject: [U-Boot] setting Ethernet address In-Reply-To: References: <1918123.I2qffjhUIk@desktop1> <3081365.J34PDCkffQ@desktop1> Message-ID: <4458778.Fr6NCEssuz@desktop1> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Saturday 15 Mar 2014 16:59:05 Fabio Estevam wrote: > On Sat, Mar 15, 2014 at 4:08 AM, Benedict Hewson > > wrote: > > In the fec_get_hwaddr() function I have printed out the values returned by > > imx_get_mac_from_fuse() and they are all 0. > > > > I have read in the README.imx6 file that the MAC address is stored in the > > fuse bank. The default reset value according to the datasheet is 0, so is > > this programmed by Freescale or the board vendor ? > > Looks like the vendor did not program the MAC address in the fuses then. > > Does it work if you pass 'setenv ethaddr '? > > Regards, > > Fabio Estevam yes using setenv ethaddr and setenv ipaddr allows me to ping other computers and to ping the board. I was wondering why if I try to set ethaddr as part of CONFIG_EXTRA_ENV_SETTINGS it is not there when I boot the board.