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]
Other format: [Raw text]

Re: Same msg again.....URGENT HELP ----How to setup target in PCs


ravi dhoolypala <ravi1226@yahoo.com> writes:

> hi......i am new to eCos ....i need help urgently....i
> installed this ecos on a Compaq PC in Redhat 9.0
> system.....In the manual it was given that to run C
> programs or run test cases we need to setup the target
> ....in the manual for PCs it was given to type 'target
> sim' in the (gdb) prompt.....but when i typed that i
> was getting error and was asked to refer to 'target'
> help ...it couldnt help me much.....i am trying to
> execute C programs using the 'i386-elf' gnutool.....i
> am able to build the examples.....but i am not able to
> run the programs in the (gdb) mode or even run the
> testcases in the config tool or (gdb) mode.....please
> help on how to execute the test cases on the Pcs
> ....What should be the parameter to set the TARGET to
> PC Mother Board...i am getting a error 'ignoring
> packet error,continuing' and at the end 'cannot run
> the program'.....please help me...if i could execute
> an example in my PC using i386-elf.....my job will be
> done.....please guys this is urgent...Thanks bye

Re-read the documentation. It looks like you are either trying to run
executables built for a PC target under Linux, or are trying to use a
simulator. The former won't work, you need to build for the synthetic
target to do that, or use a real PC on the network or connected via a
serial line. Any simulator has to have full PC emulation for an eCos
executable to work, the simulator in GDB is instruction set only, and
in mainly used for compiler development. You can use Bochs to run eCos
executables.

-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


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


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