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


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

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