This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Confused at redboot.bin and redboot.elf...
- To: David <cfliu at csie dot nctu dot edu dot tw>,eCos discussion <ecos-discuss at sources dot redhat dot com>
- Subject: Re: [ECOS] Confused at redboot.bin and redboot.elf...
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 28 Sep 2001 19:14:03 +0100
- Organization: Red Hat UK Ltd.
- References: <200109272109.FAA28872@ccsun2.csie.nctu.edu.tw> <3BB4B2E3.E199EF1@redhat.com> <003d01c14849$78eaf0c0$0d103ad2@DAVID>
[ Please CC the list. Individual support is not something we do for free.
Mailing the list means everyone gets the benefit of answers. ]
David wrote:
>
> Hi, thanks for reply. I don't speak french, so I don't know whether "Vive
> l'amour" is correct or not. :-) Please correct me if it's incorrect.
I was just thinking of my own surname, that's all :-).
> Ok...this is not what I wanna ask. I know during developing stage, I need to
> download image to debug with GDB. But what do you mean by 'use redboot off
> the floppy'? If the floppy doesn't have Redboot, then how can I boot the PC?
> I know how to change the startup type from FLOPPY to RAM, but if Redboot
> isn't in the floppy, there should be something in the floppy to boot the
> target PC and then receive the debugging image send from GDB...
Take a step back here. What do you _want_ to do right now? Boot RedBoot off
a floppy, or boot an eCos application off a floppy? You've already said you
can boot RedBoot.
An eCos application can just do the same thing as RedBoot does to boot off
a floppy, *if* you set the startup type for eCos to "FLOPPY". After that
you link your application with eCos and have an ELF format executable. Then
you convert that executable to binary with something like:
i386-elf-objcopy -O binary myapp myapp.bin
and then copy to the floppy using "dd" as you did redboot.
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