Re: Some questions about the Xilinx Temac driver.

Started by Michael Galassi on Nov 29, 2006 · 5 messages from 4 authors · Last reply Dec 1, 2006

open the first message on its own page

If you use the latest xilinx ISE/EDK/IP update and let it overlay your
mvl source tree with it's files it shouldn't take you more than a few
hours to patch things up to where you can compile a kernel which will
work on the 3.00b IP.  The PHY support is useless but you can work
around that easily enough.  I've not tried to get any of that working
with a semi-current kernel so if you're not using mvl's flavor of 2.6.10
you may run into other issues.

-michael
Dear Andrei,
I have some questions about your xilinx Temac driver. If possible, please 
give me a hand on such confusing problems. 

1. I am using the driver from 
http://source.mvista.com/~ank/paulus-powerpc/20060309/, and the IP cores of 
plb_temac and hard_temac whose hardware versions are 2.00a and 1.00a 
specifically. I know the newest versions of those hardwares are 3.00a and 
3.00a. Is your driver support the 3.00a version hardware? Also, is the 
driver from http://source.mvista.com/~ank/paulus-powerpc/20060309/ the 
latest one for Xilinx Temac? If you have some updated version, please tell 
me the address. 

2. Is that driver from the above address able to support SGDMA? In fact, I 
am testing the throughput of the Temac enet by my own little program which 
is very simple. In the program running on the board, the pseudo code looks 
just like this:
    for(;;){
          select();
          if(FD_ISSET()){
                recvfrom();
          }
          
          sendto();
    }

The program is just to receive packets from a pc and then transfer them 
back. But in this condition, the embedded PowerPC CPU is easily used by 
100&. So I suspect that maybe the DMA is not running properly. Could you 
please say something about the DMA in your driver? 

Thanks a lot for your telling.

Regards
Ming

_________________________________________________________________
�������� MSN Explorer:   http://explorer.msn.com/lccn/  

11 more quoted lines

Dear Michael,
Now I update my Xilinx design software from 8.1 to 8.2 and notice that there is already linux_2_6 support. Then I generated the BSP for linux 2.6. I found that there are some differences from the older version, e.g. there are some files such as XMakefile, xps_connected.cud, etc. I am confused with this. So could you please give me a hand on how to use such a generated BSP to build my linux 2.6 kernel? I cannot find any guidance on how to do that. Thanks for your help.

BR
Ming

From: Michael Galassi <redacted>
Reply-To: Michael Galassi [off-list ref]
To: "Ming Liu" <redacted>
CC: <redacted>, <redacted>
Subject: Re: Some questions about the Xilinx Temac driver. Date: Wed, 29 Nov 2006 08:38:37 -0800

If you use the latest xilinx ISE/EDK/IP update and let it overlay your
mvl source tree with it's files it shouldn't take you more than a few
hours to patch things up to where you can compile a kernel which will
work on the 3.00b IP.  The PHY support is useless but you can work
around that easily enough.  I've not tried to get any of that working
with a semi-current kernel so if you're not using mvl's flavor of 2.6.10
you may run into other issues.

-michael
quoted
Dear Andrei,
I have some questions about your xilinx Temac driver. If possible, please
give me a hand on such confusing problems.

1. I am using the driver from
http://source.mvista.com/~ank/paulus-powerpc/20060309/, and the IP cores of
plb_temac and hard_temac whose hardware versions are 2.00a and 1.00a
specifically. I know the newest versions of those hardwares are 3.00a and
3.00a. Is your driver support the 3.00a version hardware? Also, is the
driver from http://source.mvista.com/~ank/paulus-powerpc/20060309/ the
latest one for Xilinx Temac? If you have some updated version, please tell
me the address.

2. Is that driver from the above address able to support SGDMA? In fact, I
am testing the throughput of the Temac enet by my own little program which
is very simple. In the program running on the board, the pseudo code looks
just like this:
    for(;;){
          select();
          if(FD_ISSET()){
                recvfrom();
          }

          sendto();

27 more quoted lines

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn 
Hi Ming

You will find informations to build linux 2.6 BSP in the file
EDK_8.2\sw\ThirdParty\bsp\linux_2_6_v1_00_a\doc\linux_2_6_v1_00_a.pdf=20

This file is installed with plateform Studio

Regards

Chris

CRESITT INDUSTRIE
12 Rue de Blois, BP6744
45067 ORLEANS Cedex 2
Tel : 02.38.49.45.59
Fax :02.38.49.45.55
Email : christophe.alayrac@cresitt.com=20
Web : http://www.cresitt.com


<----> -----Message d'origine-----
<----> De : linuxppc-embedded-
<----> bounces+christophe.alayrac=3Dcresitt.com@ozlabs.org =
[mailto:linuxppc-
<----> embedded-bounces+christophe.alayrac=3Dcresitt.com@ozlabs.org] De =
la
<----> part de Ming Liu
<----> Envoy=C3=A9 : jeudi 30 novembre 2006 17:37
<----> =C3=80 : mgalassi@c-cor.com
<----> Cc : linuxppc-embedded@ozlabs.org
<----> Objet : Re: Some questions about the Xilinx Temac driver.
<---->=20
<----> Dear Michael,
<----> Now I update my Xilinx design software from 8.1 to 8.2 and notice
<----> that
<----> there is already linux_2_6 support. Then I generated the BSP for
<----> linux 2.6.
<----> I found that there are some differences from the older version, =
e.g.
<----> there

103 more lines

_________________________________________________________________
<----> > >=E5=85=8D=E8=B4=B9=E4=B8=8B=E8=BD=BD MSN Explorer:   =
http://explorer.msn.com/lccn/
<----> > >
<----> > >
<----> > =
--=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D1695844909=3D=3D
<----> > >Content-Type: text/plain; charset=3D"us-ascii"
<----> > >MIME-Version: 1.0
<----> > >Content-Transfer-Encoding: 7bit
<----> > >Content-Disposition: inline
<----> > >
<----> > >_______________________________________________
<----> > >Linuxppc-embedded mailing list
<----> > >Linuxppc-embedded@ozlabs.org
<----> > >https://ozlabs.org/mailman/listinfo/linuxppc-embedded
<----> > =
--=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D1695844909=3D=3D--
<---->=20
<----> _________________________________________________________________
<----> =
=E4=B8=8E=E8=81=94=E6=9C=BA=E7=9A=84=E6=9C=8B=E5=8F=8B=E8=BF=9B=E8=A1=8C=E4=
=BA=A4=E6=B5=81=EF=BC=8C=E8=AF=B7=E4=BD=BF=E7=94=A8 MSN Messenger:  =
http://messenger.msn.com/cn
Hi Ming,
   
  See previous postings from Robert Corley. 
   
  Pradeep

alayrac [off-list ref] wrote:
  Hi Ming

You will find informations to build linux 2.6 BSP in the file
EDK_8.2\sw\ThirdParty\bsp\linux_2_6_v1_00_a\doc\linux_2_6_v1_00_a.pdf 

This file is installed with plateform Studio

Regards

Chris

CRESITT INDUSTRIE
12 Rue de Blois, BP6744
45067 ORLEANS Cedex 2
Tel : 02.38.49.45.59
Fax :02.38.49.45.55
Email : christophe.alayrac@cresitt.com 
Web : http://www.cresitt.com


<----> -----Message d'origine-----
<----> De : linuxppc-embedded-
<----> bounces+christophe.alayrac=cresitt.com@ozlabs.org [mailto:linuxppc-
<----> embedded-bounces+christophe.alayrac=cresitt.com@ozlabs.org] De la
<----> part de Ming Liu
<----> Envoyé : jeudi 30 novembre 2006 17:37
<----> À : mgalassi@c-cor.com
<----> Cc : linuxppc-embedded@ozlabs.org
<----> Objet : Re: Some questions about the Xilinx Temac driver.
<----> 
<----> Dear Michael,
<----> Now I update my Xilinx design software from 8.1 to 8.2 and notice
<----> that

117 more lines

Dear Chris,
Thanks for your telling. I have seen that guidance. But I think that is specific for the MontaVista linux. In that guidance, it just says to copy the generated directories and files into the kernel tree and then configure and make zImage. However it doesn't work for my 2.6.16 kernel.

Any other idea on how to implement such an EDK-generated BSP in the kernel like mine? Thanks for any suggestion.

BR
Ming

From: "alayrac" <redacted>
To: "'Ming Liu'" <redacted>,<redacted>
CC: <redacted>
Subject: RE : Some questions about the Xilinx Temac driver.
Date: Thu, 30 Nov 2006 18:14:43 +0100

Hi Ming

You will find informations to build linux 2.6 BSP in the file
EDK_8.2\sw\ThirdParty\bsp\linux_2_6_v1_00_a\doc\linux_2_6_v1_00_a.pdf

This file is installed with plateform Studio

Regards

Chris

CRESITT INDUSTRIE
12 Rue de Blois, BP6744
45067 ORLEANS Cedex 2
Tel : 02.38.49.45.59
Fax :02.38.49.45.55
Email : christophe.alayrac@cresitt.com
Web : http://www.cresitt.com


<----> -----Message d'origine-----
<----> De : linuxppc-embedded-
<----> bounces+christophe.alayrac=cresitt.com@ozlabs.org [mailto:linuxppc-
<----> embedded-bounces+christophe.alayrac=cresitt.com@ozlabs.org] De la
<----> part de Ming Liu
<----> Envoy茅 : jeudi 30 novembre 2006 17:37
<----> �� : mgalassi@c-cor.com
<----> Cc : linuxppc-embedded@ozlabs.org
<----> Objet : Re: Some questions about the Xilinx Temac driver.
<---->
<----> Dear Michael,
<----> Now I update my Xilinx design software from 8.1 to 8.2 and notice
<----> that
<----> there is already linux_2_6 support. Then I generated the BSP for

111 more quoted lines

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help