OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:10 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: OpenRISC
PostPosted: Tue Oct 21, 2014 9:48 am 
Offline

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


Top
 Profile  
 
 Post subject: Re: OpenRISC
PostPosted: Tue Oct 21, 2014 4:25 pm 
Offline
Member
Member
User avatar

Joined: Thu Dec 21, 2006 3:03 am
Posts: 1029
Location: Hobart, Australia
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.

_________________
My Personal Blog | My Software Company - Loop Foundry | My Github Page


Top
 Profile  
 
 Post subject: Re: OpenRISC
PostPosted: Wed Oct 22, 2014 7:59 am 
Offline

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


Top
 Profile  
 
 Post subject: Re: OpenRISC
PostPosted: Wed Oct 22, 2014 8:01 pm 
Offline
Member
Member
User avatar

Joined: Wed Jan 06, 2010 7:07 pm
Posts: 792
A virtual OpenRISC implementation would still need to emulate the motherboard, etc. just like qemu emulates all the rest of the hardware.

_________________
[www.abubalay.com]


Top
 Profile  
 
 Post subject: Re: OpenRISC
PostPosted: Sun Nov 09, 2014 8:23 am 
Offline

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


Top
 Profile  
 
 Post subject: Re: OpenRISC
PostPosted: Tue Nov 18, 2014 12:43 pm 
Offline

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group