5 ms·
The toolchain (uCluibc development) I am using is explained here http://opencores.org/or1k/OpenRISC_GNU_tool_chain http://opencores.org/or1k/OpenRISC_GNU_tool_c
by s-macke 13y ago
The toolchain (uCluibc development) I am using is explained here
http://opencores.org/or1k/OpenRISC_GNU_tool_chain http://opencores.org/or1k/OpenRISC_GNU_tool_chain
My scripts for the toolchain are published here: https://github.com/s-macke/jor1k-toolchain-builder https://github.com/s-macke/jor1k-toolchain-builder
Unfortunately the scripts are broken but show the overall complexity to build the linux image.
The ethernet device in jor1k is a dummy right now but the kernel is already prepared to work with this device.
So everything I have to do is implementing the correct device which is defined here:
https://github.com/openrisc/or1ksim/blob/or32-master/peripheral/eth.c https://github.com/openrisc/or1ksim/blob/or32-master/periphe...
But nothing has been done right now. It is not my main priority right now because it would need a server script. And github does not allow this. And there could be a lot of security issues as well if I would add this to a demo.
- benjamincburns 13y agoThanks. I've seen eth.js and was just waiting for OpenCores to approve my membership so that I could start working on it. I didn't realize the spec was on github. I need to look a bit more at how everything is laid together, but my intention is to have eth.js write ethernet frames to a WebSocket, then on the server side read/write frames from/to a TAP device. As for the demo, there's no reason why you can't just turn off the socket for the static demo. Otherwise, I'm intending to host something on DigitalOcean to prove it works. I'm sure whatever it is it will be very simple so I don't wind up with a huge bandwidth bill, but I'm hoping I can think of something that's clever and easy on the wallet. Maybe I'll make it add all machines to one giant subnet or something... we'll see.
- s-macke 13y agoSound good. Websockets are the best solution I suppose. If you need help you can find me in the #openrisc chat at chat.freenode.net .