In U-boot is it possible to pipe the output of a command to a variable:
U-Boot: ping 192.168.0.0.1 | ping_res
U-Boot: printenv ping_res
Thanks
In U-boot is it possible to pipe the output of a command to a variable:
U-Boot: ping 192.168.0.0.1 | ping_res
U-Boot: printenv ping_res
Thanks
The standard CLI of U-Boot can be replaced with the Hush shell, but its capabilities do not seem to include pipes (U-Boot does not have multitasking) nor I/O redirection. See http://www.denx.de/wiki/view/DULG/CommandLineParsing.
Note: your example of a pipe and variable assignment is incorrect.
(Answer created from @sawdust's comment)