[u-boot-test-hooks][PATCH] labgrid-trini: Quick update for labgrid v25.0.x and later

Tom Rini trini at konsulko.com
Thu Oct 9 16:30:55 CEST 2025


Starting with v25.0.0 LG_CROSSBAR has been replaced with LG_COORDINATOR
(and the whole crossbar to coordinator transition is well documented
upstream). Update our usage.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 README.md                | 2 +-
 bin/common.labgrid-trini | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index ecf8a46c4a58..6171669228cf 100644
--- a/README.md
+++ b/README.md
@@ -253,7 +253,7 @@ That should be all that is needed.
 An alternate implementation requires setting the following environment
 variables must be set as per your lab:
 
-- `LG_CROSSBAR` must point at the crossbar service.
+- `LG_COORDINATOR` must point at the labgrid coordinator service.
 - `LG_PLACE` must point at the device under test.
 - `LG_ENV` must point at the labgrid yaml file that describes your lab.
 
diff --git a/bin/common.labgrid-trini b/bin/common.labgrid-trini
index e07107462a5e..b3c7d07ca7f0 100644
--- a/bin/common.labgrid-trini
+++ b/bin/common.labgrid-trini
@@ -19,8 +19,8 @@
 # DEALINGS IN THE SOFTWARE.
 
 # Ensure we have all environment variables set
-if [ -z "${LG_CROSSBAR}" ]; then
-	echo "LG_CROSSBAR is unset";
+if [ -z "${LG_COORDINATOR}" ]; then
+	echo "LG_COORDINATOR is unset";
 	exit 1;
 fi
 
-- 
2.43.0



More information about the U-Boot mailing list