public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Cristiano Ligieri Pereira <cpereira@ics.uci.edu>
To: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Port problem
Date: Thu, 16 Aug 2001 22:47:00 -0000	[thread overview]
Message-ID: <Pine.SOL.4.20.0108162211410.1148-100000@washoe.ics.uci.edu> (raw)
In-Reply-To: <Pine.SOL.4.20.0108161043330.821-100000@washoe.ics.uci.edu>

Hi again!

I don't know whether my previous question made no sense or if it was too
simple... since I've got no answer. :-|

I'm working on the port of an XScale based platform. So far I have done a
reasonable progress (in my opinion...) but now I'm kind of stuck. :(

I started the port copying the IQ80310 and modifying it's files since both
platforms are quite different (except the processor, obviously). Then the
next thing I did was to clean up the macro PLATFORM_SETUP1 so that the
specific IQ80310 initializations were removed and the specific
initializations of my platform were inserted (those I got from CygMon
source code). After this I've changed the memory map (that I actually sent
to this list yesterday) so that I have RAM at 0x0.

After this I've been trying two things: load a Hello World eCos
application configured to execute on RAM (by means of GDB/Cygmon) and load
RedBoot configured to execute at RAM as well. For both I load the
application at the original RAM address (since for cygmon this is still
the RAM memory address) and for both I'm executing the code in
PLATFORM_SETUP1, which remaps the memory.

When I try to execute the Hello World application the code crashes when
calling diag_printf function in the main body. For the RAM/RedBoot code it
is crashing when cleaning the BSS (I've checked the addresses I'm hitting
and they fall within the original memory addresses 0xC0000000).

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?

Am I on the right track? I was feeling good about it till two days
ago. But now that I'm stuck I getting frustrated instead. :-|

Thanks again,
Cristiano.

> Hi all,
> 
> I'm porting eCos to a XScale based platform. The board have Cygmon in its
> Flash memory, which is invoked at reset time. I can load an eCos
> application in it (I'm modifying the port to IQ80310). So far I have
> modified the file PLATFORM_SETUP1, in which I change the memory map and
> initialize (or re-initialize since cygmon initialize them already) all the
> necessary components (caches, BTB, MMU, etc...). All this seems to work
> fine. The memory mapping is changed so that I have SDRAM at address 0x0.
> 
> Now I'm a little confused on how to make the serial communication work. I
> can download an application using GDB. So obviously there is a connection
> between the target and the GDB in the host. What should I do to keep using
> this connection to send debugging messages to the host? Or should I break
> this connection and restart it somehow?
> 
> Thanks in advance,
> Cristiano.
> 
> ------------------------------------------------------------
> Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira


  reply	other threads:[~2001-08-16 22:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-16 11:00 Cristiano Ligieri Pereira
2001-08-16 22:47 ` Cristiano Ligieri Pereira [this message]
2001-08-17  2:50   ` Jesper Skov
2001-08-17  5:10     ` Mark Salter
2001-08-17  7:56       ` Cristiano Ligieri Pereira
2001-08-17  5:36   ` Gary Thomas
2001-08-17 11:07     ` Cristiano Ligieri Pereira
2001-08-17 11:14       ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SOL.4.20.0108162211410.1148-100000@washoe.ics.uci.edu \
    --to=cpereira@ics.uci.edu \
    --cc=ecos-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).