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?
OpenRISC
Re: OpenRISC
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
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?
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
A virtual OpenRISC implementation would still need to emulate the motherboard, etc. just like qemu emulates all the rest of the hardware.
Re: OpenRISC
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.
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
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?
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?