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  <20102011  2012  2013  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: rtems-4.10 tftp support
From: "Jim Chen" <[email protected]>
To: "'Eric Norum'" <[email protected]>, "'Daron Chabot'" <[email protected]>
Cc: "'EPICS Tech Talk'" <[email protected]>
Date: Thu, 9 Dec 2010 17:29:55 -0000

Thanks Eric. I will try the patch later.

 

Best regards,

 

Jim

Hytec Electronics Ltd.
Tel: +44 (0) 118 975 7770
Fax: +44 (0) 118 975 7566
Web: www.hytec-electronics.co.uk

Incorporated in England No 1246940

VAT NO GB 285 2479 27

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

From: Eric Norum [mailto:[email protected]]
Sent: 09 December 2010 17:21
To: Daron Chabot
Cc: Jim Chen; EPICS Tech Talk
Subject: Re: rtems-4.10 tftp support

 

--- /usr/local/epics/R3.14.12/base/src/RTEMS/base/rtems_init.c       2010-11-24 12:54:36.000000000 -0800

+++ rtems_init.c        2010-12-09 09:18:34.270548000 -0800

@@ -209,7 +209,15 @@

 {

 #ifdef OMIT_NFS_SUPPORT

     printf ("***** Initializing TFTP *****\n");

+#if __RTEMS_MAJOR__>4 || (__RTEMS_MAJOR__==4 && __RTEMS_MINOR__>9) || (__RTEMS_MAJOR__==4 && __RTEMS_MINOR__==9 && __RTEMS_REVISION__==99)

+    mount_and_make_target_path(NULL,

+                               "/TFTP",

+                               RTEMS_FILESYSTEM_TYPE_TFTPFS,

+                               RTEMS_FILESYSTEM_READ_WRITE,

+                               NULL);

+#else

     rtems_bsdnet_initialize_tftp_filesystem ();

+#endif

     if (!hasLocalFilesystem) {

         char *path;

         int pathsize = 200;

 

 

On Dec 9, 2010, at 9:06 AM, Daron Chabot wrote:



Hi Jim,

Have a look at tftpTest/init.c from the RTEMS network-demos (cvs HEAD):

cvs -d :pserver:[email protected]:/usr1/CVS co network-demos

It looks like the new initialization steps are:

        rtems_bsdnet_initialize_network ();
        mount_and_make_target_path(
                NULL,
                "/TFTP",
                RTEMS_FILESYSTEM_TYPE_TFTPFS,
                RTEMS_FILESYSTEM_READ_WRITE,
                NULL
        );


Patches to Base welcome :-)

-- dc

On Thu, Dec 9, 2010 at 11:26 AM, Jim Chen <[email protected]> wrote:

Eric,

It seems like that rtems-4.10 has changed some function prototypes in
tftpDriver.c code such as rtems_bsdnet_initialize_tftp_filesystem (doesn't
exist anymore) which fails the build of EPICS3.14.11/12 that doesn't use NFS
(with OMIT_NFS_SUPPORT defined). Is there a particular reason for this and
how can I get around with this please?

Best regards,

Jim
Hytec Electronics Ltd.
Tel: +44 (0) 118 975 7770
Fax: +44 (0) 118 975 7566
Web: www.hytec-electronics.co.uk
Incorporated in England No 1246940
VAT NO GB 285 2479 27
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


 

 

-- 
Eric Norum
[email protected]

 


References:
Asyn VXI-11 Driver and VXI-11 Locking William Lu
Re: Asyn VXI-11 Driver and VXI-11 Locking Eric Norum
Re: Asyn VXI-11 Driver and VXI-11 Locking William Lu
Re: Asyn VXI-11 Driver and VXI-11 Locking Eric Norum
Re: rtems-4.10 tftp support Daron Chabot
Re: rtems-4.10 tftp support Eric Norum

Navigate by Date:
Prev: Re: rtems-4.10 tftp support Eric Norum
Next: asyn R4-15 available Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: rtems-4.10 tftp support Eric Norum
Next: Re: rtems-4.10 tftp support Daron Chabot
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 09 Dec 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·