Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: R3.14 support for MIPS (hkbaja47)
From: Matt Rippa <mrippa@gemini.edu>
To: tech-talk@aps.anl.gov
Date: Thu, 27 Apr 2006 13:32:59 -1000
Hi Andrew -

This worked to resolve the symbols and I can now load the munch file (see below). At one point I headed down that path but I missed a couple underscores! ;-)

However... iocInit() is throwing something. I did a task trace on the offender, but think it's related to the sntpc stuff in vxWorks. I thought I fixed this by adding #define INCLUDE_SNTPC to my vxWorks build?

I'll check to make sure the ppc and (if I can find a board) the 68k can load with your new munch patch. I can see that the symbols are resolved when greping for libCom as before.


Thanks! -Matt

-------------------------
ld < test.munch
value = -2137823744 = 0x80936600
...

iocInit()
############################################################################
###  EPICS IOC CORE built on Apr 20 2006
###  EPICS R3.14.6GEM9.1 $Tag$ $Date: 2005/06/14 15:56:15 $
############################################################################

FPE Exception
Exception Program Counter: 0x808e15dc
Status Register: 0x30006701
Cause Register: 0x0000003c
Task: 0x80ac6fd0 "timerQueue"
Starting iocInit
value = 0 = 0x0

iocInit: All initialization complete

Done executing startup script /home/mrippa/install/example1/bin/vxWorks-mips/testWfg
-> tt "timerQueue"
80024434 vxTaskEntry +c : epicsThreadSleepQuantum (&epicsThreadCallEntryPoint, 80accebc, 0, 0)
808e141c epicsThreadSleepQuantum+78 : epicsThreadCallEntryPoint (eeeeeeee, eeeeeeee, eeeeeeee, eeeeeeee)
808d94d8 epicsThreadCallEntryPoint+a8 : timerQueueActive::run(void) (eeeeeeee, eeeeeeee, eeeeeeee, eeeeeeee)
808e78e4 timerQueueActive::run(void)+40 : epicsEvent::wait(double) (8090e180, 80ac6fd0, 80accebc, &epicsThreadCallEntryPoint)
808dba98 epicsEvent::wait(double)+40 : epicsEventWaitWithTimeout (eeeeeeee, eeeeeeee, 8008c66c, eeeeeeee)
value = 0 = 0x0
->
->
->
-> iocClockSyncWithNTPserver: sntpcTimeGet S_sntpcLib_TIMEOUT


Andrew Johnson wrote:
Hi Matt,

I suspect Gemini is the only site trying to use EPICS 3.14.x on MIPS -- we don't have any configuration files in the CVS repository for MIPS at all. I don't think the solution to your problem is quite as simple as adding a linker flag though, it needs a patch to the EPICS munch.pl script.

I think the attached patch file should do the trick, please try it and let me know so I can commit the changes to CVS. Apply this by cd'ing to your base/configure/tools directory and running
patch <munch.patch
After that you'll only have to rebuild your application (no need to rebuild EPICS base) to see if the result works. You should also make sure that this doesn't break your PowerPC and/or 68k builds though - it shouldn't, but you should test them to make sure.


If this fixes the problem and you manage to get EPICS running properly on the board, we'd be very interested in including a copy of your configuration files in the official EPICS distribution.

- Andrew

Replies:
Re: R3.14 support for MIPS (hkbaja47) Matt Rippa
References:
R3.14 support for MIPS (hkbaja47) Matt Rippa
Re: R3.14 support for MIPS (hkbaja47) Andrew Johnson

Navigate by Date:
Prev: Re: R3.14 support for MIPS (hkbaja47) Maren Purves
Next: caRepeater Al Honey
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: R3.14 support for MIPS (hkbaja47) Maren Purves
Next: Re: R3.14 support for MIPS (hkbaja47) Matt Rippa
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·