
In message 02b301c78397$9909dfd0$01c4af0a@Glamdring you wrote:
I don't think it makes sense to claim that the network properties are somehow tied to a board. Are there boards out there that have to have certain IP addresses?
If you setup serverip to point at your PC for board test&manufacture then you can do:
setenv bootcmd tftp 21000000 autoscript.myboard ; autoscr 21000000
in your default (compile time) configuration.
Connect Ethernet Power Up autoscript is downloaded and executed LED starts to blink when ready. Power Down Next board...
The autoscript.myboard is regenerated for every new board so they get a new "ethaddr" and other custom features..
I really do not see the harm in this.
But to do this, no changes to the U-Boot code are needed. Just set your default network configuration in the board config file, and you are all set.
Best regards,
Wolfgang Denk