Skip to content
This repository has been archived by the owner on Apr 22, 2019. It is now read-only.

Multi-processor simulation of FreeRTOS using Spike #10

Open
noureddine-as opened this issue Mar 23, 2018 · 4 comments
Open

Multi-processor simulation of FreeRTOS using Spike #10

noureddine-as opened this issue Mar 23, 2018 · 4 comments

Comments

@noureddine-as
Copy link

Hello,

I'm trying to use FreeRTOS for a multi-core platform. So I began with Spike simulation.
When I run the app using the new version of spike it succeeds. But if I run it with -p2 dual-core I get the (tohost = 6) error again !!
image
image
Does running FreeRTOS with multi-core need any specific configuration or code adjustment?

Best regards,
Noureddine

@illustris
Copy link
Owner

illustris commented Mar 24, 2018

I'm afraid the original port by technolusion only supported single core, and my work last year for which I updated the port didn't require multicore support either. You could try the port by MicroSemi, but I'm not sure it does either. Do you want FreeRTOS to utilise both the cores, or do you just want it to run without crashing?

@noureddine-as
Copy link
Author

In fact I would like it support both cores (may be even more).
I just would like to know where I should modify and what parts control weither the multi-core feature is available or not?

To simplify this more, let's suppose I want a normal program to run in a multi-core, what are the things I should take in consideration? May be starting like this would help me a lot to understand this.

I also tested the MicroSemi's port, and I reported that there too RISCV-on-Microsemi-FPGA/FreeRTOS#6 .

Thanks for your help.

@illustris
Copy link
Owner

I think adding multi-core support will involve a substantial amount of work. I found a multi-core port for Cortex-M3 that you could use for reference.

@noureddine-as
Copy link
Author

Okey @illustris I'll see this more in details (and get back to the basics and start with very basic multi-core apps to understand the things relying behind).
Thanks for your help.

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

No branches or pull requests

2 participants