EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: RTEMSfor MVME5500
From: Kate Feng <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Date: Mon, 26 Jul 2004 13:33:33 -0400
[email protected] wrote:

> Hello Kate,
>
> >RTEMS-4.6.0 is better than  RTEMS-4.6.0pre#.   RTEMS-4.6.0 has
> >PowerPC patches  for RTEMS-4.6.0pre#.
> He tried to recompile RTEMS-4.6.0 kernels and GeSys_2.1beta codes.
> All passed before step what for build cexp : and xsyms :
>
> >To build rtems5500-cexp.bin and rtems5500-cexp.sym :
> >0) cd RTEMS5500-GeSys_2.1.beta
> >1) make
>
> Did you used bspcheck commands at Makefile line 142.

Till Straumann wrote the  original Makefile, which I  added the
support for the mvme5500.   It appears to me bspcheck
is not a command.  Searching  the Makefile,  I got
two lines regarding  bspcheck.

bspcheck: $(if $(filter $(RTEMS_BSP_FAMILY),pc386 mvme5500 motorola_powerpc
svgm),,bspfail)

and

all: bspcheck libnms ${ARCH} $(SRCS) $(PGMS)


>
> But when i type make commands after other error messages from Makefile line 142..
> What is missing ?
>
> root@rtemsdev RTEMS5500-GeSys_2.1.beta]# make
> Makefile:142: *** GeSys has not been ported/tested on this BSP (mvme5500) yet.
>
> Makefile: 142 Line :
> all: bspcheck libnms ${ARCH} $(SRCS) $(PGMS)
>

I could not duplicate your error message.   What message did you
get before those error message came out ?

Make sure you have  environment variable :
RTEMS_MAKEFILE_PATH=/opt/rtems/ppc-rtems/mvme5500

However, I do find out that you are missing
/opt/rtems/make/custom/mvme5500.cfg (attached).

Also,  one has to modify the  RTEMS5500-GeSys_2.1.beta/config
files  (e.g. libbfd.excl, libiberty.excl, and  libopcodes.excl)
to change the path from /opt/rtems3 to its own defined directory.
The same as  the ppc-rtems/mvme5500/Makefile.inc file.

Regards,
Kate






#
# BSP specific settings. To be included in application Makefiles
#

RTEMS_BSP = mvme5500

prefix = /opt/rtems3
exec_prefix = /opt/rtems3/ppc-rtems

CC_FOR_TARGET = ppc-rtems-gcc --pipe
AS_FOR_TARGET = ppc-rtems-as
AR_FOR_TARGET = ppc-rtems-ar
NM_FOR_TARGET = ppc-rtems-nm
LD_FOR_TARGET = ppc-rtems-ld
SIZE_FOR_TARGET = ppc-rtems-size
OBJCOPY_FOR_TARGET = ppc-rtems-objcopy

CC= $(CC_FOR_TARGET)
AS= $(AS_FOR_TARGET)
LD= $(LD_FOR_TARGET)
NM= $(NM_FOR_TARGET)
AR= $(AR_FOR_TARGET)
SIZE= $(SIZE_FOR_TARGET)
OBJCOPY= $(OBJCOPY_FOR_TARGET)

export CC
export AS
export LD
export NM
export AR
export SIZE
export OBJCOPY

RTEMS_CUSTOM = $(prefix)/make/custom/$(RTEMS_BSP).cfg
PROJECT_ROOT = $(prefix)
RTEMS_USE_OWN_PDIR = no
RTEMS_HAS_POSIX_API = yes
RTEMS_HAS_ITRON_API = yes
RTEMS_USE_MACROS = no
RTEMS_HAS_CPLUSPLUS = yes

export RTEMS_BSP
export RTEMS_CUSTOM
export PROJECT_ROOT

# FIXME: The following shouldn't be here
RTEMS_ROOT = $(PROJECT_ROOT)
export RTEMS_ROOT

Replies:
Re: RTEMSfor MVME5500 Kate Feng
References:
Re: Re: RTEMSfor MVME5500 hkm

Navigate by Date:
Prev: Re: Re: RTEMSfor MVME5500 hkm
Next: Re: RTEMSfor MVME5500 Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Re: RTEMSfor MVME5500 hkm
Next: Re: RTEMSfor MVME5500 Kate Feng
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·