Bacan
Posts: 347
Joined: Sun Sep 25, 2011 10:03 pm

Re: Eithernet MAC serial # for a R-Pi

Mon Sep 26, 2011 12:13 am

My first posting. I've been lurking and learning about this really neat device for a few weeks now. Ready to start joining in and offering ideas and solutions. So here is an important question for one of my clients, an award winning educational software and game developer:

Will there be a unique machine readable serial number in each R-Pi?

Two possible ways pop into my mind are:

1) An Ethernet MAC Address.
Ethernet hardware addresses are 48 bits, expressed as 12
hexadecimal digits. The first three (left-most) bytes (6 digits)
represent the Manufacturer's code. These are assigned by the
IEEE. The remaining three (right-most) bytes (6 digits) represent
the manufacturer's serial number.
Note that all Ethernet MAC Addresses must be unique on the
LAN.

2) Embedded in the ARM/GPU/DSP SOC (System on a Chip) is a serialized ID.

3) Something else?

Thank you for what your doing.

User avatar
liz
Raspberry Pi Foundation Employee & Forum Moderator
Raspberry Pi Foundation Employee & Forum Moderator
Posts: 5202
Joined: Thu Jul 28, 2011 7:22 pm
Contact: Website

Re: Eithernet MAC serial # for a R-Pi

Mon Sep 26, 2011 1:54 am

There will be; it'll be embedded on the SOC and will probably be used to generate the ethernet MAC address.
Director of Communications, Raspberry Pi

User avatar
abishur
Posts: 4477
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
Contact: Website

Re: Eithernet MAC serial # for a R-Pi

Mon Sep 26, 2011 2:06 am

I forget where specifically they're putting it, but yes, they've said they're will be unique numbers for the r-pis.
Dear forum: Play nice ;-)

Bacan
Posts: 347
Joined: Sun Sep 25, 2011 10:03 pm

Re: Eithernet MAC serial # for a R-Pi

Mon Sep 26, 2011 6:02 am

Thank you for sharing and answering promptly.

My Client will like hearing that, and I can proceed with the business plan for bring
their application to even more kids, using just a TV and a musical instrument.

More ideas are in the works, will share info as the plans come together.

david13lt
Posts: 20
Joined: Thu Sep 08, 2011 4:55 am

Re: Eithernet MAC serial # for a R-Pi

Mon Sep 26, 2011 6:53 am

On the Gumstix Fire COM, u-boot is used as bootloader.
Once is starts it prints:
Die ID #2fd400040000000004037f680e023014

It is also defined in u-boot environment:
dieid#=2fd400040000000004037f680e023014
You can get it from u-boot console or from userland tools.

Additionally if you know the location of the ID, you can fetch it from the memory:
DIE_ID=""
for addr in '0x4830a224' '0x4830a220' '0x4830a21c' '0x4830a218'; do
DIE_ID=${DIE_ID}`devmem2 ${addr} | gawk '/Value/ { printf "%08X", strtonum($6) }'`
done
echo ${DIE_ID}


I would expect something similar to be available, otherwise MAC will have to be used.

MmmPi
Posts: 61
Joined: Sun Aug 21, 2011 4:43 am

Re: Eithernet MAC serial # for a R-Pi

Wed Sep 28, 2011 12:25 am

Will records of the serial / MACs for each purchase be kept?
.

User avatar
Gert van Loo
Posts: 2486
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Eithernet MAC serial # for a R-Pi

Wed Sep 28, 2011 10:11 am

Want to start counterfeiting them?

MmmPi
Posts: 61
Joined: Sun Aug 21, 2011 4:43 am

Re: Eithernet MAC serial # for a R-Pi

Thu Sep 29, 2011 12:24 am

How? With elves & pixie dust? :D Only elves can get the BCM2835 in less then massive quantities. I'm sure only pixie dust can let one assemble boards for less cost then RasPi can. Sounds like you guys are working hard to shave every penny possible.

Sometimes its just nice not to be tracked. Especially when seemingly every other company takes great joy in keeping records of every second of your life. Even if they haven't found a way to sell all that info yet.
.

Bacan
Posts: 347
Joined: Sun Sep 25, 2011 10:03 pm

Re: Eithernet MAC serial # for a R-Pi

Thu Sep 29, 2011 1:30 am

Some businesses need to limit use of their software to only paid customers.

User avatar
Gert van Loo
Posts: 2486
Joined: Tue Aug 02, 2011 7:27 am
Contact: Website

Re: Eithernet MAC serial # for a R-Pi

Thu Sep 29, 2011 5:32 pm

Ahhh! I can fully understand that attitude. I also hate that part of our modern society. I do my best to thwart it in the few ways available to me. Like not have any 'loyalty' or 'club point' cards.

MmmPi
Posts: 61
Joined: Sun Aug 21, 2011 4:43 am

Re: Eithernet MAC serial # for a R-Pi

Thu Sep 29, 2011 11:47 pm

I use to have an anti-loyalty card. :) One grocery store had a courtesy card they would scan for you if you forgot yours or just asked for it. Well the card number shows on your receipt... Add an online barcode generator & you have one anonymous anti-loyalty card. :D I loved using it. Got a funny look & question once or twice since it came up on screen as courtesy card.

So any chance the serial / MAC won't be correlated with individual purchases?
.

Dave Duchesneau
Posts: 16
Joined: Mon Aug 29, 2011 7:48 pm
Contact: Website

Re: Eithernet MAC serial # for a R-Pi

Thu Oct 06, 2011 3:10 am

Quote from liz on September 26, 2011, 02:54
There will be; it'll be embedded on the SOC and will probably be used to generate the ethernet MAC address.

I assume that the various Linux R-Pi distros available will have the usual capability of supplying an alternate MAC (i.e., a VMAC or "virtual MAC"), such as might be used in clustered applications. Is this a valid assumption?

Dave Duchesneau
Posts: 16
Joined: Mon Aug 29, 2011 7:48 pm
Contact: Website

Re: Eithernet MAC serial # for a R-Pi

Thu Oct 06, 2011 4:44 am

With regard to the contemplated Linux R-Pi distros, has anyone got any idea of what their memory footprints are? I'm wondering approximately how much physical memory might be available for apps & data, etc. On the "B" unit, I guess it would be at least 128 MB (heh, heh).

asb
Forum Moderator
Forum Moderator
Posts: 853
Joined: Fri Sep 16, 2011 7:16 pm
Contact: Website

Re: Eithernet MAC serial # for a R-Pi

Thu Oct 06, 2011 7:01 am

Quote from Dave Duchesneau on October 6, 2011, 04:10
I assume that the various Linux R-Pi distros available will have the usual capability of supplying an alternate MAC (i.e., a VMAC or "virtual MAC"), such as might be used in clustered applications. Is this a valid assumption?

Changing the MAC is trivial, just use `ifconfig usb0 hw ether NEWADDRESS` while the device is down. Note: if you currently have an alpha board and 2.6.35.7 you'll want to add this kernel patch for it to work:
https://github.com/torvalds/linux/commit/f4e8ab7

Dave Duchesneau
Posts: 16
Joined: Mon Aug 29, 2011 7:48 pm
Contact: Website

Re: Eithernet MAC serial # for a R-Pi

Thu Oct 06, 2011 1:06 pm

Thanks!

Rasz
Posts: 24
Joined: Thu Oct 13, 2011 10:28 pm

Re: Eithernet MAC serial # for a R-Pi

Fri Oct 14, 2011 5:00 am

Mac will be probably stored on LAN9512 serial eprom (if there is one on the board)

Return to “General discussion”