commit | c5ef8eade01aad7647a364d29a1046822bfa3af6 | [log] [tgz] |
---|---|---|
author | Xo Wang <xow@google.com> | Mon Apr 17 16:20:43 2017 -0700 |
committer | Xo Wang <xow@google.com> | Mon Apr 17 16:58:17 2017 -0700 |
tree | 045858c71f77a3c0c145ded03f8e95298bd12885 | |
parent | abd8e2550acb1af2ba0cafcc51bc555d5b54add0 [diff] |
tty-handler: Add baud rate setting Add local-tty-baud setting for configuration file. Optionally change tty baud rate using termios. For errors, use prints to stderr where warn/error calls are not appropriate (i.e. errno hasn't been set by the error-causing call). Fixes openbmc/openbmc#992. Change-Id: Ia9226d1666f2626b2c04f30297755d93aee4994e Signed-off-by: Xo Wang <xow@google.com>
Note: In addition to a toolchain and autoconf tools, this requires autotools-archive
to be installed.
To build this project, run the following shell commands:
./bootstrap.sh ./configure ${CONFIGURE_FLAGS} make
To fully clean the repository, run:
./bootstrap.sh clean
Running the server requires a serial port (e.g. /dev/ttyS0):
touch obmc-console.conf ./obmc-console-server --config obmc-console.conf ttyS0
To connect to the server, simply run the client:
./obmc-console-client
To disconnect the client, use the standard ~.
combination.