EPICS Controls Argonne National Laboratory

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  2021  2022  2023  2024  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  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem in porting EPICS on microblaze softcore processor
From: Steve Shoaf <[email protected]>
To: D Peter Siddons <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Thu, 19 Apr 2012 11:02:00 -0500
Peter,

I have built EPICS R3.14.12.2 (with the help of Andrew Johnson and Jeff Hill) in uClinux.  Andrew identified the C++ problem we had when trying to compile EPICS R3.14.11 for uClinux and Jeff came up with a solution and that was implemented in R3.14.12.2.  I also have an IOC running on a MicroBlaze system running uClinux on a Spartan-6 board.  What I do not have yet are drivers to support the hardware connected to the fpga fabric.  This is something I will start work on right after our imminent maintenance period here at the APS.

Steve

On Apr 19, 2012, at 9:20 AM, D Peter Siddons wrote:

Hi Shantonu,
   Several years ago I tried to build EPICS in uClinux. What killed it then was the level of C++ support in the distribution. I notice that your issue is with a C++ fragment. Maybe not much has changed since I tried.
Pete.


On 04/19/2012 09:22 AM, Dalesio, Leo wrote:

That is very ambitious.

 

We are using the microblaze on Virtex 6 for our BPMs and fast orbit feedback. We chose not to embed the channel access service there – but to integrate the devices through tcp/ip from the microblaze/Virtex 6 DDR3 memory --- into an EPICS device driver. We made three different paths with different priorities – commands to the microblaze, scalar data from microblaze to EPICS, and vector data from microblaze to EPICS.

 

To put the portable server into the microblaze would seem to have a number of issues – please report on the issues as you discover them and better yet – the solutions as you overcome them.

 

Good Luck!

Bob

 

From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Thursday, April 19, 2012 8:17 AM
To: [email protected]
Cc: [email protected]
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

 


-- 
D. Peter Siddons
Detector Development Group Leader
NSLS, Bldg. 725D
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973

email: [email protected]
Phone: (631) 344-2738


References:
Problem in porting EPICS on microblaze softcore processor ssahoo
RE: Problem in porting EPICS on microblaze softcore processor Dalesio, Leo
Re: Problem in porting EPICS on microblaze softcore processor D Peter Siddons

Navigate by Date:
Prev: Re: Problem in porting EPICS on microblaze softcore processor Eric Norum
Next: RE: Problem in porting EPICS on microblaze softcore processor Hill, Jeffrey O
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  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem in porting EPICS on microblaze softcore processor D Peter Siddons
Next: Re: Problem in porting EPICS on microblaze softcore processor Andrew Johnson
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  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·