commit | c7fbcd480fb03840a4c44e546af878e84400b6fe | [log] [tgz] |
---|---|---|
author | Benjamin Fair <benjaminfair@google.com> | Mon Jun 04 14:39:01 2018 -0700 |
committer | Benjamin Fair <benjaminfair@google.com> | Tue Jun 05 09:45:33 2018 -0700 |
tree | 4aa384fd9f0c0b1d76121c1bc8b9ae43dfac255e | |
parent | fcbdea9c19e5c684de8db8241831810ec94612f6 [diff] |
server: allow setting baud rate on host tty The Nuvoton NPCM7xx series BMCs have a real UART which receives output from the host serial console, rather than a virtual UART as on Aspeed parts. This means we have to set the baud rate of the tty to match the host console. This change adds the "baud" config option. If it is present in the config file and has a valid value, the host console tty's baud rate will be set to that value. Change-Id: If2156c2032e7527709713f13654ce8bca9bf4c1d Signed-off-by: Benjamin Fair <benjaminfair@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.