-
Notifications
You must be signed in to change notification settings - Fork 851
[RFC] Remove the opentitansession proxy #20726
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
Comments
The Google Ti50 team uses We do not use bazel in our test automation, but have precompiled
I realize that it is a burden that pretty much every I would like to learn more about what features have been hindered by having to add support for the proxy. It is my understanding that it is not very often that new New higher level features added to the |
Thanks a lot for these details, they're very useful.
I'm not sure about new features, but my motivation for opening this was this issue which I tried to fix by refactoring some of our IO handling (mainly the UART). I got the feeling most of the complexity of the UART would go away if we only supported TTYs, however the proxy, "ultradebug" and the Ti50 emulator all have their own IO systems. I haven't (or cannot) test with these platforms, so first of all wanted to check that we definitely need to continue supporting them. |
Description
This RFC proposes removing the
opentitansession
proxy and support for the proxy as a transport fromopentitanlib
.This proxy allows a local
opentitantool
to connect to anotheropentitantool
session that's already running on a remote machine. The remoteopentitantool
connects to the proxy session as it would with other kinds of "transport" (FPGAs over USB, verilator over sockets, etc). This is useful when resources like FPGAs are connected to some remote machine and not a developer's local machine.Issues with the proxy
This proxy is useful in theory, but in practice I don't think it should be implemented at the application level for these reasons:
opentitanlib
.opentitantool
will be Bazel executing tests.opentitantool
with settings specific to the test being run.--interface
cannot be set to the proxy in OpenTitan's configuration file as Bazel will overwrite the flag withcw310
,hyper310
, etc. depending on the test.Alternatives
I think a more useful proxy would use existing technologies to run at either a higher or lower level than
opentitansession
:usbip
program distributed withlinux-tools
.Questions
opentitansession
proxy and find it useful?opentitansession
?The text was updated successfully, but these errors were encountered: