From: Raghu <raghu_dk@yahoo.com>
To: waynetg@telkomsa.net, ecos-devel@sources.redhat.com
Subject: Re: Unable to load ELF file
Date: Tue, 18 Jan 2005 12:37:00 -0000 [thread overview]
Message-ID: <20050118123715.5294.qmail@web40426.mail.yahoo.com> (raw)
In-Reply-To: <200501181401.07907.waynetg@telkomsa.net>
Looks like there is an endian-ness issue, I have
compiled "target.ls" as big-endian which is default
setting for IXDP425, but when I am compiling the
examples using
make INSTALL_DIR=/cygdrive/c/ecos-build/install
for some reason it compiles as little-endian. If I add
CFLAGS = -mbig-endian in
INSTALL_DIR/include/pkgconf/ecos.mak
I get collect2 error, since it is picking up "ld" from
a different path.
HexDump of Working "hello" is:
raghunandan@DKRAGHU /cygdrive/c/tftp_dir
$ od -x hello | more
0000000 457f 464c 0201 6101 0000 0000 0000 0000
0000020 0200 2800 0000 0100 0200 4000 0000 3400
And Non - working "hello" is:
$ od -x hello | more
0000000 457f 464c 0101 6101 0000 0000 0000 0000
0000020 0002 0028 0001 0000 0040 0008 0034 0000
Raghu.
--- Wayne Gemmell <waynetg@telkomsa.net> wrote:
>
> > "Only absolute ELF images supported".
> Look for a file ending in S3 or s. Its a motorola
> s-record file. That should
> do the work.
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
prev parent reply other threads:[~2005-01-18 12:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-18 11:18 Raghu
2005-01-18 12:01 ` Wayne Gemmell
2005-01-18 12:37 ` Raghu [this message]
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=20050118123715.5294.qmail@web40426.mail.yahoo.com \
--to=raghu_dk@yahoo.com \
--cc=ecos-devel@sources.redhat.com \
--cc=waynetg@telkomsa.net \
/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).