Closed Bug 798427 Opened 12 years ago Closed 12 years ago

Patch B2G kernel to allow static MAC addresses on Panda Boards

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

ARM
Gonk (Firefox OS)
task
Not set
normal

Tracking

(blocking-kilimanjaro:?)

RESOLVED FIXED
blocking-kilimanjaro ?

People

(Reporter: dividehex, Assigned: tzimmermann)

References

Details

Currently, the AOSP kernel we are using for B2G builds generates a random MAC address due to the fact that panda boards do not have an EEPROM and therefore does not have a factory set MAC address. AOSP and the linux kernel all handle this the same with by generating random MACs.  We will need to solve this before B2G on panda tests goes into prodution.

There are 2 approaches to getting static MACs.
First, patch the kernel net driver to allow for the mac address to be passed by via kernel boot params.  This creates a dependency on the boot loader being able to pass those.  Linaros u-boot loader will be able to pass this but not the current uboot loader being used with b2g.

The second approach, which Linaro takes, is to patch the kernel to generate a MAC address from the CPU DIE ID.  This is also the same way Linaro U-boot handles this issue.

Here are the patches to Linaro's solution.
http://android.git.linaro.org/gitweb?p=kernel/panda.git;a=commit;h=c6457e678d77a4767d81a3b65f5414c393ac959a
http://android.git.linaro.org/gitweb?p=kernel/panda.git;a=commit;h=6ddbfc74955d0269cb8ca676995bb54c5e0c459a
http://android.git.linaro.org/gitweb?p=kernel/panda.git;a=commit;h=ff3c6d41588d2c204c8bb8405761d221893ae2e4
blocking-kilimanjaro: --- → ?
Blocks: 778249
Blocks: 778248
FYI: I'm working on this as part of https://bugzilla.mozilla.org/show_bug.cgi?id=778248.
Status: NEW → ASSIGNED
This change has been merged as part of https://bugzilla.mozilla.org/show_bug.cgi?id=778248.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.