tag:blogger.com,1999:blog-3014099941823379560.post3829191710556738893..comments2023-02-18T10:46:34.161-06:00Comments on Jeff Bastian's Blog: Persistent MAC Address on the PandaBoardJeff Bastianhttp://www.blogger.com/profile/18128075341421142000noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3014099941823379560.post-65858436329570069102013-07-30T05:17:22.870-05:002013-07-30T05:17:22.870-05:00It appears that this issue was additional to the o...It appears that this issue was additional to the omap4 kernel (see http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-maverick.git;a=commit;h=10f38b455e75b85f72e98786e5518cf7b0324634).So you\'ll force mac address at boot-time by adding the smsc95xx.macaddr=xx:xx:xx:xx:xx:xx parameter to the kernel statement.<br /><br />Thanks<br />Silvester Norman<br /><br /><a href="http://sdadapters.com/" rel="nofollow">Change Mac Address</a><br />Anonymoushttps://www.blogger.com/profile/00527553881509979555noreply@blogger.comtag:blogger.com,1999:blog-3014099941823379560.post-65741186774639407932011-08-02T12:19:11.860-05:002011-08-02T12:19:11.860-05:00Looking at the Natty kernel source, I don't se...Looking at the Natty kernel source, I don't see where it's generating the MAC off the die id.<br /><br />I found this upstream patch that adds a new omap_get_die_id() function:<br /><a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2e130fc3d4fd5b38ee5d3c0a5c7f9fb85bce698e" rel="nofollow">http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2e130fc3d4fd5b38ee5d3c0a5c7f9fb85bce698e</a><br /><br />And I see the new omap_get_die_id() function is in the Natty kernel:<br /><a href="http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-natty.git;a=blob;f=arch/arm/mach-omap2/id.c;h=5f9086c65e48262835a39d3c7c86b000eba543dd;hb=HEAD#l108" rel="nofollow">http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-natty.git;a=blob;f=arch/arm/mach-omap2/id.c;h=5f9086c65e48262835a39d3c7c86b000eba543dd;hb=HEAD#l108</a><br /><br />However, I do not see any calls to the omap_get_die_id() function in the smsc95xx.c driver:<br /><a href="http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-natty.git;a=blob;f=drivers/net/usb/smsc95xx.c;h=bc86f4b6ecc218289bad5889ffce90e6e57c27cd;hb=HEAD" rel="nofollow">http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-natty.git;a=blob;f=drivers/net/usb/smsc95xx.c;h=bc86f4b6ecc218289bad5889ffce90e6e57c27cd;hb=HEAD</a><br /><br />There was a proposed patch for the BeagleBoard xM to use the omap_get_die_id() function when generating a MAC address, but this patch does not appear to have been accepted upstream:<br /><a href="http://groups.google.com/group/beagleboard/browse_thread/thread/92d41bb344f8939b?fwc=1" rel="nofollow">http://groups.google.com/group/beagleboard/browse_thread/thread/92d41bb344f8939b?fwc=1</a><br /><br />Can you point to where it's using the die id to generate the MAC address? Maybe I'm looking in the wrong place.Jeff Bastianhttps://www.blogger.com/profile/18128075341421142000noreply@blogger.comtag:blogger.com,1999:blog-3014099941823379560.post-50600655173786874182011-07-21T16:32:54.034-05:002011-07-21T16:32:54.034-05:00Actually, the ubuntu kernel uses the die id from t...Actually, the ubuntu kernel uses the die id from the soc to generate a unique mac address. So far, it has been consistent and mostly unique in my setup of 6 pandas (one appears to have a duplicate die id of a prerelease panda).<br /><br />And now, so does u-boot with pxe support. I now have my pool of pandas booting w/o any SD cards (use omap4boot to push u-boot.bin).Anonymousnoreply@blogger.com