Re: [U-Boot] Regarding HUSH support in uboot

2012-01-06 Thread Wolfgang Denk
Dear amruth vamadev, In message you wrote: > > Thanks for response.If I want to store those strings into variable and > may be compare it or parse it for information.For example "echo a" > redirected to variable like assignment. My goal is to write simple > diags to test pci or serial flash usin

Re: [U-Boot] Regarding HUSH support in uboot

2012-01-06 Thread amruth vamadev
Wolfgang Denk Thanks for response.If I want to store those strings into variable and may be compare it or parse it for information.For example "echo a" redirected to variable like assignment. My goal is to write simple diags to test pci or serial flash using commands in the shell using script. We c

Re: [U-Boot] Regarding HUSH support in uboot

2012-01-06 Thread Wolfgang Denk
Dear amruth vamadev, In message you wrote: > How do we know whether hush shell capability is supported or not in > the command shell.I have enabled CONFIG_SYS_HUSH_PARSER in in config > file. A simple test is echo a && echo b If you get "a && echo b" back, then hush is not active. Be

[U-Boot] Regarding HUSH support in uboot

2012-01-05 Thread amruth vamadev
Hi How do we know whether hush shell capability is supported or not in the command shell.I have enabled CONFIG_SYS_HUSH_PARSER in in config file. I am trying to write simple script like below myname=`test` if $myname=test then echo "test" else echo "failed" fi I am getting the following error "unk