[U-Boot-Users] U-Boot interpreter syntax change?

Hello - I was recently porting some old U-Boot scripts to my new board and I was having a problem with the kernel command line. Instead of getting substitutions for things like $(ipaddr), I was seeing, literally, $(ipaddr) in the kernel command line as reported by the kernel. I also saw a similar problem with the U-Boot tftpboot command.
This: Ant2> setenv load_kernel tftp $(loadaddr) $(kernel_image); Ant2> run load_kernel
Gives this output from U-Boot: Ant2> run load_kernel TFTP from server 192.168.0.100; our IP address is 192.168.0.10 Filename '$(kernel_image)'.
While this: Ant2> setenv load_kernel tftp $loadaddr $kernel_image Ant2> run load_kernel
Gives this: Ant2> run load_kernel TFTP from server 192.168.0.100; our IP address is 192.168.0.10 Filename 'kernel.uImage'.
Which works.
I checked the DULG, and the guide indicates that the first form shown above is correct. Have things changed or do I have something misconfigured? Any ideas?
Thanks,
Keith

In message OF1A5A1308.3B93DC65-ON07257061.00650061-07257061.0066A5D5@mck.us.ray.com you wrote:
I was recently porting some old U-Boot scripts to my new board and I was having a problem with the kernel command line. Instead of getting
Which command interpreter did you enable for your new board?
I checked the DULG, and the guide indicates that the first form shown above is correct.
It is only correct in case of using the old, simple command interpreter.
Have things changed or do I have something misconfigured? Any ideas?
You have probably enabled the hush shell in your new board configuration and should read the FAQ: http://www.denx.de/twiki/bin/view/DULG/CommandLineParsing
Best regards,
Wolfgang Denk

Hi Wolfgang - Yes, you are correct. I enabled the hush shell. I should have read the DLUG more carefully! Keith.
u-boot-users-admin@lists.sourceforge.net wrote on 08/18/2005 01:55:16 PM:
In message <OF1A5A1308.3B93DC65-ON07257061.00650061-07257061. 0066A5D5@mck.us.ray.com> you wrote:
I was recently porting some old U-Boot scripts to my new board and I
was
having a problem with the kernel command line. Instead of getting
Which command interpreter did you enable for your new board?
I checked the DULG, and the guide indicates that the first form shown above is correct.
It is only correct in case of using the old, simple command interpreter.
Have things changed or do I have something misconfigured? Any ideas?
You have probably enabled the hush shell in your new board configuration and should read the FAQ: http://www.denx.de/twiki/bin/view/DULG/CommandLineParsing
Best regards,
Wolfgang Denk
participants (2)
-
Keith J Outwater
-
Wolfgang Denk