Add functions for (de)activating consoles and for setting baudrate

Sascha Hauer s.hauer at pengutronix.de
Tue Jun 9 00:26:14 PDT 2015


On Tue, Jun 09, 2015 at 08:21:03AM +0200, Sascha Hauer wrote:
> We have some console users like load[bxy] which fiddle with device
> parameters to control console activation and baudrate settings. This
> series introduces functions for doing this and makes use of them where
> possible. The serial download stuff is untested as I have been unable
> to get that to work with any of the three protocols and kermit or minicom
> as terminal programs. If anyone has a hint how this works I'd be grateful.

The hint came from Uwe. He uses sx/sz directly and with this it works
together with the barebox commands like this:

barebox> loadx
host> sx -kb -vvvv FILE < /dev/ttyUSB2 > /dev/ttyUSB2

barebox> loady
host> sz -kb -vvvv FILE < /dev/ttyUSB2 > /dev/ttyUSB2

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list