Skip to content

Fix qemu-run uart printing#1048

Merged
jonathanpallant merged 4 commits intomainfrom
fix-qemu-run-uart
Apr 21, 2026
Merged

Fix qemu-run uart printing#1048
jonathanpallant merged 4 commits intomainfrom
fix-qemu-run-uart

Conversation

@jonathanpallant
Copy link
Copy Markdown
Contributor

Fix for #1047 - now we carry on in the event of a UART-over-TCP read timeout.

Without this, qemu-run was disconnecting from the virtual UART's TCP socket when there was a pause in the data. Now we only disconnect on error.

Fixes #1047
@jonathanpallant
Copy link
Copy Markdown
Contributor Author

Tested with ferrous-systems/rust-training#334 - I now see all the output, even with a 500ms gap between strings.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 8, 2026

Deploying knurling-defmt-book with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4f1d3f3
Status: ✅  Deploy successful!
Preview URL: https://25c3e168.knurling-defmt-book.pages.dev
Branch Preview URL: https://fix-qemu-run-uart.knurling-defmt-book.pages.dev

View logs

@knoellle knoellle linked an issue Apr 20, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Member

@knoellle knoellle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was able to reproduce the issue and verify the fix.
LGTM

@jonathanpallant jonathanpallant added this pull request to the merge queue Apr 21, 2026
Merged via the queue into main with commit ca075b3 Apr 21, 2026
27 checks passed
@jonathanpallant jonathanpallant deleted the fix-qemu-run-uart branch April 21, 2026 06:15
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.

qemu-run won't bring UART data after a gap

2 participants