public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] setting u-boot params based on serial number
@ 2009-10-23 16:52 David Collier
  2009-10-23 16:58 ` Ben Warren
  2009-10-23 18:03 ` Wolfgang Denk
  0 siblings, 2 replies; 11+ messages in thread
From: David Collier @ 2009-10-23 16:52 UTC (permalink / raw)
  To: u-boot

This may be bloody obvious to most of you, but I'm still learning.

I have a batch of boards in production.

say serial numbers 1 to 50

I want to set the 2 mac address, and the ip address so that the last few
digits match the serial number.

can I do this easily with some sort of u-boot script? Or can I run an app
I write myself in C or whatever, and get it to do setenv commands?

AVR32, if it matters

TVM

David Collier

www.dexdyne.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-10-26 14:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23 16:52 [U-Boot] setting u-boot params based on serial number David Collier
2009-10-23 16:58 ` Ben Warren
2009-10-23 18:03 ` Wolfgang Denk
2009-10-23 20:13   ` David Collier
2009-10-23 20:38     ` David Collier
2009-10-23 21:05       ` Wolfgang Denk
2009-10-23 21:04     ` Wolfgang Denk
2009-10-26 10:36       ` David Collier
2009-10-26 12:01         ` Wolfgang Denk
2009-10-26 13:29           ` David Collier
2009-10-26 14:12             ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox