FreeRTOS running on Epiphany core

FreeRTOS running on Epiphany core

Postby ralisi » Sun Nov 30, 2014 4:09 pm

Hello everybody.

I am working on a research project at my university during which I ported FreeRTOS to the Epiphany processor.

There is one instance of the operating system running on every core. FreeRTOS plus its runtime data fit into the core's local memory. In order to allow communication between the cores I created an abstraction c2c.c which integrates the Epiphany's shared memory approach into FreeRTOS' queue model.

The Code is available here:
https://github.com/ralisi/FreeRTOS

in order to execute a little example, just run "make" in the FreeRTOS/Demo/parallella directory.


Best regards
ralisi
 
Posts: 15
Joined: Fri Apr 11, 2014 12:00 pm

Re: FreeRTOS running on Epiphany core

Postby aolofsson » Sun Nov 30, 2014 4:42 pm

Impressive! You are the first person to run an O/S on the Epiphany afaik!!
What is the code size like?

Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: FreeRTOS running on Epiphany core

Postby ralisi » Sun Nov 30, 2014 4:55 pm

If I did not mess up the couting, the code for the operating system and libraries take around 12K.
ralisi
 
Posts: 15
Joined: Fri Apr 11, 2014 12:00 pm

Re: FreeRTOS running on Epiphany core

Postby aolofsson » Sun Nov 30, 2014 8:17 pm

Very nice! So it should be quite usable. Even more so in future versions that will have 64KB+ of memory per core. :D
Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: FreeRTOS running on Epiphany core

Postby greytery » Sun Nov 30, 2014 8:50 pm

Only 64KB ....
But in the meantime we need to work within 32KB. :(

What about a few simple (?) library routines added to the FreeRTOS version that do Software-caching for the worker tasks?

32KB - 12KB = 20KB. Loads of room!
64KB - 12KB = even more!!!!! :D

Cheers,
tery
User avatar
greytery
 
Posts: 205
Joined: Sat Dec 07, 2013 12:19 pm
Location: ^Wycombe, UK

Re: FreeRTOS running on Epiphany core

Postby matthias.b » Tue Dec 16, 2014 3:20 pm

Wow nice! I was going to start working on that myself but seems I don't need to any more :) Will try to run it on my board soon!
matthias.b
 
Posts: 5
Joined: Thu Aug 07, 2014 2:44 pm

Re: FreeRTOS running on Epiphany core

Postby jlambrecht » Thu Sep 03, 2015 3:00 pm

This brings to mind having a single parallella board with many Epiphany cpus talking over a single bus, n00b dreams i figure.
jlambrecht
 
Posts: 41
Joined: Wed Nov 13, 2013 7:57 pm


Return to Epiphany Operating System

Who is online

Users browsing this forum: No registered users and 0 guests