* Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC
@ 2008-03-15 8:30 Mohammad Sadegh Sadri
2008-03-16 4:12 ` Koss, Mike (Mission Systems)
0 siblings, 1 reply; 11+ messages in thread
From: Mohammad Sadegh Sadri @ 2008-03-15 8:30 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 965 bytes --]
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
_________________________________________________________________
Create a handy button so your friends can add U to their buddy list. Try it now!
http://g.msn.ca/ca55/211
[-- Attachment #2: Type: text/html, Size: 1176 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC
2008-03-15 8:30 Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Mohammad Sadegh Sadri
@ 2008-03-16 4:12 ` Koss, Mike (Mission Systems)
2008-03-16 21:43 ` Stephen Neuendorffer
0 siblings, 1 reply; 11+ messages in thread
From: Koss, Mike (Mission Systems) @ 2008-03-16 4:12 UTC (permalink / raw)
To: Mohammad Sadegh Sadri, linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1841 bytes --]
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>
[-- Attachment #2: Type: text/html, Size: 2792 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC
2008-03-16 4:12 ` Koss, Mike (Mission Systems)
@ 2008-03-16 21:43 ` Stephen Neuendorffer
2008-03-17 9:03 ` Mohammad Sadegh Sadri
2008-07-24 9:19 ` Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem Mirek23
0 siblings, 2 replies; 11+ messages in thread
From: Stephen Neuendorffer @ 2008-03-16 21:43 UTC (permalink / raw)
To: Koss, Mike (Mission Systems), Mohammad Sadegh Sadri,
linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 3259 bytes --]
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=neuendorffer.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>
[-- Attachment #2: Type: text/html, Size: 4094 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC
2008-03-16 21:43 ` Stephen Neuendorffer
@ 2008-03-17 9:03 ` Mohammad Sadegh Sadri
2008-03-17 15:24 ` Rick Moleres
2008-03-17 15:49 ` Stephen Neuendorffer
2008-07-24 9:19 ` Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem Mirek23
1 sibling, 2 replies; 11+ messages in thread
From: Mohammad Sadegh Sadri @ 2008-03-17 9:03 UTC (permalink / raw)
To: Stephen Neuendorffer, Koss, Mike (Mission Systems),
linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 5247 bytes --]
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
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=neuendorffer.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>
_________________________________________________________________
Like solving puzzles? Then you'll love Flexicon! Play now!
http://g.msn.ca/ca55/213
[-- Attachment #2: Type: text/html, Size: 5973 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC
2008-03-17 9:03 ` Mohammad Sadegh Sadri
@ 2008-03-17 15:24 ` Rick Moleres
2008-03-17 15:49 ` Stephen Neuendorffer
1 sibling, 0 replies; 11+ messages in thread
From: Rick Moleres @ 2008-03-17 15:24 UTC (permalink / raw)
To: Mohammad Sadegh Sadri, Stephen Neuendorffer,
Koss, Mike(Mission Systems), linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 6184 bytes --]
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=xilinx.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+moleres=xilinx.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=neuendorffer.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! <http://g.msn.ca/ca55/214>
[-- Attachment #2: Type: text/html, Size: 11202 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC
2008-03-17 9:03 ` Mohammad Sadegh Sadri
2008-03-17 15:24 ` Rick Moleres
@ 2008-03-17 15:49 ` Stephen Neuendorffer
1 sibling, 0 replies; 11+ messages in thread
From: Stephen Neuendorffer @ 2008-03-17 15:49 UTC (permalink / raw)
To: Mohammad Sadegh Sadri, Koss, Mike (Mission Systems),
linuxppc-embedded
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! <http://g.msn.ca/ca55/209>
>=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! <http://g.msn.ca/ca55/214>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem
2008-03-16 21:43 ` Stephen Neuendorffer
2008-03-17 9:03 ` Mohammad Sadegh Sadri
@ 2008-07-24 9:19 ` Mirek23
2008-07-24 12:55 ` Koss, Mike (Mission Systems)
1 sibling, 1 reply; 11+ messages in thread
From: Mirek23 @ 2008-07-24 9:19 UTC (permalink / raw)
To: linuxppc-embedded
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem
2008-07-24 9:19 ` Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem Mirek23
@ 2008-07-24 12:55 ` Koss, Mike (Mission Systems)
2008-07-24 13:24 ` John Linn
0 siblings, 1 reply; 11+ messages in thread
From: Koss, Mike (Mission Systems) @ 2008-07-24 12:55 UTC (permalink / raw)
To: Mirek23, linuxppc-embedded
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem
2008-07-24 12:55 ` Koss, Mike (Mission Systems)
@ 2008-07-24 13:24 ` John Linn
2008-07-25 11:22 ` Mirek23
0 siblings, 1 reply; 11+ messages in thread
From: John Linn @ 2008-07-24 13:24 UTC (permalink / raw)
To: Koss, Mike (Mission Systems), Mirek23, linuxppc-embedded
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem
2008-07-24 13:24 ` John Linn
@ 2008-07-25 11:22 ` Mirek23
2008-07-25 21:54 ` John Linn
0 siblings, 1 reply; 11+ messages in thread
From: Mirek23 @ 2008-07-25 11:22 UTC (permalink / raw)
To: linuxppc-embedded
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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem
2008-07-25 11:22 ` Mirek23
@ 2008-07-25 21:54 ` John Linn
0 siblings, 0 replies; 11+ messages in thread
From: John Linn @ 2008-07-25 21:54 UTC (permalink / raw)
To: Mirek23, linuxppc-embedded
{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.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2008-07-25 21:55 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-15 8:30 Compile time error, compiling Xilinx Linux 2.6 for XPS LLTEMAC Mohammad Sadegh Sadri
2008-03-16 4:12 ` Koss, Mike (Mission Systems)
2008-03-16 21:43 ` Stephen Neuendorffer
2008-03-17 9:03 ` Mohammad Sadegh Sadri
2008-03-17 15:24 ` Rick Moleres
2008-03-17 15:49 ` Stephen Neuendorffer
2008-07-24 9:19 ` Xilinx Linux 2.6 for XPS LL_TEMAC and LL_FIFO problem Mirek23
2008-07-24 12:55 ` Koss, Mike (Mission Systems)
2008-07-24 13:24 ` John Linn
2008-07-25 11:22 ` Mirek23
2008-07-25 21:54 ` John Linn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).