* Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> [161201 13:37]: > Hi Tony, > > On Thursday 01 Dec 2016 13:12:34 Tony Lindgren wrote: > > * Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> [161130 09:58]: > > > The Beagleboard-xM has a LAN9514 USB hub and ethernet controller, > > > connected to port 2 of the OMAP EHCI controller. The board however has > > > no EEPROM to store the ethernet MAC address, which is programmed by the > > > boot loader. > > > > > > To allow Linux to use the same MAC address as the boot loader (or for > > > that matter any fixed MAC address), we need a node in the device tree > > > for the ethernet controller that the boot loader can update at runtime > > > with a local-mac-address property. Add it, along with an alias for the > > > ethernet controller to let the boot loader locate it easily. > > > > Does not seem to work here.. Do I need to set something in u-boot? > > I'm using U-Boot 2016.09-00004-g26bb688. > > Some versions (possibly forked by vendors) might set the MAC address > automatically in DT, but in my case I have the following in my boot script: > > tftp 0x80800000 beagle/omap3-beagle-xm.dtb > fdt addr ${fileaddr} ${filesize} > fdt resize > fdt set /ocp@68000000/usbhshost@48064000/ehci@48064800/usb2@2/usbether@1 local-mac-address "[7a d2 a0 00 d1 f0]" OK. I just added setenv ethaddr ${usbethaddr} to my bootcmd.. Tony -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html