OS4E

Re: OS4E

Postby SamJBarney » Wed Mar 06, 2013 4:07 pm

I'm a bit confused.
From my understanding of OS design, which I admit is limited, you won't be able to use any of the libraries provided, like libmath and newlib, because those are built on code provided by the OS.
The reason for building a bootstrap compiler is to allow you to write the kernel and kernel libs that provide that code. Using the provided compiler wouldn't work because it is built for a specific OS, not the one you are writing.
I don't mean to be contentious; I am just trying to understand. Am I misunderstanding something about the provided toolchain or your design?
SamJBarney
 
Posts: 11
Joined: Tue Mar 05, 2013 7:13 pm
Location: Rexburg, Idaho, USA

Re: OS4E

Postby mrgs » Thu Mar 07, 2013 8:15 am

- libraries : Yes, You are right. I can not use any delivered library/loader/kernel/... YET. I have to recompile these later on when I ready with the cores-kernel functions. Additionally these must fit for the Parallella/Epiphany/OS4E ARCH.
- compilers : Please let me use just the 'compiler' word. From my point of view (or based on my understanding), I am going to use the 'lower lever part of the Epiphany SDK' - compiler / assembler / bin utils ... which is capable to compile my pure C / assembly codes into 'machine code' /binary code. "I assume" the compiler does not know : is this an OS or an application or a library?! .
- misunderstanding : Well, maybe my poor English or poor knowledge occurs some non-clear situation. I beg Your pardon.
- SUMMARIZE: 'My' simple OS should work on the Epiphany with a 'little' HW support. ;) Regards, Gabor. Have a nice day!
| OS4E : A preemptive, multiprocessing, microkernel based OS for Epiphany ARCH |
User avatar
mrgs
 
Posts: 63
Joined: Mon Dec 17, 2012 3:22 am
Location: Hungary

Re: OS4E

Postby SamJBarney » Thu Mar 07, 2013 9:21 pm

Ah! I think I understand now. Sorry if I came off as being a bit brash or upsetting; it was not an intention of mine.
From what you just posted:
mrgs wrote:- compilers : Please let me use just the 'compiler' word. From my point of view (or based on my understanding), I am going to use the 'lower lever part of the Epiphany SDK' - compiler / assembler / bin utils ... which is capable to compile my pure C / assembly codes into 'machine code' /binary code. "I assume" the compiler does not know : is this an OS or an application or a library?! .

Based off of this, anything that you write specifically to be run on the Epiphany cores will work just fine using the SDK/toolchain provided by Parallela. However, you are going to need to build some code to load the Epiphany code. This will require a separate toolchain for ARM processors, and this is what you will need to build the e-server so that you can load your Epiphany OS.
From what I understand, for this to work, you need to build two separate parts to your operating system: ARM side and Epiphany side.
The ARM side would need to provide the low level interface that allows the e-server to run, to provide disk IO so you can read your Epiphany code into memory, and then pass that code to the Epiphany cores to be run. This would require you to build a separate toolchain specifically for ARM.
The Epiphany side handles the operating system you want to write. Since the Epiphany toolchain is built for it specifically, you can use it to write your OS, but not the ARM loader.
Does that make sense, or am I misunderstanding your intentions? Are you building both sides from scratch, or are you planning on using the provided Linux distribution to load your OS?

For my OS, I am going to have to write the ARM side from scratch if I want to handle multiple boards hooked together.
SamJBarney
 
Posts: 11
Joined: Tue Mar 05, 2013 7:13 pm
Location: Rexburg, Idaho, USA

Re: OS4E

Postby mrgs » Fri Mar 08, 2013 10:04 am

- 'Understanding' : My pleasure, and additionally it is a confirmation, it should work.
- OS4E : Yes it is. She is going to run on Epiphany.
- loader : Yes, I have to write a loader/starter - a little angel - which is prepare the all stuff around and inside Epiphany and then say : breathe!
- ARM side : (Better to say Zynq or more precisely PS+PL) : Well, the 'angel' must load the 'E-code' - as You wrote - and reprogram the PL (Programmable Logic) . 'As I guess' : for the proper 'external' memory handling we need a 'modded' PL : MMU+DMA?! ... anyway You are right, this is an another ARCH, so toolchain. One more trick: I wondering about the same OS code base for ARM and Epiphany. - I like to keep alive 'ARM PS (Processing System)' after the 'angel' finish her jobs.
- For Your questions: (1) ... or am I misunderstanding your intentions? : You got it. (2) Are you building both sides from scratch, or are you planning on using the provided Linux distribution to load your OS? Well, as I see the provided GNU/Linux is too heavy, I have built an another GNU/Linux yet. http://forums.parallella.org/viewtopic.php?f=9&t=105&start=40#p754 . BUT(!) I really wondering to start OS trials on ARM. ...
- Your OS : Very nice approaching. Good luck for it(!) Let we see Your code too(!) Regards, Gabor.
| OS4E : A preemptive, multiprocessing, microkernel based OS for Epiphany ARCH |
User avatar
mrgs
 
Posts: 63
Joined: Mon Dec 17, 2012 3:22 am
Location: Hungary

Re: OS4E

Postby zmc » Sat Aug 30, 2014 2:16 pm

This looks like a lot of fun. The angel/bootloader can probably be done with a modified uboot now that the sources are available. Do you have a repo setup / have any code yet?
zmc
 
Posts: 24
Joined: Thu Jul 03, 2014 10:01 pm

Re: OS4E

Postby adexmont » Mon Sep 01, 2014 11:34 am

Hi, i'm very interested in a native epiphany os.
I fantasized about DSL, SLAX, REACT-OS, that are the smallest os i had tried with success in a non arm computer.
Then a lot of friend tell me that the future will be firefox os .

It may call a 5 years university course but ... what is the way to have a dsl similar os running on epiphany?

The news on this post are quite old, is there already something to try (like an sd image unstable but barely usable) ?

I'm not a coder and i'm quite hard on understanding git and similar software instruments but is there any way i can help you on this task?

Thanks for your work.
Hope to see something relatively soon :P
adexmont
 
Posts: 121
Joined: Thu Oct 24, 2013 12:58 pm

Previous

Return to Epiphany Operating System

Who is online

Users browsing this forum: No registered users and 2 guests