Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial Port exposure in MacOS #4283

Open
HomeACcessoryKid opened this issue Mar 25, 2023 · 2 comments
Open

Serial Port exposure in MacOS #4283

HomeACcessoryKid opened this issue Mar 25, 2023 · 2 comments
Labels
kind/enhancement New feature or request platform/macos triage/blocked Waiting for support from upstream dependency
Projects

Comments

@HomeACcessoryKid
Copy link

Problem Description

When running a container, can you map a (USB)serial port from macOS on the container so that container processes can use it to do things like flash SoC chips, debug via JTAG, etc. ?

Proposed Solution

a command should map the port when starting the image and the port should show up as a /dev/usb-xxxxxx port. Very similar to volumes...

Additional Information

When using the ESP32 idf from the image provided by Espressif, I cannot flash from within the container. I can export the binary file and flash it in macOS.
But realtime debug is not possible.

@HomeACcessoryKid HomeACcessoryKid added the kind/enhancement New feature or request label Mar 25, 2023
@github-actions github-actions bot added this to To do in Stripey via automation Mar 25, 2023
@HomeACcessoryKid
Copy link
Author

Maybe this feature has becomes accessible when using Apple virtualisation framework?

@jandubois
Copy link
Member

This is unlikely to be supported any time soon, as nobody has been able to make it work smoothly in Lima either, which is what Rancher Desktop uses on macOS. The closest we have right now is lima-vm/lima#1317.

Maybe this feature has becomes accessible when using Apple virtualisation framework?

Could be; I haven't looked into it. If you have any skills in that area, maybe you could investigate if/how this could be done in Lima. That will be the prerequisite before it can become available in Rancher Desktop.

@jandubois jandubois added the triage/blocked Waiting for support from upstream dependency label Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request platform/macos triage/blocked Waiting for support from upstream dependency
Projects
No open projects
Stripey
To do
Development

No branches or pull requests

2 participants