* [ECOS] Another port problem
@ 2001-08-16 15:39 Cristiano Ligieri Pereira
2001-08-16 16:05 ` Jonathan Larmour
0 siblings, 1 reply; 3+ messages in thread
From: Cristiano Ligieri Pereira @ 2001-08-16 15:39 UTC (permalink / raw)
To: ecos-discuss
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?
Thanks,
Cristiano.
------------------------------------------------------------
Cristiano Ligieri Pereira - http://www.ics.uci.edu/~cpereira
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Another port problem
2001-08-16 15:39 [ECOS] Another port problem Cristiano Ligieri Pereira
@ 2001-08-16 16:05 ` Jonathan Larmour
2001-08-16 23:13 ` Cristiano Ligieri Pereira
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Larmour @ 2001-08-16 16:05 UTC (permalink / raw)
To: Cristiano Ligieri Pereira; +Cc: ecos-discuss
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Another port problem
2001-08-16 16:05 ` Jonathan Larmour
@ 2001-08-16 23:13 ` Cristiano Ligieri Pereira
0 siblings, 0 replies; 3+ messages in thread
From: Cristiano Ligieri Pereira @ 2001-08-16 23:13 UTC (permalink / raw)
To: Jonathan Larmour; +Cc: ecos-discuss
The addresses seem OK. Even without remapping the problem keeps
happening... even though I don't understand why it doesn't crash when
copying the vectors to 0x0.
> 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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-08-16 23:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-16 15:39 [ECOS] Another port problem Cristiano Ligieri Pereira
2001-08-16 16:05 ` Jonathan Larmour
2001-08-16 23:13 ` Cristiano Ligieri Pereira
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).