Mesa (main): ci/bare-metal: Add handling of netboot firmwares for servo boards.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 21 22:18:46 UTC 2022


Module: Mesa
Branch: main
Commit: cd3d9a7a92ae31a7ce47fb1a3fec7fff743eda7c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd3d9a7a92ae31a7ce47fb1a3fec7fff743eda7c

Author: Emma Anholt <emma at anholt.net>
Date:   Thu Jun 16 14:18:35 2022 -0700

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 <jasuarez at igalia.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17096>

---

 .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 0e231ecfa72..7215253fb7a 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.



More information about the mesa-commit mailing list