EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: RE: Problem in porting EPICS on microblaze softcore processor
From: "Hill, Jeffrey O" <johill@lanl.gov>
To: "ssahoo@vecc.gov.in" <ssahoo@vecc.gov.in>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Cc: "btanu@vecc.gov.in" <btanu@vecc.gov.in>
Date: Thu, 19 Apr 2012 17:00:21 +0000

Hi,

 

I have had some success with embedding a complete EPICS IOC, along

with RTEMS, into an Altera NIOS2 soft core. I will give some status at

the EPICS meeting. We are using the Altera NIOS2 enhanced gcc 4.1

source we have patched, configured, and build specially for RTEMS.

 

Jeff

 

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of ssahoo@vecc.gov.in
Sent: Thursday, April 19, 2012 6:17 AM
To: tech-talk@aps.anl.gov
Cc: btanu@vecc.gov.in
Subject: Problem in porting EPICS on microblaze softcore processor

 

Hi all,

 

Last few days ,I am working on porting EPICS in microblaze softcore processor with uClinux. For this I am trying to build a Channel access portable server code on it as referring the tutorial on Channel Access Portable Server Application Interface (API) by Philip Stanley.

 

It consists of four c++ files namely myServer.h,Ÿ myPV.cc,Ÿ myServer.cc and Ÿ Server.cc. I could successfully compile the cc files and generate the object files in uClinux (namely myPV.o myServer.o Server.o). But while generating executable named Server by linking the object files with the libraries libcas.a, libca.a, libCom.a, and libgdd.a i am stuck at an error. microblaze-uclinux-gnu toolchain is used for compilation. I know my problem is a bit specific, but if anyone who has worked with uclinux earlier may help me.

 

Following is the error output at the console 

 

microblaze-uclinux-g++  -L/home/petalinux-v0.40-final/software/petalinux-dist/lib -mno-xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift -mcpu=v7.10.d  -L/windows/base-3-14-11/myserver2/microblaze_lib  -Wl -o Server myPV.o myServer.o Server.o -lcas -lca -lCom -lgdd -lrt -lc -lpthread                                  

Server.elf2flt: In function `ClockTimeSync': /windows/base-3-14-11/myserver2/libCom/osiClockTime.c(.text+0x815b8): undefined reference to `clock_settime'                     Server.elf2flt: In function `ClockTimeGetCurrent':/windows/base-3-14-11/myserver2/libCom/osiClockTime.c(.text+0x816ec): undefined reference to `clock_settime'               Server.elf2flt: In function `putDoubleToString(double, gddEnumStringTable const*, char*, unsigned long)':  /windows/base-3-14-11/myserver2/gdd/aitConvert.cc(.text+0x96164): undefined reference to `cvtDoubleToString'                                                    

collect2: ld returned 1 exit status                                             

make: *** [Server] Error 1 

 

Shantonu Sahoo
वैज्ञानिक अधिकारी / Scientific Officer
कंप्यूटर एवं सूचना वर्ग / Computer and Informatics Group
परिवर्ती ऊर्जा साइक्लोट्रॉन केन्द्र / Variable Energy Cyclotron Center 
Ph: (033) 23182300

 


References:
Problem in porting EPICS on microblaze softcore processor ssahoo

Navigate by Date:
Prev: Re: Problem in porting EPICS on microblaze softcore processor Steve Shoaf
Next: SRS PTC10 support? Pete R. Jemian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Re: Problem in porting EPICS on microblaze softcore processor Eric Norum
Next: CSS Status bar, general CSS product sermon Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020