David Collier wrote:
> 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?
>
>   
Yes
> AVR32, if it matters
>
>   
It shouldn't.  You can do this any number of ways, but if it was me I'd 
script it off-target.  I'm a big fan of Python, so tend to use pexpect 
for this sort of thing.
> TVM
>
> David Collier
>   
regards,
Ben
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to