u-boot lacks unique mac address on Pandaboard while netbooting
Bug #809015 reported by
John Rigby
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.
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 |
Changed in linaro-ubuntu: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
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: git.linaro. org/gitweb? p=kernel/ linux-linaro- 2.6.39. git;a=blob; f=arch/ arm/mach- omap2/board- omap4panda. c;h=cce44e2bdcf c8fb2b55c8704be cf36cd0f07310e; hb=HEAD# l759 git.linaro. org/gitweb? p=kernel/ linux-linaro- 2.6.39. git;a=blob; f=arch/ arm/mach- omap2/id. c;h=e46b430c701 a4ef5e65797a1f4 261c2f9948079c; hb=HEAD# l561
http://
http://
It basically uses the die_id to generate a valid mac address that will end up being unique per board.