RISCV-on-Microsemi-FPGA / FreeRTOS

FreeRTOS for RISC-V
25 stars 12 forks source link

Running FreeRTOS with Spike with many processors #6

Open noureddine-as opened 6 years ago

noureddine-as commented 6 years ago

Hello! When I run the FreeRTOS riscv-spike with -p2 (2 processors) i get the following error:

image

How can I succeed a multi-core simulation using Spike??

Thanks, Best regards.

AntonKrug commented 6 years ago

Thank you for bringing this up. If my understanding is correct, this is a single hart port, so the multi-core spike will not work.

nitindeshpande commented 6 years ago

That's Correct Anton.
The intention was to demonstrate the 64bit FreeRTOS on Spike and it did not meant to be multicore RTOS port. Will update readme to make it clear so there is no ambiguity.

@noureddine-as , To succeed with running FreeRTOS on multiple cores you will need the FreeRTOS version which is capable of running on multiple Cores. You may find this discussion useful here

Thank you.

noureddine-as commented 6 years ago

Hello, Exactly @AntonKrug . Thanks @nitindeshpande , I found that master thesis report months ago, but unfortunately, I didn't had time to implement the multi-core version, I just used the following repo https://github.com/illustris/FreeRTOS-RISCV which was a little bit more maintained.

Thanks!