This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: i386 boot problem
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Goncalo Antunes <gmma at gmma dot net>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Mon, 04 Apr 2005 07:52:43 -0600
- Subject: Re: [ECOS] i386 boot problem
- Organization: MLB Associates
- References: <42511244.6050303@protei.ru> <000c01c5391d$107d9e70$0200a8c0@pcgoncalo>
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