Page 1 of 1
OpenRISC
Posted: Tue Oct 21, 2014 9:48 am
by Columbus
Was someone able to develop a kernel for OpenRISC?
Because I'd like to know how to do it, and to write/read a tutorial on the wiki about it.
The OpenRISC 1k page is here:
http://opencores.org/or1k/Main_Page
Would it be a good idea to try to write an OS on OpenRISC?
How do you think about it?
Re: OpenRISC
Posted: Tue Oct 21, 2014 4:25 pm
by JackScott
OpenRISC has a similar issue for kernel development as ARM-based machines do: while the CPU is common, what that CPU is plugged into is different in pretty much every device. OpenRISC is only a CPU design, without any RAM, storage, or I/O devices. You'll need a more complete design before developing an operating system will be possible.
Re: OpenRISC
Posted: Wed Oct 22, 2014 7:59 am
by Columbus
Excuse me, but I didn't understand the whole sentence.
How do you mean a "more complete design"?
I know, there isn't a everyday usable OpenRISC computer.
For having one, someone would need a OpenRISC-CPU implementation and a compatible motherboard.
And I think that (developing the motherboard) is almost as hard as developing the standard.
But isn't it possible to write an OS for a virtual OpenRISC implementation like QEMU?
Re: OpenRISC
Posted: Wed Oct 22, 2014 8:01 pm
by Rusky
A virtual OpenRISC implementation would still need to emulate the motherboard, etc. just like qemu emulates all the rest of the hardware.
Re: OpenRISC
Posted: Sun Nov 09, 2014 8:23 am
by Columbus
I did a Tutorial, on how to compile a or1k toolchain.
It's in my user pages.
I don't know how to port the C Barebones to or1k.
Because I don't understand which assembly instruction does which.
Re: OpenRISC
Posted: Tue Nov 18, 2014 12:43 pm
by Columbus
I found a or1k-Assembly example. Obviously from the or1k-Project. I linked to it in the wiki.
With that I could make a BareBone for or1k and C. The next problem is, I don't know how to configure the simulators so that they execute my program succesfully. So I don't know if I did it right.
Could please someone check my work?