public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: Cristiano Ligieri Pereira <cpereira@ics.uci.edu>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] Another port problem
Date: Thu, 16 Aug 2001 16:05:00 -0000	[thread overview]
Message-ID: <3B7C51A5.877A0117@redhat.com> (raw)
In-Reply-To: <Pine.SOL.4.20.0108161529100.970-100000@washoe.ics.uci.edu>

Cristiano Ligieri Pereira wrote:
> 
> Hi all,
> 
> I'm compiling Redboot for RAM and trying to make it work on my XScale
> platform. The code is crashing in a very simple part:
> 
>         // clear BSS
>         ldr     r1,.__bss_start
>         ldr     r2,.__bss_end
>         mov     r0,#0
>         cmp     r1,r2
>         beq     2f
> 1:      str     r0,[r1],#4
>         cmp     r1,r2
>         bne     1b
> 2:
> 
> After this cleaning loop I have code to light up a LED, but this code is
> not being reached.
> 
> I'm also getting the following error on GDB console:
> 
> "warning: Remote failure reply: E03"
> 
> Before that code is executed I'm doing some hardware initialization and
> memory remapping.
> 
> Does anyone have any idea of what could be causing this problem?

The obvious guess is that you're hitting a bad address (due to the
remapping potentially) and it's going wrong. You'd have to put something in
the abort_data VSR to find out what address. You can't easily use C of
course, because your BSS isn't set up :).

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-16 15:39 Cristiano Ligieri Pereira
2001-08-16 16:05 ` Jonathan Larmour [this message]
2001-08-16 23:13   ` Cristiano Ligieri Pereira

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=3B7C51A5.877A0117@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=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).