[U-Boot-Users] uboot script parameters.
Leonid
Leonid at a-k-a.net
Wed Jul 19 23:32:29 CEST 2006
Hi:
Couple questions regarding u-boot scripts:
1) Is it possible to create proprietary u-boot script which takes
parameters (like bash for instance):
setenv getkernel tftp 2000000 \$1\/uImage
where I used $1 for 1st parameter like in bash (u-boot may have
different notation).
Then later I can run my script with arbitrary parameter:
run getkernel /images
2) Looks like u-boot doesn't support nested substitution of script
parameters. For instance:
=> setenv sw_ver 1.0.10
=> setenv image_path rel\/\$(sw_ver)
=> printenv image_path
image_path=rel/$(sw_ver)
=>
Am I doing something wrong?
Thanks,
Leonid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060719/e39db763/attachment.htm
More information about the U-Boot
mailing list