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: running eCos apllication from floppy


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


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