From cd3d9a7a92ae31a7ce47fb1a3fec7fff743eda7c Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Thu, 16 Jun 2022 14:18:35 -0700 Subject: [PATCH] ci/bare-metal: Add handling of netboot firmwares for servo boards. My local trogdor has a netboot firmware and I want to be able to use it to test the timeout code I'm working on. Acked-by: Juan A. Suarez Reviewed-by: Christian Gmeiner Part-of: --- .gitlab-ci/bare-metal/cros_servo_run.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci/bare-metal/cros_servo_run.py b/.gitlab-ci/bare-metal/cros_servo_run.py index 0e231ec..7215253 100755 --- a/.gitlab-ci/bare-metal/cros_servo_run.py +++ b/.gitlab-ci/bare-metal/cros_servo_run.py @@ -71,6 +71,12 @@ class CrosServoRun: bootloader_done = True break + # If the board has a netboot firmware and we made it to booting the + # kernel, proceed to processing of the test run. + if re.search("Booting Linux", line): + bootloader_done = True + break + # The Cheza boards have issues with failing to bring up power to # the system sometimes, possibly dependent on ambient temperature # in the farm. -- 2.7.4