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: i386 boot problem


On Mon, 2005-04-04 at 14:48 +0100, Goncalo Antunes wrote:
> hi!
> 
> I'm working on a simple eCos application that will run on a standard i386 
> pc.
> I configured the eCos installation with the "i386PC target" template 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...
> 
> but there is error when booting from the disk....:
> 
> "Error 13: Invalid or unsuportted executable format".
> 
> I formatted the floppy with the fdformat command before I used it...

Did you set the startup type to be FLOPPY?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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