From 2c85e48a0d305bda12d7c5db05b57335e2f48ce4 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Fri, 12 Mar 2021 15:08:11 +0100 Subject: [PATCH] Revert "run: tweak CRLF translation in log scripts" The substitution eats carriage-return characters in some cases such as the Pine-A64-LTS board connected via an TTL-232R-RPi cable. --- tool/run/log/amt | 1 - tool/run/log/serial | 1 - 2 files changed, 2 deletions(-) diff --git a/tool/run/log/amt b/tool/run/log/amt index 7ef3d284a2..5d1913ebd5 100644 --- a/tool/run/log/amt +++ b/tool/run/log/amt @@ -78,7 +78,6 @@ proc run_log { wait_for_re timeout_value } { spawn /bin/sh -c "$amt_cmd" set output_spawn_id $spawn_id - fconfigure $output_spawn_id -translation { crlf lf } set kernel_msg [run_boot_string] diff --git a/tool/run/log/serial b/tool/run/log/serial index 98a604e984..02baa7ce11 100644 --- a/tool/run/log/serial +++ b/tool/run/log/serial @@ -55,7 +55,6 @@ proc run_log { wait_for_re timeout_value } { spawn /bin/sh -c "$serial_cmd_chain" set output_spawn_id $spawn_id - fconfigure $output_spawn_id -translation { crlf lf } expect { -i $output_spawn_id $kernel_msg { }