[ECOS] i386 platform !

Jean-François Mullet jf.mullet@arcale.net
Fri Nov 12 22:40:00 GMT 2004

Hi Andrew,

I can build an image without any problem; I just cannot connect to it with gdb. 
I've tested eCos versions (randomly) from two years ago till the last version on CVS and I've never been able to connect with gdb.
Sometimes the toolchain is not compatible with the eCos source code (compilation options...) but the error is obvious and an update is easy and fast. 

It would be nice to know on which platform people are using eCos.
It seems that x86 is not the most used according the number of relative questions on the mailing list.


-----Message d'origine-----
De : Andrew Lunn [mailto:andrew@lunn.ch] 
Envoyé : Friday, November 12, 2004 16:01
À : Jean-François Mullet
Cc : ecos-discuss@sources.redhat.com
Objet : Re: [ECOS] i386 platform !

On Fri, Nov 12, 2004 at 02:45:30PM +0100, Jean-Fran?ois Mullet wrote:
> Hi,

> I'm trying to setup a redboot image to accept remote gdb debug on
> i386 target (which is supposed to be really easy !).
> The only working configuration have been able to use is the prebuild
> version actually in CVS which is more than 2 years old.
> Any other prebuild version or any version I can build whatever the
> ecos, cygwin and toolchain version I'm using is not accepting gdb
> remote connection.

How are you building it. I just built one:

lunn@londo:~/eCos/work2$ ecosconfig new pc redboot
U CYGSEM_HAL_USE_ROM_MONITOR, new inferred value 0
lunn@londo:~/eCos/work2$ ecosconfig import ../anoncvs-clean/packages/hal/i386/pc/current/misc/redboot_FLOPPY.ecm 
U CYGHWR_HAL_I386_FPU_SWITCH_LAZY, new inferred value 0
lunn@londo:~/eCos/work2$ ecosconfig tree 
lunn@londo:~/eCos/work2$ make -s
headers finished
/home/lunn/eCos/anoncvs-clean/packages/devs/eth/intel/i82559/current/src/if_i82559.c: In function `i82559_start':
/home/lunn/eCos/anoncvs-clean/packages/devs/eth/intel/i82559/current/src/if_i82559.c:1664: warning: implicit declaration of function `memset'
/home/lunn/eCos/anoncvs-clean/packages/devs/eth/intel/i82559/current/src/if_i82559.c: In function `i82559_recv':
/home/lunn/eCos/anoncvs-clean/packages/devs/eth/intel/i82559/current/src/if_i82559.c:2135: warning: implicit declaration of function `memcpy'
/home/lunn/eCos/anoncvs-clean/packages/devs/eth/intel/i82559/current/src/if_i82559.c: At top level:
/home/lunn/eCos/anoncvs-clean/packages/devs/eth/intel/i82559/current/src/if_i82559.c:2712: warning: `eth_dsr' defined but not used
/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/src/hal_stub.c: In function `handle_exception_cleanup':
/home/lunn/eCos/anoncvs-clean/packages/hal/common/current/src/hal_stub.c:457: warning: comparison between pointer and integer
/home/lunn/eCos/anoncvs-clean/packages/redboot/current/src/fs/disk.c: In function `find_dos_partitions':
/home/lunn/eCos/anoncvs-clean/packages/redboot/current/src/fs/disk.c:94: warning: unused variable `tmp'
build finished

I don't have an i386 board to test it with, but it seems to compile OK
except for some warnings.


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list