Where is "correct" version freeRTOS for RISCV?

711 views
Skip to first unread message

peter....@gmail.com

unread,
Dec 25, 2017, 11:33:19 AM12/25/17
to RISC-V SW Dev
Hi!

Where is "correct" version freeRTOS for RISCV?

I found two looks like "live":

I will work with E300 from Sifife on ZINQ.

Thanks.
Peter Andreev

Drew Barbier

unread,
Dec 26, 2017, 10:46:35 AM12/26/17
to peter....@gmail.com, RISC-V SW Dev
SiFive have a preview version of FreeRTOS for the HiFive1 and E31 platforms which should be compatible with the E300. We are in the process of cleaning up the code and moving it out of the Freedom-E-SDK repo to it’s own repo.


———————
Drew Barbier
Sr. Field Applications Engineer
www.sifive.com
Mobile: 469-766-9563
dr...@sifive.com


--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/b659f1ac-ee1b-4a32-9a3a-12e1335d194a%40groups.riscv.org.

peter....@gmail.com

unread,
Dec 26, 2017, 11:41:15 AM12/26/17
to RISC-V SW Dev, peter....@gmail.com
Thanks Drew.

But I don't see FreeRTOS on your link.
I see only 
I don't see "/tree".

Must I wait some day?
Must I registered on SiFive?

Thanks 
Peter Andreev


вторник, 26 декабря 2017 г., 18:46:35 UTC+3 пользователь Drew Barbier написал:

Jim Wilson

unread,
Dec 26, 2017, 12:31:37 PM12/26/17
to peter....@gmail.com, RISC-V SW Dev
On Tue, Dec 26, 2017 at 8:41 AM, <peter....@gmail.com> wrote:
> But I don't see FreeRTOS on your link.

Look in the software directory.

> I see only
> https://github.com/sifive/freedom-e-sdk
> I don't see "/tree".

tree/FreeRTOS is a reference to the FreeRTOS branch. From the main
page, click on the branch:master drop down menu, and then choose
FreeRTOS.

Jim

peter....@gmail.com

unread,
Dec 26, 2017, 12:56:29 PM12/26/17
to RISC-V SW Dev, peter....@gmail.com
Thanks Jim.

Maybe I found it.
After choosing freeRTOS in branch instead master

"freedom-e-sdk/software/FreeRTOSv9.0.0/"
I will try downloadt it
Peter Andreev


вторник, 26 декабря 2017 г., 20:31:37 UTC+3 пользователь Jim Wilson написал:

NitinD.

unread,
Jan 3, 2018, 3:20:20 AM1/3/18
to RISC-V SW Dev
Hi Peter,
 You may want to take a look at this https://github.com/RISCV-on-Microsemi-FPGA/FreeRTOS 

Regards,
Nitin

peter....@gmail.com

unread,
Jan 9, 2018, 7:24:36 AM1/9/18
to RISC-V SW Dev
Thanks Nitin.

Micrisemi multicore system.

I don't ready work with it.
But I will look on driver architecture.


среда, 3 января 2018 г., 11:20:20 UTC+3 пользователь NitinD. написал:

peter....@gmail.com

unread,
Jan 17, 2018, 10:43:27 AM1/17/18
to RISC-V SW Dev
Hi.

I have run freeRTOS32 on RISCV32 ZYNQ FPGA. 
As sifive freeRTOS have based https://github.com/illustris/FreeRTOS-RISCV I started work with  freeRTOS from illustris.
In simple test the freeRTOS32 scheduler correctly work from hardware riscv timer. It give quant of time to task. And  task switch the led.
Program with freeRTOS32 load and run from gdb.

freeRTOS from illustris — work only with main RISCV interrupt timer. It is possible use the simplest properties of freeRTOS.
The version of freeRTOS from sifive have the driver of interrupt controller PLIC. 

Thanks illustris!
Thanks Drew Barbier.
Thanks Jim Wilson.
Thanks Nitin.

вторник, 9 января 2018 г., 15:24:36 UTC+3 пользователь peter....@gmail.com написал:

nilakshan kunananthaseelan

unread,
Dec 26, 2018, 6:36:18 AM12/26/18
to RISC-V SW Dev

Hi,
do u have the port available ?

peter....@gmail.com

unread,
Dec 26, 2018, 10:40:48 AM12/26/18
to RISC-V SW Dev, nila...@gmail.com
Hi,

I don't have Freedom E300 Arty FPGA Dev Kit.
I adopt E300 to ZYNQ ZC706.
Lot of address was deformed.
FreeRTOS from illustris was adopt to my deformed E300.
I found out that the simplest freeRTOS works on the E300.

среда, 26 декабря 2018 г., 14:36:18 UTC+3 пользователь nilakshan kunananthaseelan написал:

Luke Kenneth Casson Leighton

unread,
Dec 26, 2018, 12:26:37 PM12/26/18
to peter....@gmail.com, RISC-V SW Dev, nila...@gmail.com
On Wed, Dec 26, 2018 at 4:00 PM <peter....@gmail.com> wrote:

> Hi,
>
> I don't have Freedom E300 Arty FPGA Dev Kit.
> I adopt E300 to ZYNQ ZC706.

ah: can you please post and publish that? i have a zc706 and i
cannot use the sifive sdk without doing a lot of work, because it's
not supported (only in the rocket-chip repo, which has been
abandoned).

l.

Richard Barry

unread,
Dec 26, 2018, 2:10:27 PM12/26/18
to RISC-V SW Dev
[from the FreeRTOS maintainers...]

We are currently working on an 'official' MIT licensed version (that is, one that will be distributed with FreeRTOS itself and documented on the http://www.FreeRTOS.org site) - while this is not yet documented or released in an officially numbered FreeRTOS version, it is publicly available in SVN.   Currently it is 32-bit and machine mode only but will be developed however is needed.

If you check out the code (sorry, SVN at the moment, when it is released it will be a more user friendly zip file https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/ ) you will find a Softconsole (Microsemi) project that targets Renode in the FreeRTOS/Demo/RISC-V_Renode_Emulator_SoftConsole directory.  Copy Microsemi's own Renode examples to see how you can start Renode and a debug session from the Softconsole menu - it is very neat and convenient.  When this port is documented I will ensure our docs also show how to do this, as well as how to port to other RISC-V chips.   In the mean time happy to discuss how to port to other RISC-V implementations here or on the FreeRTOS support forum (which it may get more exposure http://www.freertos.org/support ).

You may notice there is also a Freedom Studio project that is targeting QEMU - but this is probably in an inconsistent state at the moment as some refactoring work was done on the port layer to enable it to be extensible to different RISC-V implementations.  Also not that one test is failing in QEMU and I'm not sure why yet (opening up a timing threshold enables it to pass, but I'm not sure why that would be necessary).  I'm doing some other RISC-V related stuff at the moment and will fix up the Freedom Studio project when that is in a consistent state.

Regards,
Richard Barry 

peter....@gmail.com

unread,
Dec 27, 2018, 9:27:12 AM12/27/18
to RISC-V SW Dev, peter....@gmail.com, nila...@gmail.com
Hi Luke Kenneth.

I have`t plan to publish version for zc706. It was the first version adopted E300 to FPGA.
It very differs from original E300. Same only the GPIO.
GPIO connected to led. I plan to create version E300 close to original.

FreeRTOS version I have plan publish later adjust it for original E300.

среда, 26 декабря 2018 г., 20:26:37 UTC+3 пользователь Luke Kenneth Casson Leighton написал:
Reply all
Reply to author
Forward
0 new messages