Thread (30 messages) flat view 30 messages, 8 authors, 2012-02-06

Re: Mac address in the DT

From: Joakim Tjernlund <hidden>
Date: 2012-01-09 14:20:27

Hi Wolfgang,

I need to automate a sequence of commands. To do that I am setting a environment variable with the sequence of commands.
And using run command run the environment variable.

But one of the command uses " in the command. So how do I save the command with quotes.

Below is the command which I want to set in the environment variable.

setenv set_mac ""cp 0xffec0000 0x100000 1024;fdt addr 0x100000 8192;fdt set /soc8272@f0000000/ethernet@24000 mac-address "[00 22 00 33 00 55]""

But when I saveenv the command doesnot get save as fdt set /soc8272@f0000000/ethernet@24000 mac-address "[00 22 00 33 00 55]"

Thanks & Regards,
Smitha
Have you tried ...\"[00 22 00 33 00 55]\"" ?

 Jocke
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help