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]
Other format: [Raw text]

Re: Redboot Server address problem


Andrew,
 Thanks for the help. I had been using the old sources until you told me.
Now I am using the current version and can locate the
CYGDAT_REDBOOT_DEFAULT_BOOTP_SERVER_IP_ADDR and I can change it.

 I did the following with my updated ecos repository and got this error. I
have split it with '----' for easy reading...

vijay@linux:~/tmp>
ecosconfig --srcdir=/home/vijay/ecos_latest/ecos/packages/ new pc redboot
U CYGSEM_HAL_USE_ROM_MONITOR, new inferred value 0
U CYGIMP_HAL_COMMON_INTERRUPTS_USE_INTERRUPT_STACK, new inferred value 0
----
vijay@linux:~/tmp> echo $ECOS_REPOSITORY
/opt/ecos/ecos-2.0/packages
vijay@linux:~/tmp> ECOS_REPOSITORY2="/home/vijay/ecos_latest/ecos/packages"
vijay@linux:~/tmp> echo $ECOS_REPOSITORY2
/home/vijay/ecos_latest/ecos/packages
----
vijay@linux:~/tmp>
ecosconfig --srcdir=/home/vijay/ecos_latest/ecos/packages/ import
${ECOS_REPOSITORY2}/hal/i386/pc/current/misc/redboot_FLOPPY.ecm
U CYGHWR_HAL_I386_FPU_SWITCH_LAZY, new inferred value 0
vijay@linux:~/tmp> ls
ecos.ecc
vijay@linux:~/tmp> ecosconfig --srcdir=~/ecos_latest/ecos/packages tree
vijay@linux:~/tmp> ls
devs  ecos.ecc  hal  infra  install  io  isoinfra  language  makefile
redboot  services
vijay@linux:~/tmp> make
make -r -C hal/i386/arch/current headers
make[1]: Entering directory `/home/vijay/tmp/hal/i386/arch/current'
make[1]: Leaving directory `/home/vijay/tmp/hal/i386/arch/current'
make -r -C hal/i386/generic/current headers
make[1]: Entering directory `/home/vijay/tmp/hal/i386/generic/current'
make[1]: Leaving directory `/home/vijay/tmp/hal/i386/generic/current'
make -r -C hal/i386/pc/current headers
make[1]: Entering directory `/home/vijay/tmp/hal/i386/pc/current'
make[1]: Leaving directory `/home/vijay/tmp/hal/i386/pc/current'
make -r -C hal/i386/pcmb/current headers
make[1]: Entering directory `/home/vijay/tmp/hal/i386/pcmb/current'
make[1]: Leaving directory `/home/vijay/tmp/hal/i386/pcmb/current'
make -r -C io/pci/current headers
make[1]: Entering directory `/home/vijay/tmp/io/pci/current'
make[1]: Leaving directory `/home/vijay/tmp/io/pci/current'
make -r -C devs/eth/intel/i82559/current headers
make[1]: Entering directory `/home/vijay/tmp/devs/eth/intel/i82559/current'
make[1]: Leaving directory `/home/vijay/tmp/devs/eth/intel/i82559/current'
make -r -C devs/eth/i386/pc/i82559/current headers
make[1]: Entering directory
`/home/vijay/tmp/devs/eth/i386/pc/i82559/current'
make[1]: Leaving directory `/home/vijay/tmp/devs/eth/i386/pc/i82559/current'
make -r -C hal/common/current headers
make[1]: Entering directory `/home/vijay/tmp/hal/common/current'
make[1]: Leaving directory `/home/vijay/tmp/hal/common/current'
make -r -C infra/current headers
make[1]: Entering directory `/home/vijay/tmp/infra/current'
make[1]: Leaving directory `/home/vijay/tmp/infra/current'
make -r -C redboot/current headers
make[1]: Entering directory `/home/vijay/tmp/redboot/current'
make[1]: Leaving directory `/home/vijay/tmp/redboot/current'
make -r -C isoinfra/current headers
make[1]: Entering directory `/home/vijay/tmp/isoinfra/current'
make[1]: Leaving directory `/home/vijay/tmp/isoinfra/current'
make -r -C language/c/libc/string/current headers
make[1]: Entering directory `/home/vijay/tmp/language/c/libc/string/current'
make[1]: Leaving directory `/home/vijay/tmp/language/c/libc/string/current'
make -r -C services/crc/current headers
make[1]: Entering directory `/home/vijay/tmp/services/crc/current'
make[1]: Leaving directory `/home/vijay/tmp/services/crc/current'
make -r -C io/eth/current headers
make[1]: Entering directory `/home/vijay/tmp/io/eth/current'
make[1]: Leaving directory `/home/vijay/tmp/io/eth/current'
headers finished
make -r -C hal/i386/arch/current build
make[1]: Entering directory `/home/vijay/tmp/hal/i386/arch/current'
make[1]: *** No rule to make target `src/hal_misc.o.d', needed by
`libtarget.a.stamp'.  Stop.
make[1]: Leaving directory `/home/vijay/tmp/hal/i386/arch/current'
make: *** [build] Error 2
vijay@linux:~/tmp>
----

Should I try removing my ecos v2.0 completely and try setting my
ECOS_REPOSITORY to the latest version? Am I missing some critical step
here...
Thanks in advance,
-Vijay




----- Original Message ----- 
From: "Andrew Lunn" <andrew@lunn.ch>
To: "Vijay Jayaraman" <Vijay.Jayaraman@Colorado.edu>
Cc: <ecos-discuss@ecos.sourceware.org>
Sent: Monday, September 13, 2004 12:37 AM
Subject: Re: [ECOS] Redboot Server address problem


> On Sun, Sep 12, 2004 at 08:14:05PM -0600, Vijay Jayaraman wrote:
> > Hello friends,
> >  I am working with Redboot and I am trying to compile with Redboot
having
> > the following setup.
> > IP ADDRESS - 192.168.0.5
> > GATEWAY - 192.168.0.1
> > DNS - 192.168.0.1
> > Subnet Mask - 255.255.255.0
> > Server IP (as in ip_address -h) - 192.168.0.2
> >
> > I have managed to set all the above in the ecos.ecc file and they work
> > perfectly fine. But, everytime
> > I need to specigy the Server IP using
> >
> > REDBOOT> ip_address -h 192.168.0.2
> >
> > Is there a way I could change that too?? I could not find an option to
> > change it in the ecos.ecc file.
> > Is the host address same as the DNS???
>
> Nope its different. Are your sources up to date? If so you can use
> CYGDAT_REDBOOT_DEFAULT_BOOTP_SERVER_IP_ADDR
>
>         Andrew
>
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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