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]

simple hello world on i386 target


Hello again!

I configured the eCos installation with the "i386PC target" template, put
the Startup Type to FLOPPY and
built it.
I wrote a simple hello world program, compiled it ok and then make the
i386-elf-objcopy -O binary hello hello.bin
and then:
dd conv=sync if=hello.bin of=/dev/fd0
for it to run booting from the floppy disk...

The program is a simple thread in a loop that prints out "Hello World"...
It should boot up and start printing "HelloWorld"... but it doesn't!
After booting nothing is on the screen... just the cursor blinking...
I launch the threan on the cyg_user_start... I think I am doing everything
by the book...but it does not work.

can you help me?


Thank you.


Gonçalo Antunes.




-- 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]