From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bay0-omc2-s40.bay0.hotmail.com (bay0-omc2-s40.bay0.hotmail.com [65.54.246.176]) by ozlabs.org (Postfix) with ESMTP id DFC54DDE05 for ; Sat, 15 Mar 2008 19:30:32 +1100 (EST) Message-ID: Content-Type: multipart/alternative; boundary="_279286ab-02cb-48de-a113-87df9c4ac880_" From: Mohammad Sadegh Sadri To: Subject: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Date: Sat, 15 Mar 2008 08:30:31 +0000 MIME-Version: 1.0 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --_279286ab-02cb-48de-a113-87df9c4ac880_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable All, that should be a small problem, and i think that its solution should be sim= ple, I generate a base system using EDK 9.2.02 , the base system contains XPS_LL= _TEMAC , MPMC and other components, I generate the software libraries and copy xparameters file into proper ker= nel folder. I configure that kernel and add kernel support for XPS_LL_TEMAC= . while doing make I encounter this error: arch/ppc/syslib/virtex_devices.c:455: error: 'XPAR_LLTEMAC_0_LLINK_CONNECTE= D_FIFO_INTR' undeclared here (not in a function) I think that this definition should be available in xparameters_ml403.h fil= e but i see that there is no such definition.=20 I added a dummy definition for myself there to complete kernel compilation,= don't know the correct value for it of course. thanks _________________________________________________________________ Create a handy button so your friends can add U to their buddy list. Try it= now! http://g.msn.ca/ca55/211= --_279286ab-02cb-48de-a113-87df9c4ac880_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable All,

that should be a small problem, and i think that its solution s= hould be simple,

I generate a base system using EDK 9.2.02 , the bas= e system contains XPS_LL_TEMAC , MPMC and other components,
I generate t= he software libraries and copy xparameters file into proper kernel folder. = I configure that kernel and add kernel support for XPS_LL_TEMAC.

whi= le doing make I encounter this error:

arch/ppc/syslib/virtex_devices= .c:455: error: 'XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR' undeclared here (= not in a function)

I think that this definition should be available = in xparameters_ml403.h file but i see that there is no such definition. I added a dummy definition for myself there to complete kernel compilation= , don't know the correct value for it of course.

thanks



Access your files from anywhere with Windows Live SkyDrive! Sign up now and get 5GB of sp= ace FREE! = --_279286ab-02cb-48de-a113-87df9c4ac880_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xmrm0101.northgrum.com (xmrm0101.northgrum.com [155.104.240.104]) by ozlabs.org (Postfix) with ESMTP id 3CD69DDDEA for ; Sun, 16 Mar 2008 15:12:32 +1100 (EST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8871B.F2E5644D" Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Date: Sat, 15 Mar 2008 23:12:27 -0500 Message-ID: In-Reply-To: References: From: "Koss, Mike (Mission Systems)" To: "Mohammad Sadegh Sadri" , List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C8871B.F2E5644D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable That interrupt is defined if you build a xps_ll_temac with the xps_ll_fifo interface. Since you already stated that you're using the mpmc, I'm going to assume that you have it connected to a SDMA controller on the mpmc. As such the driver should be looking for that definition, and not the FIFO interrupt. I don't have your version of the virtex_devices.c to have a reference as to how the platform device is being defined, so hopefully either Stephen N can chime in w/ more information, or point me to the version of the virtex_devices.c that you're using and I can try to provide some more assistance. =20 -- Mike ________________________________ From: Mohammad Sadegh Sadri [mailto:mamsadegh@hotmail.com]=20 Sent: Saturday, March 15, 2008 4:31 AM To: linuxppc-embedded@ozlabs.org Subject: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC All, that should be a small problem, and i think that its solution should be simple, I generate a base system using EDK 9.2.02 , the base system contains XPS_LL_TEMAC , MPMC and other components, I generate the software libraries and copy xparameters file into proper kernel folder. I configure that kernel and add kernel support for XPS_LL_TEMAC. while doing make I encounter this error: arch/ppc/syslib/virtex_devices.c:455: error: 'XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR' undeclared here (not in a function) I think that this definition should be available in xparameters_ml403.h file but i see that there is no such definition.=20 I added a dummy definition for myself there to complete kernel compilation, don't know the correct value for it of course. thanks ________________________________ Access your files from anywhere with Windows Live SkyDrive! Sign up now and get 5GB of space FREE! =20 ------_=_NextPart_001_01C8871B.F2E5644D Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
That interrupt is defined if you build a xps_ll_temac = with the=20 xps_ll_fifo interface. Since you already stated that you're using the = mpmc, I'm=20 going to assume that you have it connected to a SDMA controller on the = mpmc. As=20 such the driver should be looking for that definition, and not the FIFO=20 interrupt. I don't have your version of the virtex_devices.c to have a = reference=20 as to how the platform device is being defined, so hopefully either = Stephen N=20 can chime in w/ more information, or point me to the version of the=20 virtex_devices.c that you're using and I can try to provide some more=20 assistance.
 
-- Mike


From: Mohammad Sadegh Sadri=20 [mailto:mamsadegh@hotmail.com]
Sent: Saturday, March 15, 2008 = 4:31=20 AM
To: linuxppc-embedded@ozlabs.org
Subject: Compile = time=20 error, compiling Xilinx Linux 2.6 for XPS LLTEMAC

All,

that should be a small problem, and i think that = its=20 solution should be simple,

I generate a base system using EDK = 9.2.02 ,=20 the base system contains XPS_LL_TEMAC , MPMC and other components,
I = generate=20 the software libraries and copy xparameters file into proper kernel = folder. I=20 configure that kernel and add kernel support for = XPS_LL_TEMAC.

while=20 doing make I encounter this = error:

arch/ppc/syslib/virtex_devices.c:455:=20 error: 'XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR' undeclared here (not = in a=20 function)

I think that this definition should be available in=20 xparameters_ml403.h file but i see that there is no such definition. =
I added=20 a dummy definition for myself there to complete kernel compilation, = don't know=20 the correct value for it of course.

thanks



Access your files from anywhere with Windows Live SkyDrive! Sign up now and get 5GB = of space=20 FREE! ------_=_NextPart_001_01C8871B.F2E5644D-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outbound9-sin-R.bigfish.com (outbound-sin.frontbridge.com [207.46.51.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.bigfish.com", Issuer "*.bigfish.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 1B5BADDD0A for ; Mon, 17 Mar 2008 08:48:35 +1100 (EST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C887AF.79506FAD" Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Date: Sun, 16 Mar 2008 14:43:33 -0700 References: From: "Stephen Neuendorffer" To: "Koss, Mike (Mission Systems)" , "Mohammad Sadegh Sadri" , Message-Id: <20080316214832.3F77A538046@mail141-sin.bigfish.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C887AF.79506FAD Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ah, thanks mike... you knocked the answer loose out of my brain... In EDK 9.2., the ll_temac generates either SDMA or FIFO defines, as = necessary. The platform data structure contains entries for both, with the correct = ones being ignored. In order to get the code to compile, there are some = defines in xparameters.h which have: #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR #define XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR 0xdeadbeef #endif #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR #define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR 0xdeadbeef #endif #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR #define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR 0xdeadbeef #endif after including xparameter_ml403.h=20 I'm guessing maybe you overwrote the xparameters.h file and got rid of = these redefines? You can define it to be whatever you want, since the = value will be ignored if you are using SDMA. In EDK 10.1, the BSP generator will always generate all the defines = (even ones which are not sensible in the current configuration), which = avoids the above annoyances. Steve -----Original Message----- From: linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org = on behalf of Koss, Mike (Mission Systems) Sent: Sat 3/15/2008 9:12 PM To: Mohammad Sadegh Sadri; linuxppc-embedded@ozlabs.org Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS = LLTEMAC =20 That interrupt is defined if you build a xps_ll_temac with the xps_ll_fifo interface. Since you already stated that you're using the mpmc, I'm going to assume that you have it connected to a SDMA controller on the mpmc. As such the driver should be looking for that definition, and not the FIFO interrupt. I don't have your version of the virtex_devices.c to have a reference as to how the platform device is being defined, so hopefully either Stephen N can chime in w/ more information, or point me to the version of the virtex_devices.c that you're using and I can try to provide some more assistance. =20 -- Mike ________________________________ From: Mohammad Sadegh Sadri [mailto:mamsadegh@hotmail.com]=20 Sent: Saturday, March 15, 2008 4:31 AM To: linuxppc-embedded@ozlabs.org Subject: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC All, that should be a small problem, and i think that its solution should be simple, I generate a base system using EDK 9.2.02 , the base system contains XPS_LL_TEMAC , MPMC and other components, I generate the software libraries and copy xparameters file into proper kernel folder. I configure that kernel and add kernel support for XPS_LL_TEMAC. while doing make I encounter this error: arch/ppc/syslib/virtex_devices.c:455: error: 'XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR' undeclared here (not in a function) I think that this definition should be available in xparameters_ml403.h file but i see that there is no such definition.=20 I added a dummy definition for myself there to complete kernel compilation, don't know the correct value for it of course. thanks ________________________________ Access your files from anywhere with Windows Live SkyDrive! Sign up now and get 5GB of space FREE! =20 ------_=_NextPart_001_01C887AF.79506FAD Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Compile time error, compiling Xilinx Linux 2.6 for XPS = LLTEMAC

Ah, thanks mike...  you knocked the answer loose = out of my brain...

In EDK 9.2., the ll_temac generates either SDMA or FIFO defines, as = necessary.
The platform data structure contains entries for both, with the correct = ones being ignored.  In order to get the code to compile, there are = some defines in xparameters.h which have:

#ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR
#define XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR 0xdeadbeef
#endif
#ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR
#define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR 0xdeadbeef
#endif
#ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR
#define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR 0xdeadbeef
#endif

after including xparameter_ml403.h

I'm guessing maybe you overwrote the xparameters.h file and got rid of = these redefines?  You can define it to be whatever you want, since = the value will be ignored if you are using SDMA.

In EDK 10.1, the BSP generator will always generate all the defines = (even ones which are not sensible in the current configuration), which = avoids the above annoyances.

Steve

-----Original Message-----
From: linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org = on behalf of Koss, Mike (Mission Systems)
Sent: Sat 3/15/2008 9:12 PM
To: Mohammad Sadegh Sadri; linuxppc-embedded@ozlabs.org
Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS = LLTEMAC

That interrupt is defined if you build a xps_ll_temac with the
xps_ll_fifo interface. Since you already stated that you're using = the
mpmc, I'm going to assume that you have it connected to a SDMA
controller on the mpmc. As such the driver should be looking for = that
definition, and not the FIFO interrupt. I don't have your version of = the
virtex_devices.c to have a reference as to how the platform device = is
being defined, so hopefully either Stephen N can chime in w/ more
information, or point me to the version of the virtex_devices.c that
you're using and I can try to provide some more assistance.

-- Mike

________________________________

From: Mohammad Sadegh Sadri [mailto:mamsadegh@hotmail.com] Sent: Saturday, March 15, 2008 4:31 AM
To: linuxppc-embedded@ozlabs.org
Subject: Compile time error, compiling Xilinx Linux 2.6 for XPS = LLTEMAC


All,

that should be a small problem, and i think that its solution should = be
simple,

I generate a base system using EDK 9.2.02 , the base system contains
XPS_LL_TEMAC , MPMC and other components,
I generate the software libraries and copy xparameters file into = proper
kernel folder. I configure that kernel and add kernel support for
XPS_LL_TEMAC.

while doing make I encounter this error:

arch/ppc/syslib/virtex_devices.c:455: error:
'XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR' undeclared here (not in a
function)

I think that this definition should be available in = xparameters_ml403.h
file but i see that there is no such definition.
I added a dummy definition for myself there to complete kernel
compilation, don't know the correct value for it of course.

thanks



________________________________

Access your files from anywhere with Windows Live SkyDrive! Sign up = now
and get 5GB of space FREE! <http://g.msn.ca/ca55/209> <= BR>

------_=_NextPart_001_01C887AF.79506FAD-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bay0-omc1-s2.bay0.hotmail.com (bay0-omc1-s2.bay0.hotmail.com [65.54.246.74]) by ozlabs.org (Postfix) with ESMTP id 94771DDE20 for ; Mon, 17 Mar 2008 20:03:59 +1100 (EST) Message-ID: Content-Type: multipart/alternative; boundary="_382475b5-fb75-4b43-a89e-386cc88ffaa2_" From: Mohammad Sadegh Sadri To: Stephen Neuendorffer , "Koss, Mike (Mission Systems)" , Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Date: Mon, 17 Mar 2008 09:03:58 +0000 In-Reply-To: <20080316214832.3F77A538046@mail141-sin.bigfish.com> References: <20080316214832.3F77A538046@mail141-sin.bigfish.com> MIME-Version: 1.0 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --_382475b5-fb75-4b43-a89e-386cc88ffaa2_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ok, thanks for guidance, by the way it is interesting for me to hear about EDK 10.1 from u steve,=20 EDK 9.2 has been around just for a little time and you are going to 10.1? What about future plan of xilinx about Virtex-5 FX? does this tool consider= that?=20 the future plan is really important for our development team. let me give a= simple example, our dev team worked on the design of our system based on P= LB and OPB buses for some thing near 6 month, just then EDK 9.2.02 released= and suddenly we forced to change all of the designs and to define new acti= vities specially focusing on MPMC. we did never consider MPMC before, but t= he release of EDK 9.2 changed every thing.=20 Now, that would be nice, if we can know your future plan a little, that wou= ld help us to generate correct and real gant charts. and to assign human re= sources correctly. this is also true for the project budget. We know that V= irtex-5 devices are really capable of doing better things than Virtex-4, sp= ecially the PCI express option is great and very usable for us, but we have= not moved to virtex-5 yet, because there is no FX series or at least we do= not know your plan about it. Our managers we seriously asking us if we hav= e to move to Virtex-5 soon, we did not have any reasonable answer for them = because we do not have any info from u at all. thanks Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Date: Sun, 16 Mar 2008 14:43:33 -0700 From: stephen.neuendorffer@xilinx.com To: mike.koss@ngc.com; mamsadegh@hotmail.com; linuxppc-embedded@ozlabs.org RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Ah, thanks mike... you knocked the answer loose out of my brain... In EDK 9.2., the ll_temac generates either SDMA or FIFO defines, as necessa= ry. The platform data structure contains entries for both, with the correct one= s being ignored. In order to get the code to compile, there are some defin= es in xparameters.h which have: #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR #define XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR 0xdeadbeef #endif #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR #define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR 0xdeadbeef #endif #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR #define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR 0xdeadbeef #endif after including xparameter_ml403.h I'm guessing maybe you overwrote the xparameters.h file and got rid of thes= e redefines? You can define it to be whatever you want, since the value wi= ll be ignored if you are using SDMA. In EDK 10.1, the BSP generator will always generate all the defines (even o= nes which are not sensible in the current configuration), which avoids the = above annoyances. Steve -----Original Message----- From: linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org on b= ehalf of Koss, Mike (Mission Systems) Sent: Sat 3/15/2008 9:12 PM To: Mohammad Sadegh Sadri; linuxppc-embedded@ozlabs.org Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC That interrupt is defined if you build a xps_ll_temac with the xps_ll_fifo interface. Since you already stated that you're using the mpmc, I'm going to assume that you have it connected to a SDMA controller on the mpmc. As such the driver should be looking for that definition, and not the FIFO interrupt. I don't have your version of the virtex_devices.c to have a reference as to how the platform device is being defined, so hopefully either Stephen N can chime in w/ more information, or point me to the version of the virtex_devices.c that you're using and I can try to provide some more assistance. -- Mike ________________________________ From: Mohammad Sadegh Sadri [mailto:mamsadegh@hotmail.com] Sent: Saturday, March 15, 2008 4:31 AM To: linuxppc-embedded@ozlabs.org Subject: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC All, that should be a small problem, and i think that its solution should be simple, I generate a base system using EDK 9.2.02 , the base system contains XPS_LL_TEMAC , MPMC and other components, I generate the software libraries and copy xparameters file into proper kernel folder. I configure that kernel and add kernel support for XPS_LL_TEMAC. while doing make I encounter this error: arch/ppc/syslib/virtex_devices.c:455: error: 'XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR' undeclared here (not in a function) I think that this definition should be available in xparameters_ml403.h file but i see that there is no such definition. I added a dummy definition for myself there to complete kernel compilation, don't know the correct value for it of course. thanks ________________________________ Access your files from anywhere with Windows Live SkyDrive! Sign up now and get 5GB of space FREE! =20 _________________________________________________________________ Like solving puzzles? Then you'll love Flexicon! Play now! http://g.msn.ca/ca55/213= --_382475b5-fb75-4b43-a89e-386cc88ffaa2_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ok, thanks for guidance,

by the way it is interesting for me to hear= about EDK 10.1 from u steve,
EDK 9.2 has been around just for a little= time and you are going to 10.1?

What about future plan of xilinx ab= out Virtex-5 FX? does this tool consider that?
the future plan is reall= y important for our development team. let me give a simple example, our dev= team worked on the design of our system based on PLB and OPB buses for som= e thing near 6 month, just then EDK 9.2.02 released and suddenly we forced = to change all of the designs and to define new activities specially focusin= g on MPMC. we did never consider MPMC before, but the release of EDK 9.2 ch= anged every thing.

Now, that would be nice, if we can know your fut= ure plan a little, that would help us to generate correct and real gant cha= rts. and to assign human resources correctly. this is also true for the pro= ject budget. We know that Virtex-5 devices are really capable of doing bett= er things than Virtex-4, specially the PCI express option is great and very= usable for us, but we have not moved to virtex-5 yet, because there is no = FX series or at least we do not know your plan about it. Our managers we se= riously asking us if we have to move to Virtex-5 soon, we did not have any = reasonable answer for them because we do not have any info from u at all.
thanks


Subject: RE: Compile time error, compil= ing Xilinx Linux 2.6 for XPS LLTEMAC
Date: Sun, 16 Mar 2008 14:43:33 -07= 00
From: stephen.neuendorffer@xilinx.com
To: mike.koss@ngc.com; mamsa= degh@hotmail.com; linuxppc-embedded@ozlabs.org

RE: Compile = time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC
Ah, thanks mike...  you knocked the answer loose out = of my brain...

In EDK 9.2., the ll_temac generates either SDMA or FIFO defines, as necessa= ry.
The platform data structure contains entries for both, with the correct one= s being ignored.  In order to get the code to compile, there are some = defines in xparameters.h which have:

#ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR
#define XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR 0xdeadbeef
#endif
#ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR
#define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR 0xdeadbeef
#endif
#ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR
#define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR 0xdeadbeef
#endif

after including xparameter_ml403.h

I'm guessing maybe you overwrote the xparameters.h file and got rid of thes= e redefines?  You can define it to be whatever you want, since the val= ue will be ignored if you are using SDMA.

In EDK 10.1, the BSP generator will always generate all the defines (even o= nes which are not sensible in the current configuration), which avoids the = above annoyances.

Steve

-----Original Message-----
From: linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org on b= ehalf of Koss, Mike (Mission Systems)
Sent: Sat 3/15/2008 9:12 PM
To: Mohammad Sadegh Sadri; linuxppc-embedded@ozlabs.org
Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC=

That interrupt is defined if you build a xps_ll_temac with the
xps_ll_fifo interface. Since you already stated that you're using the
mpmc, I'm going to assume that you have it connected to a SDMA
controller on the mpmc. As such the driver should be looking for that
definition, and not the FIFO interrupt. I don't have your version of the virtex_devices.c to have a reference as to how the platform device is
being defined, so hopefully either Stephen N can chime in w/ more
information, or point me to the version of the virtex_devices.c that
you're using and I can try to provide some more assistance.

-- Mike

________________________________

From: Mohammad Sadegh Sadri [mailt= o:mamsadegh@hotmail.com]
Sent: Saturday, March 15, 2008 4:31 AM
To: linuxppc-embedded@ozlabs.org
Subject: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC


All,

that should be a small problem, and i think that its solution should be
simple,

I generate a base system using EDK 9.2.02 , the base system contains
XPS_LL_TEMAC , MPMC and other components,
I generate the software libraries and copy xparameters file into proper
kernel folder. I configure that kernel and add kernel support for
XPS_LL_TEMAC.

while doing make I encounter this error:

arch/ppc/syslib/virtex_devices.c:455: error:
'XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR' undeclared here (not in a
function)

I think that this definition should be available in xparameters_ml403.h
file but i see that there is no such definition.
I added a dummy definition for myself there to complete kernel
compilation, don't know the correct value for it of course.

thanks



________________________________

Access your files from anywhere with Windows Live SkyDrive! Sign up now
and get 5GB of space FREE! <http://g.msn.ca/ca55/209




Is your lingo strong enough to ace these new word = puzzles from Live Search Games? Click here to test your vocab! = --_382475b5-fb75-4b43-a89e-386cc88ffaa2_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outbound8-sin-R.bigfish.com (outbound-sin.frontbridge.com [207.46.51.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.bigfish.com", Issuer "*.bigfish.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id C255DDDE18 for ; Tue, 18 Mar 2008 02:25:04 +1100 (EST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C88842.F52FC976" Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Date: Mon, 17 Mar 2008 09:24:13 -0600 In-Reply-To: References: <20080316214832.3F77A538046@mail141-sin.bigfish.com> From: "Rick Moleres" To: "Mohammad Sadegh Sadri" , "Stephen Neuendorffer" , "Koss, Mike(Mission Systems)" , Message-Id: <20080317152417.2A63F51805C@mail63-sin.bigfish.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C88842.F52FC976 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable You should be able to contact your Xilinx sales rep for details on Virtex-5 FX as well as roadmap information. The Virtex-5 FXT product is coming soon and should be announced within the next month or so. I can't provide details, but your technical sales contact should be able to give you more info on timelines etc... =20 As for EDK releases, Xilinx typically releases two per year (e.g., EDK 9.1 and 9.2 were both released in 2007). EDK 10.1 is scheduled for release before summer, and should be the only release in 2008 (with some service packs throughout the year). There shouldn't be any major differences from EDK 9.2.02 regarding IP/drivers. =20 -Rick =20 ________________________________ From: linuxppc-embedded-bounces+moleres=3Dxilinx.com@ozlabs.org [mailto:linuxppc-embedded-bounces+moleres=3Dxilinx.com@ozlabs.org] On Behalf Of Mohammad Sadegh Sadri Sent: Monday, March 17, 2008 3:04 AM To: Stephen Neuendorffer; Koss, Mike(Mission Systems); linuxppc-embedded@ozlabs.org Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC =20 Ok, thanks for guidance, by the way it is interesting for me to hear about EDK 10.1 from u steve, EDK 9.2 has been around just for a little time and you are going to 10.1? What about future plan of xilinx about Virtex-5 FX? does this tool consider that?=20 the future plan is really important for our development team. let me give a simple example, our dev team worked on the design of our system based on PLB and OPB buses for some thing near 6 month, just then EDK 9.2.02 released and suddenly we forced to change all of the designs and to define new activities specially focusing on MPMC. we did never consider MPMC before, but the release of EDK 9.2 changed every thing.=20 Now, that would be nice, if we can know your future plan a little, that would help us to generate correct and real gant charts. and to assign human resources correctly. this is also true for the project budget. We know that Virtex-5 devices are really capable of doing better things than Virtex-4, specially the PCI express option is great and very usable for us, but we have not moved to virtex-5 yet, because there is no FX series or at least we do not know your plan about it. Our managers we seriously asking us if we have to move to Virtex-5 soon, we did not have any reasonable answer for them because we do not have any info from u at all. thanks ________________________________ Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Date: Sun, 16 Mar 2008 14:43:33 -0700 From: stephen.neuendorffer@xilinx.com To: mike.koss@ngc.com; mamsadegh@hotmail.com; linuxppc-embedded@ozlabs.org Ah, thanks mike... you knocked the answer loose out of my brain... In EDK 9.2., the ll_temac generates either SDMA or FIFO defines, as necessary. The platform data structure contains entries for both, with the correct ones being ignored. In order to get the code to compile, there are some defines in xparameters.h which have: #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR #define XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR 0xdeadbeef #endif #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR #define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR 0xdeadbeef #endif #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR #define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR 0xdeadbeef #endif after including xparameter_ml403.h I'm guessing maybe you overwrote the xparameters.h file and got rid of these redefines? You can define it to be whatever you want, since the value will be ignored if you are using SDMA. In EDK 10.1, the BSP generator will always generate all the defines (even ones which are not sensible in the current configuration), which avoids the above annoyances. Steve -----Original Message----- From: linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org = on behalf of Koss, Mike (Mission Systems) Sent: Sat 3/15/2008 9:12 PM To: Mohammad Sadegh Sadri; linuxppc-embedded@ozlabs.org Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC That interrupt is defined if you build a xps_ll_temac with the xps_ll_fifo interface. Since you already stated that you're using the mpmc, I'm going to assume that you have it connected to a SDMA controller on the mpmc. As such the driver should be looking for that definition, and not the FIFO interrupt. I don't have your version of the virtex_devices.c to have a reference as to how the platform device is being defined, so hopefully either Stephen N can chime in w/ more information, or point me to the version of the virtex_devices.c that you're using and I can try to provide some more assistance. -- Mike ________________________________ From: Mohammad Sadegh Sadri [mailto:mamsadegh@hotmail.com] Sent: Saturday, March 15, 2008 4:31 AM To: linuxppc-embedded@ozlabs.org Subject: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC All, that should be a small problem, and i think that its solution should be simple, I generate a base system using EDK 9.2.02 , the base system contains XPS_LL_TEMAC , MPMC and other components, I generate the software libraries and copy xparameters file into proper kernel folder. I configure that kernel and add kernel support for XPS_LL_TEMAC. while doing make I encounter this error: arch/ppc/syslib/virtex_devices.c:455: error: 'XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR' undeclared here (not in a function) I think that this definition should be available in xparameters_ml403.h file but i see that there is no such definition. I added a dummy definition for myself there to complete kernel compilation, don't know the correct value for it of course. thanks ________________________________ Access your files from anywhere with Windows Live SkyDrive! Sign up now and get 5GB of space FREE! =20 =20 ________________________________ Is your lingo strong enough to ace these new word puzzles from Live Search Games? Click here to test your vocab! =20 ------_=_NextPart_001_01C88842.F52FC976 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable RE: Compile time error, compiling Xilinx Linux 2.6 for XPS = LLTEMAC

You should be able to contact your = Xilinx sales rep for details on Virtex-5 FX as well as roadmap information. =  The Virtex-5 FXT product is coming soon and should be announced within the = next month or so.  I can’t provide details, but your technical = sales contact should be able to give you more info on timelines = etc…

 

As for EDK releases, Xilinx = typically releases two per year (e.g., EDK 9.1 and 9.2 were both released in = 2007).  EDK 10.1 is scheduled for release before summer, and should be the only = release in 2008 (with some service packs throughout the year).   There = shouldn’t be any major differences from EDK 9.2.02 regarding = IP/drivers.

 

-Rick

 


From: linuxppc-embedded-bounces+moleres=3Dxilinx.com@ozlabs.org [mailto:linuxppc-embedded-bounces+moleres=3Dxilinx.com@ozlabs.org] = On Behalf Of Mohammad Sadegh = Sadri
Sent: Monday, March 17, = 2008 3:04 AM
To: Stephen Neuendorffer; = Koss, Mike(Mission Systems); linuxppc-embedded@ozlabs.org
Subject: RE: Compile time = error, compiling Xilinx Linux 2.6 for XPS LLTEMAC

 

Ok, thanks for guidance,

by the way it is interesting for me to hear about EDK 10.1 from u steve, =
EDK 9.2 has been around just for a little time and you are going to = 10.1?

What about future plan of xilinx about Virtex-5 FX? does this tool = consider that?
the future plan is really important for our development team. let me = give a simple example, our dev team worked on the design of our system based on = PLB and OPB buses for some thing near 6 month, just then EDK 9.2.02 released = and suddenly we forced to change all of the designs and to define new = activities specially focusing on MPMC. we did never consider MPMC before, but the = release of EDK 9.2 changed every thing.

Now, that would be nice, if we can know your future plan a little, that = would help us to generate correct and real gant charts. and to assign human = resources correctly. this is also true for the project budget. We know that = Virtex-5 devices are really capable of doing better things than Virtex-4, = specially the PCI express option is great and very usable for us, but we have not = moved to virtex-5 yet, because there is no FX series or at least we do not know = your plan about it. Our managers we seriously asking us if we have to move to Virtex-5 soon, we did not have any reasonable answer for them because we = do not have any info from u at all.

thanks


Subject: RE: Compile time error, compiling Xilinx = Linux 2.6 for XPS LLTEMAC
Date: Sun, 16 Mar 2008 14:43:33 -0700
From: stephen.neuendorffer@xilinx.com
To: mike.koss@ngc.com; mamsadegh@hotmail.com; = linuxppc-embedded@ozlabs.org


Ah, thanks mike...  you knocked the answer loose out of my = brain...

In EDK 9.2., the ll_temac generates either SDMA or FIFO defines, as = necessary.
The platform data structure contains entries for both, with the correct = ones being ignored.  In order to get the code to compile, there are some = defines in xparameters.h which have:

#ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR
#define XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR 0xdeadbeef
#endif
#ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR
#define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR 0xdeadbeef
#endif
#ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR
#define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR 0xdeadbeef
#endif

after including xparameter_ml403.h

I'm guessing maybe you overwrote the xparameters.h file and got rid of = these redefines?  You can define it to be whatever you want, since the = value will be ignored if you are using SDMA.

In EDK 10.1, the BSP generator will always generate all the defines = (even ones which are not sensible in the current configuration), which avoids the = above annoyances.

Steve

-----Original Message-----
From: linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org = on behalf of Koss, Mike (Mission Systems)
Sent: Sat 3/15/2008 9:12 PM
To: Mohammad Sadegh Sadri; linuxppc-embedded@ozlabs.org
Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS = LLTEMAC

That interrupt is defined if you build a xps_ll_temac with the
xps_ll_fifo interface. Since you already stated that you're using = the
mpmc, I'm going to assume that you have it connected to a SDMA
controller on the mpmc. As such the driver should be looking for = that
definition, and not the FIFO interrupt. I don't have your version of = the
virtex_devices.c to have a reference as to how the platform device = is
being defined, so hopefully either Stephen N can chime in w/ more
information, or point me to the version of the virtex_devices.c that
you're using and I can try to provide some more assistance.

-- Mike

________________________________

From: Mohammad Sadegh Sadri [mailto:mamsadegh@hotmail.com] Sent: Saturday, March 15, 2008 4:31 AM
To: linuxppc-embedded@ozlabs.org
Subject: Compile time error, compiling Xilinx Linux 2.6 for XPS = LLTEMAC


All,

that should be a small problem, and i think that its solution should = be
simple,

I generate a base system using EDK 9.2.02 , the base system contains
XPS_LL_TEMAC , MPMC and other components,
I generate the software libraries and copy xparameters file into = proper
kernel folder. I configure that kernel and add kernel support for
XPS_LL_TEMAC.

while doing make I encounter this error:

arch/ppc/syslib/virtex_devices.c:455: error:
'XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR' undeclared here (not in a
function)

I think that this definition should be available in = xparameters_ml403.h
file but i see that there is no such definition.
I added a dummy definition for myself there to complete kernel
compilation, don't know the correct value for it of course.

thanks



________________________________

Access your files from anywhere with Windows Live SkyDrive! Sign up = now
and get 5GB of space FREE! <http://g.msn.ca/ca55/209

 


Is your lingo strong = enough to ace these new word puzzles from Live Search Games? Click here to test = your vocab!

------_=_NextPart_001_01C88842.F52FC976-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outbound6-dub-R.bigfish.com (outbound-dub.frontbridge.com [213.199.154.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.bigfish.com", Issuer "*.bigfish.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id C73ACDDF5B for ; Tue, 18 Mar 2008 02:51:59 +1100 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Date: Mon, 17 Mar 2008 08:49:54 -0700 In-Reply-To: References: <20080316214832.3F77A538046@mail141-sin.bigfish.com> From: "Stephen Neuendorffer" To: "Mohammad Sadegh Sadri" , "Koss, Mike (Mission Systems)" , Message-Id: <20080317154957.9DA1DC98084@mail21-dub.bigfish.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sorry, but I'm not in a position to discuss product roadmaps. The kinds of technical questions are best handled by regular sales channels. Steve > -----Original Message----- > From: Mohammad Sadegh Sadri [mailto:mamsadegh@hotmail.com] > Sent: Monday, March 17, 2008 2:04 AM > To: Stephen Neuendorffer; Koss, Mike (Mission Systems); linuxppc-embedded@ozlabs.org > Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC >=20 > Ok, thanks for guidance, >=20 > by the way it is interesting for me to hear about EDK 10.1 from u steve, > EDK 9.2 has been around just for a little time and you are going to 10.1? >=20 > What about future plan of xilinx about Virtex-5 FX? does this tool consider that? > the future plan is really important for our development team. let me give a simple example, our dev > team worked on the design of our system based on PLB and OPB buses for some thing near 6 month, just > then EDK 9.2.02 released and suddenly we forced to change all of the designs and to define new > activities specially focusing on MPMC. we did never consider MPMC before, but the release of EDK 9.2 > changed every thing. >=20 > Now, that would be nice, if we can know your future plan a little, that would help us to generate > correct and real gant charts. and to assign human resources correctly. this is also true for the > project budget. We know that Virtex-5 devices are really capable of doing better things than Virtex- > 4, specially the PCI express option is great and very usable for us, but we have not moved to virtex- > 5 yet, because there is no FX series or at least we do not know your plan about it. Our managers we > seriously asking us if we have to move to Virtex-5 soon, we did not have any reasonable answer for > them because we do not have any info from u at all. >=20 > thanks >=20 >=20 >=20 > ________________________________ >=20 > Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC > Date: Sun, 16 Mar 2008 14:43:33 -0700 > From: stephen.neuendorffer@xilinx.com > To: mike.koss@ngc.com; mamsadegh@hotmail.com; linuxppc-embedded@ozlabs.org >=20 >=20 >=20 > Ah, thanks mike... you knocked the answer loose out of my brain... >=20 > In EDK 9.2., the ll_temac generates either SDMA or FIFO defines, as necessary. > The platform data structure contains entries for both, with the correct ones being ignored. In > order to get the code to compile, there are some defines in xparameters.h which have: >=20 > #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR > #define XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR 0xdeadbeef > #endif > #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR > #define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMATX_INTR 0xdeadbeef > #endif > #ifndef XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR > #define XPAR_LLTEMAC_0_LLINK_CONNECTED_DMARX_INTR 0xdeadbeef > #endif >=20 > after including xparameter_ml403.h >=20 > I'm guessing maybe you overwrote the xparameters.h file and got rid of these redefines? You > can define it to be whatever you want, since the value will be ignored if you are using SDMA. >=20 > In EDK 10.1, the BSP generator will always generate all the defines (even ones which are not > sensible in the current configuration), which avoids the above annoyances. >=20 > Steve >=20 > -----Original Message----- > From: linuxppc-embedded-bounces+stephen=3Dneuendorffer.name@ozlabs.org on = behalf of Koss, Mike > (Mission Systems) > Sent: Sat 3/15/2008 9:12 PM > To: Mohammad Sadegh Sadri; linuxppc-embedded@ozlabs.org > Subject: RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC >=20 > That interrupt is defined if you build a xps_ll_temac with the > xps_ll_fifo interface. Since you already stated that you're using the > mpmc, I'm going to assume that you have it connected to a SDMA > controller on the mpmc. As such the driver should be looking for that > definition, and not the FIFO interrupt. I don't have your version of the > virtex_devices.c to have a reference as to how the platform device is > being defined, so hopefully either Stephen N can chime in w/ more > information, or point me to the version of the virtex_devices.c that > you're using and I can try to provide some more assistance. >=20 > -- Mike >=20 > ________________________________ >=20 > From: Mohammad Sadegh Sadri [mailto:mamsadegh@hotmail.com] > Sent: Saturday, March 15, 2008 4:31 AM > To: linuxppc-embedded@ozlabs.org > Subject: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC >=20 >=20 > All, >=20 > that should be a small problem, and i think that its solution should be > simple, >=20 > I generate a base system using EDK 9.2.02 , the base system contains > XPS_LL_TEMAC , MPMC and other components, > I generate the software libraries and copy xparameters file into proper > kernel folder. I configure that kernel and add kernel support for > XPS_LL_TEMAC. >=20 > while doing make I encounter this error: >=20 > arch/ppc/syslib/virtex_devices.c:455: error: > 'XPAR_LLTEMAC_0_LLINK_CONNECTED_FIFO_INTR' undeclared here (not in a > function) >=20 > I think that this definition should be available in xparameters_ml403.h > file but i see that there is no such definition. > I added a dummy definition for myself there to complete kernel > compilation, don't know the correct value for it of course. >=20 > thanks >=20 >=20 >=20 > ________________________________ >=20 > Access your files from anywhere with Windows Live SkyDrive! Sign up now > and get 5GB of space FREE! >=20 >=20 >=20 >=20 >=20 > ________________________________ >=20 > Is your lingo strong enough to ace these new word puzzles from Live Search Games? Click here to test > your vocab! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by ozlabs.org (Postfix) with ESMTP id CCA3EDDE17 for ; Thu, 24 Jul 2008 19:19:50 +1000 (EST) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KLwzC-0000M7-Jo for linuxppc-embedded@ozlabs.org; Thu, 24 Jul 2008 02:19:46 -0700 Message-ID: <18628194.post@talk.nabble.com> Date: Thu, 24 Jul 2008 02:19:46 -0700 (PDT) From: Mirek23 To: linuxppc-embedded@ozlabs.org Subject: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem In-Reply-To: <20080316214832.3F77A538046@mail141-sin.bigfish.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii References: <20080316214832.3F77A538046@mail141-sin.bigfish.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Dear All, I have done a design using EDK 8.2 using Hard_Temac IP component. In the EDK 9.2 there is a new idea to use ll_temac in conjunction with ll_fifo or ll_dma. So far I was using happily the linux kernel by Grant Likey. Unfortunately it does not deal with ll_temac. I have download the kernel from git.xilinx.com. I have tried to build the kernel 2.6.26 (by xilinx) but it seems to be that it is not well prepared for ll_fifo. I have noticed that in drivers/xilinx_common there are files related to ll_fifo but in the drivers/Makefile there is no rule to build ll_fifo. The same refers to the file arch/ppc/syslib/virtex_devices.c -> there are no entries for LL_FIFO. I have the impression that one can use only LL_DMA but not LL_FIFO. Does anybody has modified the kernel to deal with LL_TEMAC together with LL_FIFO? I will be grateful for any hint. Best Regards Mirek -- View this message in context: http://www.nabble.com/Compile-time-error%2C-compiling-Xilinx-Linux-2.6-for-XPS-LLTEMAC-tp16065692p18628194.html Sent from the linuxppc-embedded mailing list archive at Nabble.com. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xmrm0101.northgrum.com (xmrm0101.northgrum.com [155.104.240.104]) by ozlabs.org (Postfix) with ESMTP id 27A35DE064 for ; Thu, 24 Jul 2008 22:55:51 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem Date: Thu, 24 Jul 2008 07:55:44 -0500 Message-ID: In-Reply-To: <18628194.post@talk.nabble.com> References: <20080316214832.3F77A538046@mail141-sin.bigfish.com> <18628194.post@talk.nabble.com> From: "Koss, Mike (Mission Systems)" To: "Mirek23" , List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mirek, I'm currently using the driver (CONFIG_XILINX_LLTEMAC) with the DMA portion with no problem, which is what you kind of eluded to. From what I've seen, the drver source does support the FIFO portion. It just relies on having the proper definition for the TEMAC in either the DTS or the xparameters. I'm currently using the 2.6.26-rc8 kernel (HEAD?) from git.xilinx.com as well, and mine builds with no problem for arch/ppc. Yes, I still have not moved to arch/powerpc. I will be moving to the new arch in the very near future. (My current test system is actually a mish-mash of 2.6.22 w/ the driver from xilinx-2.6.26 tree).=20 Are you using arch/powerpc or arch/ppc? Are you generating your DTS from your MHS file using the bsp generator for EDK on git.xilinx.com? Is this for one of the reference boards (ML403, ML405, etc)? What is the problem that you're having with the build of the kernel? -- Mike -----Original Message----- From: Mirek23 [mailto:miroslaw.dach@psi.ch]=20 Sent: Thursday, July 24, 2008 5:20 AM To: linuxppc-embedded@ozlabs.org Subject: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem Dear All, I have done a design using EDK 8.2 using Hard_Temac IP component. In the EDK 9.2 there is a new idea to use ll_temac in conjunction with ll_fifo or ll_dma. So far I was using happily the linux kernel by Grant Likey. Unfortunately it does not deal with ll_temac. I have download the kernel from git.xilinx.com. I have tried to build the kernel 2.6.26 (by xilinx) but it seems to be that it is not well prepared for ll_fifo. I have noticed that in drivers/xilinx_common there are files related to ll_fifo but in the drivers/Makefile there is no rule to build ll_fifo. The same refers to the file arch/ppc/syslib/virtex_devices.c -> there are no entries for LL_FIFO. I have the impression that one can use only LL_DMA but not LL_FIFO. Does anybody has modified the kernel to deal with LL_TEMAC together with LL_FIFO? I will be grateful for any hint. Best Regards Mirek -- View this message in context: http://www.nabble.com/Compile-time-error%2C-compiling-Xilinx-Linux-2.6-f or-XPS-LLTEMAC-tp16065692p18628194.html Sent from the linuxppc-embedded mailing list archive at Nabble.com. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from IE1EHSOBE005.bigfish.com (outbound-dub.frontbridge.com [213.199.154.16]) by ozlabs.org (Postfix) with ESMTP id 86574DDF07 for ; Thu, 24 Jul 2008 23:25:04 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: RE: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem Date: Thu, 24 Jul 2008 07:24:49 -0600 In-Reply-To: References: <20080316214832.3F77A538046@mail141-sin.bigfish.com><18628194.post@talk.nabble.com> From: John Linn To: "Koss, Mike (Mission Systems)" , "Mirek23" , Message-ID: <20080724132453.C8F1010F0077@mail56-dub.bigfish.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Mirek, We are not currently testing the LL TEMAC driver with the LL FIFO. We only test with the DMA configuration. I also realize this may not be documented that well and we may need to work on that. Our reasoning is that in the Virtex5 FXT devices the DMA is hard so that it does not cost any more LUTs to use the DMA and most people want the performance. = Is there a specific reason you're wanting to use the LL FIFO rather than DMA as this information might help us in the future? We would welcome any patches to the driver if LL FIFO is a needed feature. Patches can be sent to git@xilinx.com. Thanks, John > -----Original Message----- > From: linuxppc-embedded-bounces+john.linn=3Dxilinx.com@ozlabs.org [mailto:linuxppc-embedded- > bounces+john.linn=3Dxilinx.com@ozlabs.org] On Behalf Of Koss, Mike (Mission Systems) > Sent: Thursday, July 24, 2008 6:56 AM > To: Mirek23; linuxppc-embedded@ozlabs.org > Subject: RE: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem > = > Mirek, > = > I'm currently using the driver (CONFIG_XILINX_LLTEMAC) with the DMA > portion with no problem, which is what you kind of eluded to. From what > I've seen, the drver source does support the FIFO portion. It just > relies on having the proper definition for the TEMAC in either the DTS > or the xparameters. > = > I'm currently using the 2.6.26-rc8 kernel (HEAD?) from git.xilinx.com as > well, and mine builds with no problem for arch/ppc. Yes, I still have > not moved to arch/powerpc. I will be moving to the new arch in the very > near future. (My current test system is actually a mish-mash of 2.6.22 > w/ the driver from xilinx-2.6.26 tree). > = > Are you using arch/powerpc or arch/ppc? Are you generating your DTS from > your MHS file using the bsp generator for EDK on git.xilinx.com? Is this > for one of the reference boards (ML403, ML405, etc)? What is the problem > that you're having with the build of the kernel? > = > -- Mike > = > -----Original Message----- > From: Mirek23 [mailto:miroslaw.dach@psi.ch] > Sent: Thursday, July 24, 2008 5:20 AM > To: linuxppc-embedded@ozlabs.org > Subject: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem > = > = > Dear All, > = > I have done a design using EDK 8.2 using Hard_Temac IP component. In the > EDK > 9.2 there is a new idea to use ll_temac in conjunction with ll_fifo or > ll_dma. So far I was using happily the linux kernel by Grant Likey. > Unfortunately it does not deal with ll_temac. I have download the kernel > from git.xilinx.com. > = > I have tried to build the kernel 2.6.26 (by xilinx) but it seems to be > that it is not well prepared for ll_fifo. > I have noticed that in drivers/xilinx_common there are files related to > ll_fifo but in the drivers/Makefile there is no rule to build ll_fifo. > The same refers to the file arch/ppc/syslib/virtex_devices.c -> there > are no entries for LL_FIFO. I have the impression that one can use only > LL_DMA but not LL_FIFO. > = > Does anybody has modified the kernel to deal with LL_TEMAC together with > LL_FIFO? > I will be grateful for any hint. > = > Best Regards > = > Mirek > -- > View this message in context: > http://www.nabble.com/Compile-time-error%2C-compiling-Xilinx-Linux-2.6-f > or-XPS-LLTEMAC-tp16065692p18628194.html > Sent from the linuxppc-embedded mailing list archive at Nabble.com. > = > = > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by ozlabs.org (Postfix) with ESMTP id 0CA25DE170 for ; Fri, 25 Jul 2008 21:22:18 +1000 (EST) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KMLNH-0004Re-2J for linuxppc-embedded@ozlabs.org; Fri, 25 Jul 2008 04:22:15 -0700 Message-ID: <18649823.post@talk.nabble.com> Date: Fri, 25 Jul 2008 04:22:15 -0700 (PDT) From: Mirek23 To: linuxppc-embedded@ozlabs.org Subject: RE: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem In-Reply-To: <20080724132453.C8F1010F0077@mail56-dub.bigfish.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii References: <20080316214832.3F77A538046@mail141-sin.bigfish.com> <18628194.post@talk.nabble.com> <20080724132453.C8F1010F0077@mail56-dub.bigfish.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi John and Mike, Thank you for your reply. We have modified out FPGA design and now we have LL_TEMAC with LL_DMA component connected instead of the LL_FIFO. Before building linux kernel we have tried to build the u-boot (downloaded from the xilinx-git tree). It was relatively easy to build u-boot which has the ll_temac with ll_dma support. next we have tried to run u-boot on our ppc (virtex-4 FX12). All went fine till the moment to establish the communication with the network. I put some debug messages to the xilinx ll_dma and ll_temac drivers and we have found that u-boot hangs during dma initialisation: more specifically in the function calls : XLlDma_Initialize(XLlDma * InstancePtr, u32 BaseAddress) XLlDma_Reset(XLlDma * InstancePtr) XLlDma_mBdRingSnapShotCurrBd(TxRingPtr); Do you have any idea what could be wrong with dma initialization? Best Regards Mirek -- View this message in context: http://www.nabble.com/Compile-time-error%2C-compiling-Xilinx-Linux-2.6-for-XPS-LLTEMAC-tp16065692p18649823.html Sent from the linuxppc-embedded mailing list archive at Nabble.com. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from IE1EHSOBE002.bigfish.com (outbound-dub.frontbridge.com [213.199.154.16]) by ozlabs.org (Postfix) with ESMTP id 9BA3EDDF0A for ; Sat, 26 Jul 2008 07:55:06 +1000 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: RE: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem Date: Fri, 25 Jul 2008 15:54:53 -0600 In-Reply-To: <18649823.post@talk.nabble.com> References: <20080316214832.3F77A538046@mail141-sin.bigfish.com><18628194.post@talk.nabble.com><20080724132453.C8F1010F0077@mail56-dub.bigfish.com> <18649823.post@talk.nabble.com> From: John Linn To: "Mirek23" , Message-ID: <20080725215457.DE78A1228063@mail132-dub.bigfish.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , {resend as I forgot to send to the mailing list) Hi Mirek, Since this is a u-boot issue, we can move this conversation off this list. The u-boot that is in the git repository has not been tested on the Virtex4 platform. I have only tested on the ML507, Virtex 5 platform. There's not a ML403/ML405 board supported in our git tree, so I'm curious what you did to try to build it for V4. There are differences between V4 and V5 with the DMA as it's hard in V5 and hangs off the DCR bus of the processor. The kernel itself is running on both the ML405 and the ML507, but not yet with u-boot. Thanks, John > -----Original Message----- > From: linuxppc-embedded-bounces+john.linn=3Dxilinx.com@ozlabs.org [mailto:linuxppc-embedded- > bounces+john.linn=3Dxilinx.com@ozlabs.org] On Behalf Of Mirek23 > Sent: Friday, July 25, 2008 5:22 AM > To: linuxppc-embedded@ozlabs.org > Subject: RE: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem > = > = > Hi John and Mike, > = > Thank you for your reply. We have modified out FPGA design and now we have > LL_TEMAC with LL_DMA component connected instead of the LL_FIFO. Before > building linux kernel we have tried to build the u-boot (downloaded from the > xilinx-git tree). > = > It was relatively easy to build u-boot which has the ll_temac with ll_dma > support. > = > next we have tried to run u-boot on our ppc (virtex-4 FX12). All went fine > till the moment to establish the communication with the network. > = > I put some debug messages to the xilinx ll_dma and ll_temac drivers and we > have found that u-boot hangs > during dma initialisation: > = > more specifically in the function calls : > XLlDma_Initialize(XLlDma * InstancePtr, u32 BaseAddress) > XLlDma_Reset(XLlDma * InstancePtr) > XLlDma_mBdRingSnapShotCurrBd(TxRingPtr); > = > Do you have any idea what could be wrong with dma initialization? > = > Best Regards > = > Mirek > = > = > = > -- > View this message in context: http://www.nabble.com/Compile-time-error%2C-compiling-Xilinx-Linux-2.6- > for-XPS-LLTEMAC-tp16065692p18649823.html > Sent from the linuxppc-embedded mailing list archive at Nabble.com. > = > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately.