Comment 1 for bug 809015

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Currently U-boot doesn't set any mac address while booting with Pandaboard. Pandaboard uses the SMSC95XX device, that lacks proper EEPROM, so the only way out is to calculate the value using at least something that's unique.

This is how it's done by the kernel:
http://git.linaro.org/gitweb?p=kernel/linux-linaro-2.6.39.git;a=blob;f=arch/arm/mach-omap2/board-omap4panda.c;h=cce44e2bdcfc8fb2b55c8704becf36cd0f07310e;hb=HEAD#l759
http://git.linaro.org/gitweb?p=kernel/linux-linaro-2.6.39.git;a=blob;f=arch/arm/mach-omap2/id.c;h=e46b430c701a4ef5e65797a1f4261c2f9948079c;hb=HEAD#l561

It basically uses the die_id to generate a valid mac address that will end up being unique per board.