[U-Boot] setting u-boot params based on serial number

David Collier from_denx_uboot at dexdyne.com
Fri Oct 23 18:52:00 CEST 2009


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


More information about the U-Boot mailing list