This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging pc platform


> > 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.

        Andrew

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]