public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS]Bootable applications
       [not found] <017601c1249a$e16990c0$fca210ac@utszrtsurveyl>
@ 2001-08-14  7:20 ` Jonathan Larmour
  2001-08-14 18:17   ` survey liu
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Larmour @ 2001-08-14  7:20 UTC (permalink / raw)
  To: survey liu; +Cc: ecos-discuss

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS]Bootable applications
  2001-08-14  7:20 ` [ECOS]Bootable applications Jonathan Larmour
@ 2001-08-14 18:17   ` survey liu
  2001-08-14 20:52     ` Trenton D. Adams
  0 siblings, 1 reply; 3+ messages in thread
From: survey liu @ 2001-08-14 18:17 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [ECOS]Bootable applications
  2001-08-14 18:17   ` survey liu
@ 2001-08-14 20:52     ` Trenton D. Adams
  0 siblings, 0 replies; 3+ messages in thread
From: Trenton D. Adams @ 2001-08-14 20:52 UTC (permalink / raw)
  To: 'survey liu', 'Jonathan Larmour'; +Cc: ecos-discuss

I'm sure most of the Maintainers will say "We know, you want to re-write
them for us? :)"

I think I read that comment from Jonathan at one point! ;)

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[ mailto:ecos-discuss-owner@sources.redhat.com ] On Behalf Of survey liu
Sent: August 14, 2001 7:18 PM
To: Jonathan Larmour
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS]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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-14 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <017601c1249a$e16990c0$fca210ac@utszrtsurveyl>
2001-08-14  7:20 ` [ECOS]Bootable applications Jonathan Larmour
2001-08-14 18:17   ` survey liu
2001-08-14 20:52     ` Trenton D. Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).