This is a method, ok..
I boot from sdcard...and i save the mac address in the environment of sdcard using "setenv ethaddr <your new mac>".
But if in the same board, i insert a new sdcard..automatically the mac address is different, because like mac address is taken the one present in the new sdcard, instead the mac address must be univocal for a board.
There is a tool under uboot:
U-BOOT >mii
"
Usage:
mii device - list available devices
mii device <devname> - set current device
mii info <addr> - display MII PHY info
mii read <addr> <reg> - read MII PHY <addr> register <reg>
mii write <addr> <reg> <data> - write MII PHY <addr> register <reg>
mii dump <addr> <reg> - pretty-print <addr> <reg> (0-5 only)
Addr and/or reg may be ranges, e.g. 2-7.
"
but i can't use it !!
Kirill Danilenko said:
U-BOOT > setenv ethaddr <your new mac>