diff options
author | John Estabrook <jestabro@vyos.io> | 2024-01-11 10:34:06 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-01-11 13:52:21 -0600 |
commit | 70122bef58eaa0084695f89c410992f8d7c1f9f6 (patch) | |
tree | 98f72941995a2a378e4376b6380ece5dc7444e51 /data/templates/grub/grub_common.j2 | |
parent | ebf8c8d750357122023a0c96b41072065f755c2e (diff) | |
download | vyos-1x-70122bef58eaa0084695f89c410992f8d7c1f9f6.tar.gz vyos-1x-70122bef58eaa0084695f89c410992f8d7c1f9f6.zip |
image-tools: T5910: explicitly set transmission speed of serial console
GRUB defaults to 9600 in case of serial console; explicitly set to
115200.
Diffstat (limited to 'data/templates/grub/grub_common.j2')
-rw-r--r-- | data/templates/grub/grub_common.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/grub/grub_common.j2 b/data/templates/grub/grub_common.j2 index 278ffbf2c..29c2ab879 100644 --- a/data/templates/grub/grub_common.j2 +++ b/data/templates/grub/grub_common.j2 @@ -8,9 +8,9 @@ fi function setup_serial { # initialize the first serial port by default if [ "${console_type}" == "ttyS" ]; then - serial --unit=${console_num} + serial --unit=${console_num} --speed=${console_speed} else - serial --unit=0 + serial --unit=0 --speed=${console_speed} fi terminal_output --append serial console terminal_input --append serial console |