]> rtime.felk.cvut.cz Git - novaboot.git/commit
Always use bi-direction target communication
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 2 Dec 2014 14:50:24 +0000 (15:50 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 2 Dec 2014 14:50:24 +0000 (15:50 +0100)
commit93da6b1d525944aa35ddd615076f24ba71254064
tree5127743a337bd1768364796f254f4328b1f60028
parent92dd7dd41474b0fd235ff4ee3641b96bc07de8ab
Always use bi-direction target communication

I don't remember what was the reason for setting up bi-directional
interaction only when on terminal. It seems, it is useful to have also
when not on terminal - for example when running under socat.

With this change, I'm able to use novaboot with socat to load u-boot
to the target using X-modem protocol:

    socat EXEC:"novaboot -t mytarget --no-uboot --no-reset /dev/null" EXEC:"sx -kbvv -t 10 ./images/u-boot-spl.bin"
novaboot