On 12/08/2011 02:36 AM, Somebody in the thread at some point said:

Just briefly commenting on the bits I have some experience with...

1) Unless we use external USB/ETH adapters then cloning a master image
clones the mac address as well. This has serious consequences and I'm

This doesn't ring true. We do have different mac addresses, even on
boards without flash and on-board ethernet.

How does it work? As far as I know mac address is burned in boot.scr, if
you copy that (and tell me we don't) then we get duplicates.

Update: after a quick discussion on #linaro it seems that the mac
address is actually burned into the hardware pack and lmc does not make
one (at least not for panda). I have not verified this yet but if true
then _all_ pandas with a given hwpack build get the same mac.

If you're running TI LT kernels for Panda, and it has also been true for linux-linaro- on Panda, then I added patches a while back to munge a MAC address from the CPU's allegedly-GUID ID number. That is consistent for a particular Panda board, and there's at least a selection of possible MAC addresses to reduce chance of collision. It's unclear how wide that selection is but it isn't tiny.

corrupted) before booting to ensure consistent behaviour. I did some
work on that and I managed to boot panda over NFS. Ideally I want to
boot over nbd (netblock device) which is much faster and with proper
"master image" init script we can expose a single read only net block
device to _all_ the boards.

FWIW I used NBD some years ago and it worked great. You have to take care about building some userland footprint for it but otherwise I found it much more effective and reliable than NFS.

1) Start with what we have but make it 100% automatic. Fix MAC issues.

If you're faced with a board that has no on-PCB NV storage for this kind of identity information, if the CPU has a GUID then I can recommend forming the MAC from it.

-Andy

--
Andy Green | TI Landing Team Leader
Linaro.org │ Open source software for ARM SoCs | Follow Linaro
http://facebook.com/pages/Linaro/155974581091106 - http://twitter.com/#!/linaroorg - http://linaro.org/linaro-blog

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to