fvp: Disable telnet ports for UARTs 1, 2 and 3
LAVA can only read one UART, currently, that is UART 0. Some tests
output to UARTs 1, 2 or 3 in addition to the main UART. If these UARTs
are not read, the model can hang once the buffers are full.
As a temporary measure until LAVA supports reading multiple UARTs,
disable the extra UARTs on tf.validation.linaro.org, but keep it enabled
for Arm internal infrastructure.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
Change-Id: Ibea2fb0f80e54129c0e84657ed437cf540509de6
diff --git a/model/fvp_common.sh b/model/fvp_common.sh
index 59d8254..13382f6 100644
--- a/model/fvp_common.sh
+++ b/model/fvp_common.sh
@@ -82,6 +82,25 @@
EOF
+if echo "$JENKINS_URL" | grep -q -v "arm.com"; then
+ cat <<EOF >>"$model_param_file"
+-C bp.pl011_uart0.untimed_fifos=1
+-C bp.pl011_uart1.untimed_fifos=1
+-C bp.pl011_uart2.untimed_fifos=1
+-C bp.pl011_uart3.untimed_fifos=1
+
+-C bp.pl011_uart0.unbuffered_output=1
+-C bp.pl011_uart1.unbuffered_output=1
+-C bp.pl011_uart2.unbuffered_output=1
+-C bp.pl011_uart3.unbuffered_output=1
+
+-C bp.terminal_0.start_telnet=1
+-C bp.terminal_1.start_telnet=0
+-C bp.terminal_2.start_telnet=0
+-C bp.terminal_3.start_telnet=0
+EOF
+fi
+
if [ "$print_stat" = "1" ]; then
cat <<EOF >>"$model_param_file"
--stat