
llandre wrote:
Hi all,
I need a tool running on host (Linux or Windows) that is able to interact with u-boot command line emulating a human operator. Also it must be able to retrieve from a text file a sequential list of commands it must issue. One of the purpose is to have a simple procedure to perform on-the-field upgrades with just a laptop connected to the target via serial cable (I'm aware about this http://www.denx.de/wiki/view/UBootdoc/AutomaticUpdates but I need a procedure that does not require USB nor ethernet).
[snip]
From now on the program will handle all the communication with the target and the human operator will have just to wait for notification.
Anybody knows is there is something like this available? If not, any suggestions about how to implement it?
I believe what you are looking for is "expect" http://linux.die.net/man/1/expect
Regards, Øyvind Repvik