This is the mail archive of the ecos-discuss@sources.redhat.com 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]

RE: loading images with redboot


On Wed, 2001-10-10 at 17:25, Dan Conti wrote:
> > -----Original Message-----
> > From: Gary Thomas [mailto:gthomas@redhat.com]
> > Sent: Tuesday, October 09, 2001 10:16 PM
> > Subject: RE: [ECOS] loading images with redboot
> > 
> > I'm a little perplexed as well - obviously we do this all the 
> > time too!
> > 
> > Can you get any hint what the program is doing when you run 
> > it that way?
> > There really should be no difference (modulo virtual vector 
> > I/O, but it
> > doesn't seem that this is your problem) when running it one way vs the
> > other.
> 
> It seems to be having a problem while clearing the bss. Why this is a
> problem when i run it directly and not when i run it through gdb is now
> the current mystery :) at this point i'll take a pass through the rest
> of my hardware setup to make sure that's ok.
>  

I just realized one difference in these paths.  When you run via
GDB, there is no particular CACHE manipulation, however when you use the
RedBoot 'go' command, it explicitly fiddles with the caches (look at
the routine 'do_go()' in RedBoot/main.c)

This may explain some of the differences.



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