public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: Mathieu Lacage <mathieu_lacage@realmagic.fr>
To: sid@sources.redhat.com
Subject: running eCos under sid
Date: Tue, 13 Nov 2001 14:00:00 -0000	[thread overview]
Message-ID: <1006507910.9301.40.camel@mathieu> (raw)

hi all,

Because I am trying to avoid launching my vmware/win2k/arm simulator, I
decided to try to use sid to run a hello-world with eCos...

I built an eCos kernel for the INTEGRATOR ARM development card. Then, I
built a hello world with:
arm-elf-gcc -I/infinite/ecos/ecos/test_install/include
-L/infinite/ecos/ecos/test_install/lib -Ttarget.ld main.c -o main

I got a 1.3 MB elf binary which I tried to run in sid (yesterday's CVS)
with:
arm-elf-sif main
which gave:
bash$ arm-elf-sid -EL main
Fault (memory, 0x1a000004) pc=0x8048

I am not really experienced with such embedded systems. I can imagine
twenty thing which went wrong. (such as wrong start address,
incompatible libc, etc...). So, I tried to run a gdb thing in sid:
arm-elf-sif -EL --gdb=1024 main 
which seems to get into an infinite loop because sid never returns.

So, I tried to connect my gdb to this gdb stub with:
bash$ arm-elf-gdb main
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=arm-elf"...
(gdb) target cisco localhost:1024
which also seems to hang into a loop.


Any comments are welcome.

Mathieu
-- 
Mathieu Lacage <mathieu_lacage@realmagic.fr>
#p: +33 1 69 19 61 97

WARNING: multiple messages have this Message-ID
From: Mathieu Lacage <mathieu_lacage@realmagic.fr>
To: sid@sources.redhat.com
Subject: running eCos under sid
Date: Fri, 23 Nov 2001 01:31:00 -0000	[thread overview]
Message-ID: <1006507910.9301.40.camel@mathieu> (raw)
Message-ID: <20011123013100.FELs1HfKN6-1nu0HPzjMCsPRheWdY1pf7ZcDg_U0TFs@z> (raw)

hi all,

Because I am trying to avoid launching my vmware/win2k/arm simulator, I
decided to try to use sid to run a hello-world with eCos...

I built an eCos kernel for the INTEGRATOR ARM development card. Then, I
built a hello world with:
arm-elf-gcc -I/infinite/ecos/ecos/test_install/include
-L/infinite/ecos/ecos/test_install/lib -Ttarget.ld main.c -o main

I got a 1.3 MB elf binary which I tried to run in sid (yesterday's CVS)
with:
arm-elf-sif main
which gave:
bash$ arm-elf-sid -EL main
Fault (memory, 0x1a000004) pc=0x8048

I am not really experienced with such embedded systems. I can imagine
twenty thing which went wrong. (such as wrong start address,
incompatible libc, etc...). So, I tried to run a gdb thing in sid:
arm-elf-sif -EL --gdb=1024 main 
which seems to get into an infinite loop because sid never returns.

So, I tried to connect my gdb to this gdb stub with:
bash$ arm-elf-gdb main
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "--host=i686-pc-linux-gnu
--target=arm-elf"...
(gdb) target cisco localhost:1024
which also seems to hang into a loop.


Any comments are welcome.

Mathieu
-- 
Mathieu Lacage <mathieu_lacage@realmagic.fr>
#p: +33 1 69 19 61 97

             reply	other threads:[~2001-11-23  9:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-13 14:00 Mathieu Lacage [this message]
2001-11-14  0:14 ` Frank Ch. Eigler
2001-11-14  3:43   ` Mathieu Lacage
2001-11-14  4:00     ` Frank Ch. Eigler
2001-11-23  5:02       ` Frank Ch. Eigler
2001-11-23  4:53     ` Mathieu Lacage
2001-11-23  4:30   ` Frank Ch. Eigler
2001-11-23  1:31 ` Mathieu Lacage

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=1006507910.9301.40.camel@mathieu \
    --to=mathieu_lacage@realmagic.fr \
    --cc=sid@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).