[PATCH 7/8] qi-add-gta02-indentity-part-parsing.patch

Robert Piasek robert.piasek at member.fsf.org
Thu Feb 19 20:54:27 CET 2009


On Tuesday 03 February 2009 18:12:50 Andy Green wrote:
> Now everything else is in place, we are able to mount
> the GTA02 "identity" partition and extract the USB Ethernet
> MAC Address from it, and add it to the kernel commandline.
> This causes the Ethernet gadget to use the same MAC address
> each boot, simplifying DHCP server situation.  The MAC
> address in the identity partition is globally unique from
> the factory.

Because of this patch I can no longer load g_ether module with host_addr= and 
dev_addr= parameters.

The module is always loaded using factory mac for HOST and random mac for DEV.

That messes up my setup a bit, as I use NetworkManager 0.7 on FreeRunner 
itself (and it expects DEV mac to be the same each time).

Would it be a problem to also include g_ether.dev_addr?

Attached patch solves my problem.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: qi-dev_addr.patch
Type: text/x-patch
Size: 529 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20090219/72d0b2ca/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20090219/72d0b2ca/attachment.pgp 

More information about the openmoko-kernel mailing list