Skip to content

Commit a903813

Browse files
authored
hw-matlab.yml: pass --skip-boot to adi-lg-matlab run (#206)
The lab's coordinator places are tagged with boot-strategy=BootZynq7000JTAGRecovery, whose template does not yet expose the consumer-supplied kernel/uboot/initramfs/bitstream paths a real transition needs. Without --skip-boot, the matrix shard fails at get_driver(boot_strategy) / strategy.transition() before MATLAB ever starts. With --skip-boot the shard still acquires the place and resolves the booted board's NetworkService URI into IIO_URI; the toolbox's test/HardwareTests.m CheckDevice gracefully reports 'No device found' when the board is not reachable. The full launcher pipeline (acquire, resolve, MATLAB launch, JUnit, release) is exercised. Drop the flag once the lab template carries the recovery inputs. Needs tfcollins/labgrid-plugins#33 (now merged); @v2 ref includes the --skip-boot flag.
1 parent 3f60acd commit a903813

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/hw-matlab.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,21 @@ jobs:
9696
run: |
9797
# Place is already acquired by the composite action above, so do
9898
# NOT pass --acquire here (avoids double-acquire).
99+
# --skip-boot: the lab's coordinator places are tagged with
100+
# boot-strategy=BootZynq7000JTAGRecovery, whose template does
101+
# not yet expose the consumer-supplied kernel/uboot/initramfs/
102+
# bitstream paths needed for a real transition. Acquire the
103+
# place and resolve its NetworkService URI; let the toolbox's
104+
# CheckDevice handle reachability gracefully via assumeFail
105+
# until the lab supplies those inputs (see adi-labgrid-plugins
106+
# #33 for the --skip-boot mechanic).
99107
"$VENV_DIR/bin/adi-lg-matlab" run \
100108
--coord "$LG_COORDINATOR" \
101109
--place "${{ matrix.place }}" \
102110
--board-map test/hw_ci/board_map.yaml \
103111
--repo-dir "$GITHUB_WORKSPACE" \
104112
--matlab "$MATLAB_BIN" \
113+
--skip-boot \
105114
--junit "junit-${{ matrix.place }}.xml"
106115
107116
- name: Release place

0 commit comments

Comments
 (0)