This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Bootable applications
- To: survey liu <liuxw at 263 dot net>
- Subject: Re: [ECOS]Bootable applications
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 14 Aug 2001 15:20:44 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <017601c1249a$e16990c0$fca210ac@utszrtsurveyl>
> 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