public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Lewin A.R.W. Edwards" <larwe@larwe.com>
To: Daniel.Andersson@combitechsystems.com, jlarmour@redhat.com
Cc: ecos-discuss@sources.redhat.com
Subject: RE: [ECOS] "Invalid download offset" when downloading eCos
Date: Thu, 19 Apr 2001 06:20:00 -0000	[thread overview]
Message-ID: <4.3.2.7.2.20010419090314.02b1bbf8@mail.larwe.com> (raw)
In-Reply-To: <2253171AF143D21185A60000F8FA748B02DA4CB0@pluto.combitech.se>

Hi Daniel,

> >> then i get the below error message from gdb. I have tried downloading on
> >> different locations i.e. 0x02018000 and 0x02000000 and according to the
> >> manual it should be right. What else could be wrong?
> >
>that is NOT using eCos and it works fine to download it. If i run an objdump
>on my output file i get the following:
>
>-----------clip------------
>Program Header:
>     LOAD off    0x00008000 vaddr 0x02000000 paddr 0x02000000 align 2**15
>          filesz 0x0000a07c memsz 0x0001239c flags rwx

0x8000 is nonexistent on the EB40 after the remap command. The header above 
says that your image is being loaded at address 0x8000 with a _virtual_ 
address of 0x2000000. Check your linker script.

If you're ROMming the code, the load offset should be 0, if RAM then it 
should be 0x02000000.

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"... a man who is endowed with real qualities of leadership will be tempted 
to refrain from taking part in political life; because [...] the situation 
does not call for a man who has a capacity for constructive statesmanship 
but rather for a man who is capable of bargaining for the favour of the 
majority. Thus the situation will appeal to small minds and will attract 
them accordingly."

  reply	other threads:[~2001-04-19  6:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-18 23:48 Daniel.Andersson
2001-04-19  6:20 ` Lewin A.R.W. Edwards [this message]
2001-04-19 14:27 ` Jonathan Larmour
  -- strict thread matches above, loose matches on Subject: below --
2001-04-18  4:02 Daniel.Andersson
2001-04-18  8:57 ` Jonathan Larmour

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=4.3.2.7.2.20010419090314.02b1bbf8@mail.larwe.com \
    --to=larwe@larwe.com \
    --cc=Daniel.Andersson@combitechsystems.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=jlarmour@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).