This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: PC target -- How to build the GDB stub Floppy ?
- To: ecos-discuss at sources dot redhat dot com
- Subject: Re: [ECOS] PC target -- How to build the GDB stub Floppy ?
- From: Nick Garnett <nickg at cygnus dot co dot uk>
- Date: 30 Mar 2000 17:59:53 +0100
- Newsgroups: cygnus.sourceware.ecos.d
- Organization: Cygnus Solutions, a Red Hat company (Cambridge, UK)
- References: <20000330131917.36816.qmail@hotmail.com>
"Rosimildo daSilva" <rosimildo@hotmail.com> writes:
> Hi,
>
> I have compiled the toolset for i386-elf, ecos 1.3.1, and
> I've built properly the PC target. My host is CygWin.
>
> I need to create a floppy to *boot* and check things out.
>
> Questions:
>
> 1. How do I create a floppy with GDB stubs ?
>
> 2. Which boot loader this floppy uses ? Can I use Grub, etherboot ?
> Is it the file format compatible with a multi-bootloader such as
> grub ?
>
The resulting file, install/bin/gdb_module.bin, can simply be written
onto a floppy starting at sector zero. It boots itself into RAM and
does not use a boot loader.
To write it on to the floppy use either dd, which is supplied with
cygwin, or rawrite.exe, which you can pick up from many places on the
net, including ftp://ftp.redhat.com/pub/redhat/current/i386/dosutils.
You can see that it is running if it prints some characters on the
display (this is actually a copy of what it is sending down com1 and
is the GDB remote protocol).
Hope this helps...
--
Nick Garnett
Cygnus Solutions, a Red Hat Company
Cambridge, UK