[ECOS] loading ecos application on Redboot via GDB

Jonathan Larmour jlarmour@redhat.com
Fri Jan 25 11:32:00 GMT 2002

satish s mantri wrote:
> Thanks for the support.
> As per your instruction i have done the following
> 1.we booted our i386(Target) with RedBoot.
> 2.Our host was on Linux.
> 3.We run GDB on the Host with following commands
>    i)cd BASE_DIR/install/tests/kernel/v1_3_1/tests
>    ii) i386-elf-gdb -nw thread_gdb
>   iii) set remotebaud 38400
>   iv) target remote /dev/ttyS1
>         Got the response as
>         Remote debugging using /dev/ttyS1
>         0x7f38 in ?? ( )
>         at/opt/ecos/ecos-1.3.1/packages/hal/i386/pc/v1_3_1/src/hal_startup.c : 104
>         104 }
>   v) load
>        Got the response as
>        loading section  .text, size 0x6db4 lma 0x10000
>        Ignoring packet error, continuing......
>        Ignoring packet error, continuing......
>        Ignoring packet error, continuing......
> Note: We are using ecos version 1.3.1 So we dont have prebuilt in th BASE_DIR.
> So we have given the path for cd    BASE_DIR/install/tests/kernel/v1_3_1/tests
> We are having the prebuilt in the component repository and not in Build/install tree.
> Kindly guide how to load and execute an ecos application using gdb.
> Why we are  getting the ignoring packet error after load command??

RedBoot is derived from more modern sources than 1.3.1. Using an old
prebuilt test with it will not work because the memory layout changed. You
should get new sources from anonymous CVS (
http://sources.redhat.com/ecos/anoncvs.html ) and build new tests from

Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

More information about the Ecos-discuss mailing list