Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Running FreeRTOS with Spike with many processors #6

Open
noureddine-as opened this issue Mar 22, 2018 · 3 comments
Open

Running FreeRTOS with Spike with many processors #6

noureddine-as opened this issue Mar 22, 2018 · 3 comments

Comments

@noureddine-as
Copy link

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Author

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants