wow serialnumber=1234 set_mac_IP=setexprd sn34 ${serialnumber} % 100 ;setexprd sn12 ${serialnumber} / 100; setenv ipaddr 10.212.${sn12}.${sn34}; setenv ethaddr 00:90:46:20:${sn12}:${sn34}; setenv eth1addr 00:90:46:21:${sn12}:${sn34}; setenv sn12 ; setenv sn34
that's seriously useful! TVM David Collier www.dexdyne.com _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot