From: Cristiano Ligieri Pereira <cpereira@ics.uci.edu>
To: Gary Thomas <gthomas@redhat.com>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: RE: [ECOS] Port to XScale board
Date: Mon, 20 Aug 2001 14:36:00 -0000 [thread overview]
Message-ID: <Pine.SOL.4.20.0108201411450.16067-100000@washoe.ics.uci.edu> (raw)
In-Reply-To: <XFMail.20010818194904.gthomas@redhat.com>
Hi,
I kind of solved my RAM redboot problem (however temporarily since I only
removed the cause of the problem from the code instead of fixing it). I
commented out (till I figure out why) the three function calls that were
crashing... :-|
The first is the call to function __clear_breakpoints() whithin the
function __handle_exception (void), which is located in the file
generic-stub.c. Actually this one I haven't commented out but only defined
CYGNUM_HAL_BREAKPOINT_LIST_SIZE to 0, which in turn makes the function do
not be called. The second and third are the function calls
__data_cache(CACHE_FLUSH) and __instruction_cache(CACHE_FLUSH)
respectively, both within the same function and file, that I literally
commented out. Now I can download a file using GDB/Redboot (running from
RAM) but I can't actually execute it.
I'm downloading the file at the address 0x60000 (at RAM) since Redboot is
located at 0x20000 (right?). The entry point should be reset_vector
(right?), which had to be located in the address 0x64000, but is actually
being mapped to 0x60040. Is this a problem?
Anyways my application is loaded and GDB jumps to 0x60040
Loading section .rom_vectors, size 0x40 lma 0x60000
Loading section .text, size 0xf924 lma 0x60040
Loading section .rodata, size 0x4f0 lma 0x6f964
Loading section .data, size 0x4d4 lma 0x6fe54
Start address 0x60040 , load size 66344
Transfer rate: 40827 bits/sec, 302 bytes/write.
and nothing else happens. I have the LEDs being lightned up (in
vectors.S) but it's not working, what makes me assume that the application
is not being executed.
Am I missing something here?
Thanks,
Cristiano.
------------------------------------------------------------
Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira
> First of all, you can load programs using RedBoot's "load" command as
> well.
>
> Try turning on GDB's remote debug facility which will display something
> about what's going on on the communications line. Note: it will be running
> at the same speed that RedBoot was using, most likely 38400 unless you've
> set it up to run otherwise.
>
next prev parent reply other threads:[~2001-08-20 14:36 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-18 16:21 Cristiano Ligieri Pereira
2001-08-18 18:46 ` Gary Thomas
2001-08-19 15:29 ` Cristiano Ligieri Pereira
2001-08-19 15:52 ` Cristiano Ligieri Pereira
2001-08-20 14:36 ` Cristiano Ligieri Pereira [this message]
2001-08-20 14:49 ` Gary Thomas
2001-08-20 15:10 ` Cristiano Ligieri Pereira
2001-08-20 15:14 ` Gary Thomas
2001-08-20 15:34 ` Cristiano Ligieri Pereira
2001-08-20 15:38 ` Gary Thomas
2001-08-20 16:21 ` Cristiano Ligieri Pereira
2001-08-20 16:56 ` Cristiano Ligieri Pereira
2001-08-20 17:03 ` Gary Thomas
2001-08-20 17:14 ` Cristiano Ligieri Pereira
2001-08-20 18:05 ` Gary Thomas
2001-08-20 18:25 ` Cristiano Ligieri Pereira
2001-08-20 19:32 ` Gary Thomas
2001-08-21 14:00 ` Cristiano Ligieri Pereira
2001-08-21 14:12 ` Gary Thomas
2001-08-21 14:31 ` Cristiano Ligieri Pereira
2001-08-21 14:58 ` Gary Thomas
2001-08-21 20:13 ` Cristiano Ligieri Pereira
2001-08-21 16:04 ` Jonathan Larmour
2001-08-20 17:04 ` Gary Thomas
2001-08-20 17:01 ` 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.0108201411450.16067-100000@washoe.ics.uci.edu \
--to=cpereira@ics.uci.edu \
--cc=ecos-discuss@sourceware.cygnus.com \
--cc=gthomas@redhat.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).