This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: still download problem to i386 pc
- To: danish iftikhar <d_iftikhar at hotmail dot com>
- Subject: Re: [ECOS] still download problem to i386 pc
- From: Alex Mathews <alexma at crosstor dot com>
- Date: Wed, 20 Sep 2000 10:42:48 -0400
- Cc: adon at walkersun dot com, ecos-discuss at sourceware dot cygnus dot com
- Organization: CrosStor Software, Inc.
- References: <F319aYFkuutSgcOrBLS0000ddde@hotmail.com>
You need to have two separate directories for the PC target. You need
one configuration for the floppy image, and you need another
configuration for the ram image. So, you build one eCos tree for
floppy, and one eCos tree for RAM. The hello.c built with the RAM image
is the one you want to download through gdb.
example:
floppy:
% mkdir floppy_work
% cd floppy_work
% ecosconfig new pc stubs
% ecosconfig tree
% make
ram:
% mkdir ram_work
% cd ram_work
% ecosconfig new pc
% ecosconfig tree
% make
When you build hello.c, make sure to point to the RAM install directory
in the Makefile. That should solve your problems I think.
-Alex
danish iftikhar wrote:
>
> Hi
>
> do u mean that i had to set the option CYG_HAL_STARTUP to RAM in the
> ecos.ecc file for the kernel . right now , i tried with that option set to
> FLOPPY , should i change that.
> does i need to edit the other ecos.ecc which is built for stubs ?
>
> thanx
> danish.
>
> >From: "adon@walkersun" <adon@walkersun.com>
> >To: "danish iftikhar" <d_iftikhar@hotmail.com>
> >CC: <ecos-discuss@sourceware.cygnus.com>
> >Subject: Re: [ECOS] still download problem to i386 pc
> >Date: Wed, 20 Sep 2000 14:23:04 +0800
> >
> >Hi, I have meet this case with window2000. Which type of download program
> >you setup??? Is floppy or ram. You should build your download test program
> >with ram. But the boot should be floppy.
> >
> >Hope this will be helpful
> >
> >Adon Chen
>
> /***************************/
>
> >
> >
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
--
Alex Mathews
CrosStor Software, Inc.
908-226-0100 ext 148
alexma@crosstor.com