Statically setting the MAC address <syntax problem?>


     I have been trying to statically set the mac address for the
g_ether gadget on both sides with no luck. I have seen in several
places that it is necesary to add something along the lines of
"g_ether.dev_addr=00:01:02:03:04:05 g_ether.host_addr=06:07:08:09:0a:
0b" to bootargs in u-boot but that doesn't seem to be working. By not
working I mean it hangs at the "Uncompressing Linux..." stage. Am I
doing anything wrong with syntax? Can someone help me get this going?
It should be relatively simple.


My u-boot env vars are called as follows:

nandargs== setenv bootargs console=ttyS2,115200n8 video=omapfb:vram:
2M,vram:4M,mode:1024x768@60,vxres=1024,vyres=768 root=/dev/mtdblock4
rw rootfstype=jffs2 g_ether.host_addr=00:01:02:03:04:05

[Which works if you take everything after "jffs2" out of it]

Which is called by:

nandboot=echo Booting from nand ...; run nandargs; nand read $
{loadaddr} 280000 400000; bootm ${loadaddr}

and then:

bootcmd=if mmc init; then if run loadbootscript; then run bootscript;
else if run loaduimage; then run mmcboot; else run nandboot; fi; fi;
else run nandboot; fi

[Note: There is no SD card in the slot so this ends up calling

Can anyone offer any insight on how to do this properly?