There is something called Jumpdrive that could be useful for this, maybe. I never tried it myself but it was discussed for example in this thread: Librem5 (Evergreen) serial console
where it seems like someone succeeded in doing something similar to what you need.
2 Likes