Some questions about the Xilinx Temac driver.

Ming Liu eemingliu at hotmail.com
Sat Dec 2 01:20:56 EST 2006


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" <christophe.alayrac at cresitt.com>
>To: "'Ming Liu'" <eemingliu at hotmail.com>,<mgalassi at c-cor.com>
>CC: <linuxppc-embedded at ozlabs.org>
>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 at cresitt.com
>Web : http://www.cresitt.com
>
>
><----> -----Message d'origine-----
><----> De : linuxppc-embedded-
><----> bounces+christophe.alayrac=cresitt.com at ozlabs.org [mailto:linuxppc-
><----> embedded-bounces+christophe.alayrac=cresitt.com at ozlabs.org] De la
><----> part de Ming Liu
><----> Envoyé : jeudi 30 novembre 2006 17:37
><----> À : mgalassi at c-cor.com
><----> Cc : linuxppc-embedded at 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
><----> 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 <mgalassi at c-cor.com>
><----> >Reply-To: Michael Galassi <mgalassi at c-cor.com>
><----> >To: "Ming Liu" <eemingliu at hotmail.com>
><----> >CC: akonovalov at ru.mvista.com, linuxppc-embedded at ozlabs.org
><----> >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
><----> >
><----> > >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/
><----> > >
><----> > >
><----> > >--===============1695844909==
><----> > >Content-Type: text/plain; charset="us-ascii"
><----> > >MIME-Version: 1.0
><----> > >Content-Transfer-Encoding: 7bit
><----> > >Content-Disposition: inline
><----> > >
><----> > >_______________________________________________
><----> > >Linuxppc-embedded mailing list
><----> > >Linuxppc-embedded at ozlabs.org
><----> > >https://ozlabs.org/mailman/listinfo/linuxppc-embedded
><----> > >--===============1695844909==--
><---->
><----> _________________________________________________________________
><----> 与联机的朋友进行交流,请使用 MSN Messenger:  
http://messenger.msn.com/cn
>
>

_________________________________________________________________
ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£  http://www.hotmail.com  




More information about the Linuxppc-embedded mailing list