This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Bootable applications
- To: "Jonathan Larmour" <jlarmour at redhat dot com>
- Subject: Re: [ECOS]Bootable applications
- From: "survey liu" <liuxw at 263 dot net>
- Date: Wed, 15 Aug 2001 09:18:27 +0800
- Cc: <ecos-discuss at sources dot redhat dot com>
- References: <017601c1249a$e16990c0$fca210ac@utszrtsurveyl> <3B7933BC.8FC5401C@redhat.com>
So, why this hints are not mentioned in the documents?
I don't think the documents for eCos are well-written, especially for a newbie.
Best regards,
Survey Liu
liuxw@263.net
+86-755-6635333 ext 4300
----- Original Message -----
From: "Jonathan Larmour" <jlarmour@redhat.com>
To: "survey liu" <liuxw@263.net>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Tuesday, August 14, 2001 10:20 PM
Subject: Re: [ECOS]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