public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* running eCos under sid
@ 2001-11-13 14:00 Mathieu Lacage
  2001-11-14  0:14 ` Frank Ch. Eigler
  2001-11-23  1:31 ` Mathieu Lacage
  0 siblings, 2 replies; 8+ messages in thread
From: Mathieu Lacage @ 2001-11-13 14:00 UTC (permalink / raw)
  To: sid

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-11-23 13:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-13 14:00 running eCos under sid Mathieu Lacage
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

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).