u-boot lacks unique mac address on Pandaboard while netbooting

Bug #809015 reported by John Rigby
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Fix Released
Low
John Rigby
u-boot-linaro (Ubuntu)
Fix Released
Low
John Rigby

Bug Description

on platforms that lack a serial rom or other storage for a unique mac address on should be generated from the cpu die-id
This ability has been added to linux for omap and should be added to u-boot also.

John Rigby (jcrigby)
Changed in u-boot-linaro (Ubuntu):
status: New → Confirmed
assignee: nobody → John Rigby (jcrigby)
Changed in u-boot-linaro (Ubuntu):
importance: Undecided → Low
summary: - u-boot lacks unique mac address
+ u-boot lacks unique mac address on Pandaboard while netbooting
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.

Changed in linaro-ubuntu:
status: New → Confirmed
status: Confirmed → In Progress
importance: Undecided → Low
assignee: nobody → John Rigby (jcrigby)
milestone: none → 11.07
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package u-boot-linaro - 2011.07.1-0ubuntu1

---------------
u-boot-linaro (2011.07.1-0ubuntu1) oneiric; urgency=low

  * New upstream 2011.07.1 which includes
     - PXE FDT fix from previous ubuntu release so patch has been removed
     - Added missing PXE env vars (LP: #808815)
     - Generated unique usbethaddr (LP: #809015)
     - Modify pxe command to look for usbethaddr if ethaddr is NULL
 -- John Rigby <email address hidden> Wed, 13 Jul 2011 23:31:39 -0600

Changed in u-boot-linaro (Ubuntu):
status: Confirmed → Fix Released
Changed in linaro-ubuntu:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.