Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

NiosII + eCos + SMP

Altera_Forum
Honored Contributor II
1,360 Views

Is there any possibility to make the eCos support SMP system? 

I still couldn't understand how the CPU's can share the same address space to be able to execute the same thread's set. I was thinking in copying the code (chosen by scheduler) to cpuN memory area to be executed... but that can't solve my problem, because the kernel will not be accessible by others cpu's. 

Can anyone help me? 

Thank you!!!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
647 Views

 

--- Quote Start ---  

originally posted by maikon@Mar 14 2006, 04:42 PM 

is there any possibility to make the ecos support smp system? 

i still couldn't understand how the cpu's can share the same address space to be able to execute the same thread's set. i was thinking in copying the code (chosen by scheduler) to cpun memory area to be executed... but that can't solve my problem, because the kernel will not be accessible by others cpu's. 

can anyone help me? 

thank you!!! 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13418) 

--- quote end ---  

 

--- Quote End ---  

 

 

I have no experience with eCOS, however, IMHO, I don&#39;t think that implementing a scheduler with migration (that is, that moves tasks around the CPUs) will result in an efficient implementation on Nios II... Also consider that: 

 

- the peripherals seen by the various Nios II are in general different 

- there is no cache coherency in the Nios II hardware 

 

... and that&#39;s basically why we chose for ERIKA a partitioning approach, with transparent handling of the multicore shared data. You can find some more info in the ERIKA Enterprise reference manual, in the "Multtiprocessor support" chapter, available for free at http://www.evidence.eu.com/nios2/literature.asp (http://www.evidence.eu.com/nios2/literature.asp

 

bye 

 

PJ
0 Kudos
Reply