diff options
author | Martin Roth <martinroth@google.com> | 2015-12-17 12:02:45 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2015-12-20 01:14:41 +0100 |
commit | d0128df777b761bbf72233d3e3f248cea2f3c484 (patch) | |
tree | ebdf28d2d0734df0e2e9585d70ba14c3c87ac144 /src/soc/broadcom/cygnus | |
parent | 1eaaa0e446b88e0ad60c4b6f68a022a9184f1df8 (diff) |
board_status.sh: Update to fix serial port reads
The old serial port read method lost characters from the boot log. This
method works better for me.
- Put get_serial_bootlog arguments into variable names for clarity.
- Fully configure the serial port with stty: disable parity and flow control.
- Change serial port read from reading with 'cat' to reading with 'read'.
- Update help to show current default speed from the variable.
tested under dash, bash, and zsh on several platfoms.
Change-Id: I91ae63a3c226e61019dbdf69c405c3f20ba7db54
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12757
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/broadcom/cygnus')
0 files changed, 0 insertions, 0 deletions