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]

Re: Bootable applications


> survey liu wrote:
> 
> Hi,
> 
> I can use REDBOOT to boot up my target(pc,i386). Also I can build my
> application with the CT. But I want to know how to build my application
> codes into a bootable image. I config the start type to be floppy, and
> build the libs, and then build my application with this libs. But I am
> really confused. How to start my application? How to build the
> bootrom/floppy which could boot my target and then run my application?

i386-elf-objcopy -O binary myapp.exe myapp.bin

And then put myapp.bin onto the floppy in the same way as you did RedBoot.

> (Surely I dont want to use a serial line to download my application and
> then run)

If you want to debug then yes. If not, then booting straight off floppy is
fine.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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