Skip to content

envs: disable gdb/telnet/tcl ports to allow parallel runs - #44

Merged
ozan956 merged 1 commit into
mainfrom
adsp-board-places
Aug 18, 2026
Merged

envs: disable gdb/telnet/tcl ports to allow parallel runs#44
ozan956 merged 1 commit into
mainfrom
adsp-board-places

Conversation

@ozan956

@ozan956 ozan956 commented Aug 15, 2026

Copy link
Copy Markdown
Member

When multiple boards run in parallel on the same exporter, each OpenOCD instance bound the default gdb, telnet, and tcl ports. The second and subsequent instances of openOCD failed at init with "couldn't bind gdb to socket on port 3333: Address already in use", aborting the boot.

Because of Labgrid's design, no debugger can ever attach, so the port servers are unnecessary. Disable all three per target.

When multiple boards run in parallel on the same exporter, each OpenOCD
instance bound the default gdb, telnet, and tcl ports. The second and
subsequent instances of openOCD failed at init with "couldn't bind gdb
to socket on port 3333: Address already in use", aborting the boot.

Because of Labgrid's design, no debugger can ever attach, so the port
servers are unnecessary. Disable all three per target.

Signed-off-by: Ozan Durgut <ozan.durgut@analog.com>
@ozan956

ozan956 commented Aug 16, 2026

Copy link
Copy Markdown
Member Author

I belive we can move this change into Labgrid itself, I have opened an issue and a pull request:

labgrid-project/labgrid#1957

labgrid-project/labgrid#1958

Maybe we can merge this and can revert when Labgrid has updated.

@ozan956
ozan956 merged commit df73b83 into main Aug 18, 2026
3 checks passed
@ozan956
ozan956 deleted the adsp-board-places branch August 27, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants