OpenRISC

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
Columbus
Posts: 18
Joined: Sat Sep 13, 2014 2:26 am

OpenRISC

Post 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?
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Re: OpenRISC

Post 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.
Columbus
Posts: 18
Joined: Sat Sep 13, 2014 2:26 am

Re: OpenRISC

Post 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?
User avatar
Rusky
Member
Member
Posts: 792
Joined: Wed Jan 06, 2010 7:07 pm

Re: OpenRISC

Post by Rusky »

A virtual OpenRISC implementation would still need to emulate the motherboard, etc. just like qemu emulates all the rest of the hardware.
Columbus
Posts: 18
Joined: Sat Sep 13, 2014 2:26 am

Re: OpenRISC

Post 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.
Columbus
Posts: 18
Joined: Sat Sep 13, 2014 2:26 am

Re: OpenRISC

Post 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?
Post Reply