From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lacage To: sid@sources.redhat.com Subject: running eCos under sid Date: Fri, 23 Nov 2001 01:31:00 -0000 Message-ID: <1006507910.9301.40.camel@mathieu> X-SW-Source: 2001-q4/msg00041.html Message-ID: <20011123013100.FELs1HfKN6-1nu0HPzjMCsPRheWdY1pf7ZcDg_U0TFs@z> 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 #p: +33 1 69 19 61 97