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.