Skip to contentSkip to conversation

automation: fix xilinx test console settings

PATCH Superseded [email protected] 2 participants 2 messages Sep 9, 2024 Arm/Zynq architecture

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 automation: fix xilinx test console settings

From: Victor Lira <[email protected]>

The test showed unreliable behavior due to unsupported console settings. Update the baud rate and I/O port used to connect to the UART.

---
Cc: Andrew Cooper <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Julien Grall <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: [email protected]

---
 automation/gitlab-ci/test.yaml                 | 2 +-
 automation/scripts/xilinx-smoke-dom0-x86_64.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
automation/gitlab-ci/test.yaml +1 -1
index cecc18a0198c..35ce453475bc 100644
@@ -102,7 +102,7 @@
   variables:
     CONTAINER: ubuntu:xenial-xilinx
     LOGFILE: xilinx-smoke-x86_64.log
-    XEN_CMD_CONSOLE: "console=com2 com2=115200,8n1,0x2F8,4"
+    XEN_CMD_CONSOLE: "console=com2 com2=57600,8n1,0x2E8,4"
     TEST_BOARD: "crater"
     TEST_TIMEOUT: 1000
   artifacts:
automation/scripts/xilinx-smoke-dom0-x86_64.sh +1 -1
index ef6e1361a95c..7027f083bafe 100755
@@ -129,7 +129,7 @@ sleep 5
 sh /scratch/gitlab-runner/${TEST_BOARD}.sh 1
 sleep 5
 set +e
-stty -F ${SERIAL_DEV} 115200
+stty -F ${SERIAL_DEV} 57600
 
 # Capture test result and power off board before exiting.
 export PASSED="${PASS_MSG}"

--
2.25.1

#1 lore raw
Quoted 6 lines · On Mon, 9 Sep 2024, [email protected] wrote:

From: Victor Lira <[email protected]>

The test showed unreliable behavior due to unsupported console settings. Update the baud rate and I/O port used to connect to the UART.

The change of ioport number should not be needed. I discussed this with Victor and he is re-running the tests just lowering the baud rate.

Quoted 40 lines

---
Cc: Andrew Cooper <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Julien Grall <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: [email protected]

---
 automation/gitlab-ci/test.yaml                 | 2 +-
 automation/scripts/xilinx-smoke-dom0-x86_64.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
automation/gitlab-ci/test.yaml +1 -1
index cecc18a0198c..35ce453475bc 100644
@@ -102,7 +102,7 @@
   variables:
     CONTAINER: ubuntu:xenial-xilinx
     LOGFILE: xilinx-smoke-x86_64.log
-    XEN_CMD_CONSOLE: "console=com2 com2=115200,8n1,0x2F8,4"
+    XEN_CMD_CONSOLE: "console=com2 com2=57600,8n1,0x2E8,4"
     TEST_BOARD: "crater"
     TEST_TIMEOUT: 1000
   artifacts:
automation/scripts/xilinx-smoke-dom0-x86_64.sh +1 -2
index ef6e1361a95c..7027f083bafe 100755
@@ -129,7 +129,7 @@ sleep 5
 sh /scratch/gitlab-runner/${TEST_BOARD}.sh 1
 sleep 5
 set +e
-stty -F ${SERIAL_DEV} 115200
+stty -F ${SERIAL_DEV} 57600
 
 # Capture test result and power off board before exiting.
 export PASSED="${PASS_MSG}"
--

2.25.1