public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Piotrek <psroka@simplusnet.pl>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] load problem
Date: Mon, 25 Jul 2005 16:11:00 -0000	[thread overview]
Message-ID: <121580900.20050725181200@simplusnet.pl> (raw)

Hello


I porting excalibur on the excalibur EPXA4

When I try to load something into RAM, using load command, I don't see any bytes loading. For example:

RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version UNKNOWN - built 16:08:46, Jul 21 2005

Platform: EXCALIBUR system (ARM9)
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x00400000, [0x0000d370-0x00400000] available
RedBoot> load -m xmodem -b 0x30000
CxyzModem - CRC mode, 10(SOH)/0(STX)/3(CAN) packets, 11 retries
RedBoot> BB0

I'm trying load the program using the gdb debugger
(gdb) load a.out
Loading section .rom_vectors, size 0x40 lma 0x30000
Ignoring packet error, continuing...
Loading section .text, size 0xf398 lma 0x30040
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...

I can read registers:
r0             0x1      1
r1             0xc2f4   49908
r2             0x0      0
r3             0x8000000        134217728
r4             0xc19c   49564
r5             0x1      1
r6             0xc2a0   49824
r7             0x0      0
r8             0x50     80
r9             0x0      0
r10            0x821c   33308
r11            0xa51c   42268
r12            0x7ffffb0        134217648
sp             0xa4ec   42220
lr             0x40007cb0       1073773744
pc             0x40007cc8       1073773768
fps            0x0      0
cpsr           0x600000d3       1610612947
but I can't load program using load command.

What wrong with my ecos?



Piotr
Sroka



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

                 reply	other threads:[~2005-07-25 16:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=121580900.20050725181200@simplusnet.pl \
    --to=psroka@simplusnet.pl \
    --cc=ecos-discuss@sources.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).