This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: running eCos apllication from floppy
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: Rohan Soman <rohan dot soman at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: 23 Feb 2005 10:02:26 +0000
- Subject: Re: [ECOS] running eCos apllication from floppy
- References: <bd4aff39050222235542694e8@mail.gmail.com>
Rohan Soman <rohan.soman@gmail.com> writes:
> Hello,
>
> This is with reference to the:
>
> appendix A: Target Setup: i386 PC Hardware Setup: Floppy Disk Support
>
> of eCos user guide.
>
> " $ i386-elf-objcopy -O binary app.elf app.bin
> (Here app.elf is the final linked application executable, in ELF format) "
>
>
> 1. how can the app.elf file be generated ?
This is just the final linked executable you get as standard from the
GCC tools. Take a look a the user manual for detail on how to do this.
>
>
> 2. how can an application be built with a startup type of FLOPPY,
> and be configured to be a self-booting image that must be written
> onto a formatted floppy disk using the dd command ?
Just select the FLOPPY option in the startup type field in the
configtool. Then the resulting executable will be suitable for writing
to a floppy using the steps described in the documentation.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
Besuchen Sie uns vom 22.-24.02.05 auf der Embedded World 2005, Stand 11-124
Visit us at Embedded World 2005, NÃrnberg, Germany, 22-24 Feb, Stand 11-124
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss