[ECOS] Debugging pc platform

Andrew Lunn andrew@lunn.ch
Thu Mar 2 11:03:00 GMT 2006

> > Is it SMP which is causing the problem? Maybe try running SMP but hack
> > Cyg_Scheduler::start() so that it does not start the other CPUs. That
> > might tell you more....It might also be interesting to find out which
> > CPU has the problem. 
> > 
> I've been locking for that and it only appears in
> kernel/current/src/sched/sched.cxx, but that file seems not to be used
> with my configuration, no matter if I hack it in my build tree or in the
> sources tree, it never get compiled ! Could be that RedBoot
> configurations start the CPUs in a different way?.

O.K. I forgot this was RedBoot. Redboot means no kernel, which also
means no real SMP usage since it is single threaded. I don't think the
second CPU will be started.

So i would suggestyou just use a UP Redboot. You can then look at SMP
eCos applications which are booted via Redboot. I guess that is what
you are really interested in.


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list