[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen stable-4.18] automation: update xilinx test scripts (tty)



commit 3e1a31e7d3ed9fc9719ab6f6381daa4f25609b72
Author:     Victor Lira <victorm.lira@xxxxxxx>
AuthorDate: Fri Aug 23 15:29:04 2024 -0700
Commit:     Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Fri Apr 11 17:27:59 2025 +0100

    automation: update xilinx test scripts (tty)
    
    Update serial device names from ttyUSB* to test board specific names.
    
    Update xilinx-smoke-dom0-x86_64 with new Xen command line console options,
    which are now set as Gitlab CI/CD variables. Abstract the directory where
    binaries are stored. Increase the timeout to match new setup.
    
    Signed-off-by: Victor Lira <victorm.lira@xxxxxxx>
    Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
    (cherry picked from commit 95764a0817a51741b7ffb1f78cba2a19b08ab2d1)
    [Stripped down to xilinx-smoke-dom0less-arm64.sh only]
    Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 automation/scripts/xilinx-smoke-dom0less-arm64.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/automation/scripts/xilinx-smoke-dom0less-arm64.sh 
b/automation/scripts/xilinx-smoke-dom0less-arm64.sh
index 075305241c..d4bf19855a 100755
--- a/automation/scripts/xilinx-smoke-dom0less-arm64.sh
+++ b/automation/scripts/xilinx-smoke-dom0less-arm64.sh
@@ -134,9 +134,10 @@ sleep 5
 cd $START
 
 # connect to serial
+SERIAL_DEV="/dev/serial/zynq"
 set +e
-stty -F /dev/ttyUSB0 115200
-timeout -k 1 120 nohup sh -c "cat /dev/ttyUSB0 | tee smoke.serial"
+stty -F ${SERIAL_DEV} 115200
+timeout -k 1 120 nohup sh -c "cat ${SERIAL_DEV} | tee smoke.serial"
 
 # stop the board
 cd /scratch/gitlab-runner
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.18



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.