-
Notifications
You must be signed in to change notification settings - Fork 199
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
Pulling latest linux kernel and rebuilding jor1k #156
Comments
great! A tiny please by me: May be, it is not soooo much more to invest ... having a look to the at the moment in jor1k not solved problem with gdb? It is not running now. Something difficult with build says @s-macke sometimes ago ..., May be the prerequisites are now better after some time. Awesome project! |
I will try to compile the latest kernel. |
Good luck! |
thanks @s-macke ! |
By the way, this is an amazing project. It could change the world on a number of fronts. I still can't believe how fast it runs in a web browser. |
If I want to create communication between javascript in a web page and jor1k, w/ both running on the same/main web browser thread, what's the best way to do this? To provide more background on what I plan to do, I'm wanting to compile and run boringtun within jor1k and then communicate from javascript/browser to jor1k using protobuf messages, probably something similar to an event/message bus. https://github.com/cloudflare/boringtun ie create a virtual nic (vpn connection) within jor1k by tunneling wireguard/udp packets over javascript/browser/websocket. |
How hard would it be to make Ubuntu 18.10 run in jor1k? If it isn't easy, please disregard this query. |
Is there any way I can help? Would love to learn how to do this myself. |
The kernel is now on version 5.8 with enabled wireguard. In order to cross compile some code you might want to use a pre build toolchain. https://github.com/openrisc/or1k-gcc/releases/tag/or1k-7.2.0-20180317 Ubuntu will not work on this machine. To port Ubuntu on OpenRisc would probably mean a full time job for one year. |
jor1k network connection runs on the lowest level you can imagine. On Ethernet Frames. The frames are sent to a websocket host which then use a Linux TAP device. |
Thanks @s-macke ! Much appreciated. In case I need it, is there an example somewhere for creating a pre-build? Or maybe a howto page? No worries w/ the ethernet frames, I've worked w/ them in the past, building kernel-bypass systems. |
This comment has been minimized.
This comment has been minimized.
@unicomp21 Yes, you can run the websocket proxy locally in docker, see the websocket proxy project page for a docker command that will set it up locally. You can then change the URL used by the jor1k webpage to point to the correct address ( |
@andrakis thinking I could speed up this interface dramatically (possibly MB/s if lucky) using RTCDataChannel(s), w/ the guaranteed delivery disabled, instead of websockets, just need to find some time. |
So far no luck with gdb. It has still not been ported to run natively. What do you mean with pre build? The root filesystem or the emulator itself? For the emulator just look at compile.sh. You just need browserify. You can ignore all the webassembly stuff. |
@s-macke Sorry, should have been more clear, I meant the root filesystem (ie building a new kernel) On the emulator side, would it make sense to "jit" emulated instructions into webassembly? If so, how hard would it be? |
Ho I was hoping to have gdb support, should we contact the openrisc community and/or the gdb community for help ? |
I'd like to rebuild jor1k w/ the latest linux kernel. My intention is to experiment w/ the wireguard protocol just added to the linux kernel, and run it over jor1k websockets.
The text was updated successfully, but these errors were encountered: