This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Running hello.c on i386


JITENDRA kanitkar wrote:
> I am trying to load ecos on PIII m/c currently running RH6.2
> I followed the documentation(I belive) following are the snapshots of some
> of the commands o/p. When i tryied to compile hello.c as per the document
> with prefixing i386-elf- to gcc it gives errors(regarding paths).

You will need to give more details than that.

 The other
> issue is I copied gdb stub on floppy and tryied to boot it from that, it
> doesn't work. It gives some garbage(according to me) on the left top of the
> screen and hangs.

No that's correct. At this point it is now waiting for you to connect to it
via a serial line from another PC to download the program, as described in
the getting started guide.
 
> [root@jitu ecos-work]# ecosconfig new pc
> 1 conflict(s) resolved:
>  CYGSEM_HAL_I386_PC_STARTUP_RAM:
>   Requires constraint not satisfied:
> !CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK
> 
> [root@jitu ecos-work]# ls
> ecos.ecc
> 
> [root@jitu ecos-work]# vi ecos.ecc
> 
> c[root@jitu ecos-work]# ecosconfig tree
> 5 conflict(s) resolved:
>  CYGSEM_HAL_I386_PC_STARTUP_RAM:
>   Requires constraint not satisfied: CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
>  CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT:
>   Requires constraint not satisfied: !CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
>  CYGSEM_HAL_I386_PC_STARTUP_RAM:
>   Requires constraint not satisfied: CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
>  CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT:
>   Requires constraint not satisfied: !CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
>  CYGSEM_HAL_I386_PC_STARTUP_RAM:
>   Requires constraint not satisfied: CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT
> 
> [root@jitu ecos-work]#

This output is all correct and expected.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]