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: Port problem



> You built this CygMon yourself?  If so, what was the source code base?
> 
> Note: we really only support RedBoot on the XScale, not CygMon.

I didn't build it but I have the sources from Intel. The addressesare the
following (file elf-lrh-rom.specs):

*link:
-T bsp.ld%s -Ttext 0x00000000 -Tdata 0xc0000000 %(old_link)

> This tells me that you may have a memory mapping problem.
> 
> eCos programs expect the memory map to be somewhat different than the hardware
> map.  Most particularly, DRAM gets moved to 0x00000000 and the FLASH at 0
> gets moved around as well.  On some XScale platforms, this is even trickier,
> but the basic idea is the same.

That's why I'm forcing to execute PLATFORM_SETUP1 and remapping the memory
there according to what you've just said. But it looks like I'm missing
something then.

> > how should I do about the serial communication with the host? Can I reuse
> > the communication already established with CygMon? Do I need to break it
> > and restart a new connection?
> > 
> 
> No.

The No refers to which question? :-)

> I think you should look into getting RedBoot working as your base debug 
> environment.

Ok. I'll do that. 

Cristiano.


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