question about linux with Xilinx ML-403

2006-05-24 Thread Ming Liu
Dear Rick,
First, thanks a lot for your information. However I still have something to 
ask.


Our best recommendation is to use the drivers/net/xilinx_enet directory
for the temac driver and just enable the Xilinx 10/100 Ethernet in
menuconfig.  

I am not so clear with this. Do you mean that I just copy the source code 
in the directory of xilinx_gige generated by EDK into the directory of 
xilinx_enet in linux2.4.20, and then enable the Xilinx 10/100 ethernet in 
the menuconfig? Can this method realize the 1000M ethernet? The source code 
file names for Temac (xtemac_xxx.c or .h) are different with the ones for 
emac (xemac_xxx.c or .h). Can the xtemac files be recognized by the linux 
kernel? 

BR
Ming

_
??? MSN Hotmail?  http://www.hotmail.com  




question about linux with Xilinx ML-403

2006-05-24 Thread Rick Moleres
 

Ming,

 

 

Our best recommendation is to use the drivers/net/xilinx_enet directory

for the temac driver and just enable the Xilinx 10/100 Ethernet in

menuconfig.  

 

I am not so clear with this. Do you mean that I just copy the source
code 

in the directory of xilinx_gige generated by EDK into the directory of 

xilinx_enet in linux2.4.20, and then enable the Xilinx 10/100 ethernet
in 

the menuconfig? Can this method realize the 1000M ethernet? The source
code 

file names for Temac (xtemac_xxx.c or .h) are different with the ones
for 

emac (xemac_xxx.c or .h). Can the xtemac files be recognized by the
linux 

kernel? 

 

Right - you would need to copy the xtemac* files and the Makefile over,
and would have to change the Makefile to make sure it produces
xilinx_enet.o instead of xilinx_gige.o.  We haven't tried this, but we
don't think there's any reason this shouldn't work.  Can you let us know
how it goes?

 

 

 

 

-- next part --
An HTML attachment was scrubbed...
URL: 
http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060524/a32750ad/attachment.htm
 


question about linux with Xilinx ML-403

2006-05-24 Thread Ming Liu
Dear Rick,
OK. I will try that. However I cannot promise to finish this very soon 
because I am a novice. :) I will let you know if there is any result.

Thanks for your method.

BR
Ming


From: Rick Moleres rick.moleres at xilinx.com
To: Ming Liu eemingliu at hotmail.com,   rick.moleres 
rick.moleres at xilinx.com
CC: linuxppc-embedded at ozlabs.org
Subject: RE: question about linux with Xilinx ML-403
Date: Wed, 24 May 2006 10:25:10 -0600



Ming,





 Our best recommendation is to use the drivers/net/xilinx_enet directory

 for the temac driver and just enable the Xilinx 10/100 Ethernet in

 menuconfig.



I am not so clear with this. Do you mean that I just copy the source
code

in the directory of xilinx_gige generated by EDK into the directory of

xilinx_enet in linux2.4.20, and then enable the Xilinx 10/100 ethernet
in

the menuconfig? Can this method realize the 1000M ethernet? The source
code

file names for Temac (xtemac_xxx.c or .h) are different with the ones
for

emac (xemac_xxx.c or .h). Can the xtemac files be recognized by the
linux

kernel?



Right - you would need to copy the xtemac* files and the Makefile over,
and would have to change the Makefile to make sure it produces
xilinx_enet.o instead of xilinx_gige.o.  We haven't tried this, but we
don't think there's any reason this shouldn't work.  Can you let us know
how it goes?










_
 MSN Explorer:   http://explorer.msn.com/lccn/  




question about linux with Xilinx ML-403

2006-05-24 Thread Rick Moleres

Ming,

Another option for you may be to get MontaVista's latest linuxppc-2.4 kernel 
tree from source.mvista.com (using rsync), which I believe has the xilinx_gige 
directory and menuconfig entries.

-Rick

-Original Message-
From: Ming Liu [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 24, 2006 12:36 PM
To: rick.moleres
Cc: linuxppc-embedded at ozlabs.org
Subject: RE: question about linux with Xilinx ML-403

Dear Rick,
OK. I will try that. However I cannot promise to finish this very soon 
because I am a novice. :) I will let you know if there is any result.

Thanks for your method.

BR
Ming


From: Rick Moleres rick.moleres at xilinx.com
To: Ming Liu eemingliu at hotmail.com,   rick.moleres 
rick.moleres at xilinx.com
CC: linuxppc-embedded at ozlabs.org
Subject: RE: question about linux with Xilinx ML-403
Date: Wed, 24 May 2006 10:25:10 -0600



Ming,





 Our best recommendation is to use the drivers/net/xilinx_enet directory

 for the temac driver and just enable the Xilinx 10/100 Ethernet in

 menuconfig.



I am not so clear with this. Do you mean that I just copy the source
code

in the directory of xilinx_gige generated by EDK into the directory of

xilinx_enet in linux2.4.20, and then enable the Xilinx 10/100 ethernet
in

the menuconfig? Can this method realize the 1000M ethernet? The source
code

file names for Temac (xtemac_xxx.c or .h) are different with the ones
for

emac (xemac_xxx.c or .h). Can the xtemac files be recognized by the
linux

kernel?



Right - you would need to copy the xtemac* files and the Makefile over,
and would have to change the Makefile to make sure it produces
xilinx_enet.o instead of xilinx_gige.o.  We haven't tried this, but we
don't think there's any reason this shouldn't work.  Can you let us know
how it goes?










_
 MSN Explorer:   http://explorer.msn.com/lccn/  






question about linux with Xilinx ML-403

2006-05-24 Thread Ming Liu
Dear Rick,
Yes. I have downloaded the linuxppc-2.4 kernel. There is really the temac 
support. Thanks a lot for your information. 

Also. MontaVista will release the pro 4.0 based on 2.6 in the end of this 
month. I think in this version, Temac will be included. Temac will be more 
popularly supported in the following versions, I think. 

Regards
Ming


From: Rick Moleres rick.moleres at xilinx.com
To: Ming Liu eemingliu at hotmail.com,   rick.moleres 
rick.moleres at xilinx.com
CC: linuxppc-embedded at ozlabs.org
Subject: RE: question about linux with Xilinx ML-403
Date: Wed, 24 May 2006 12:52:02 -0600


Ming,

Another option for you may be to get MontaVista's latest linuxppc-2.4 
kernel tree from source.mvista.com (using rsync), which I believe has the 
xilinx_gige directory and menuconfig entries.

-Rick

-Original Message-
From: Ming Liu [mailto:eemingliu at hotmail.com]
Sent: Wednesday, May 24, 2006 12:36 PM
To: rick.moleres
Cc: linuxppc-embedded at ozlabs.org
Subject: RE: question about linux with Xilinx ML-403

Dear Rick,
OK. I will try that. However I cannot promise to finish this very soon
because I am a novice. :) I will let you know if there is any result.

Thanks for your method.

BR
Ming


 From: Rick Moleres rick.moleres at xilinx.com
 To: Ming Liu eemingliu at hotmail.com,   rick.moleres
rick.moleres at xilinx.com
 CC: linuxppc-embedded at ozlabs.org
 Subject: RE: question about linux with Xilinx ML-403
 Date: Wed, 24 May 2006 10:25:10 -0600
 
 
 
 Ming,
 
 
 
 
 
  Our best recommendation is to use the drivers/net/xilinx_enet 
directory
 
  for the temac driver and just enable the Xilinx 10/100 Ethernet in
 
  menuconfig.
 
 
 
 I am not so clear with this. Do you mean that I just copy the source
 code
 
 in the directory of xilinx_gige generated by EDK into the directory of
 
 xilinx_enet in linux2.4.20, and then enable the Xilinx 10/100 ethernet
 in
 
 the menuconfig? Can this method realize the 1000M ethernet? The source
 code
 
 file names for Temac (xtemac_xxx.c or .h) are different with the ones
 for
 
 emac (xemac_xxx.c or .h). Can the xtemac files be recognized by the
 linux
 
 kernel?
 
 
 
 Right - you would need to copy the xtemac* files and the Makefile over,
 and would have to change the Makefile to make sure it produces
 xilinx_enet.o instead of xilinx_gige.o.  We haven't tried this, but we
 don't think there's any reason this shouldn't work.  Can you let us know
 how it goes?
 
 
 
 
 
 
 
 
 

_
 MSN Explorer:   http://explorer.msn.com/lccn/




_
?? MSN Messenger:  http://messenger.msn.com/cn  




question about linux with Xilinx ML-403

2006-05-23 Thread Ming Liu
Hi Rick,
 Yes, we have a driver for the PLB TEMAC (different than the GSRD LL
 TEMAC) for Linux 2.4 (MontaVista Linux 2.4.20) that's shipped in EDK
 8.1.1, and MontaVista is on the verge of publishing a driver for PLB
 TEMAC for Linux 2.6. (I believe it came across this mailing list a few
 weeks ago)

I have generated the BSP by EDK 8.1.1 for my project in ML403(hardcore 
Temac and PLB Temac included). I noticed that there is a directory called 
Xilinx_gige in the directory of /drivers/net. Is this the driver for 
MontaVista Linux2.4.20? I copied the BSP and overwrote the original one in 
the linux kernel directory (in the kernel directory, there is only a 
directory called Xilinx_enet, no Xilinx_gige. So I just copied 
Xilinx_gige.). However, my problem is in the menuconfig item of Network 
Device Support-1000Mbit ethernet, there is not any option to choose and 
enable the Xilinx on-chip ethernet. Is this a problem of MontaVista Linux 
3.1 Preview Kit, or my problem?  And What shall I do to enable the tri-mode 
Temac in my platform? Thanks for your answer. 

BR
Ming

_
 MSN Explorer:   http://explorer.msn.com/lccn/  




question about linux with Xilinx ML-403

2006-05-23 Thread Ming Liu
Hi Rick,
 Yes, we have a driver for the PLB TEMAC (different than the GSRD LL
 TEMAC) for Linux 2.4 (MontaVista Linux 2.4.20) that's shipped in EDK
 8.1.1, and MontaVista is on the verge of publishing a driver for PLB
 TEMAC for Linux 2.6. (I believe it came across this mailing list a few
 weeks ago)

I have generated the BSP by EDK 8.1.1 for my project in ML403(hardcore 
Temac and PLB Temac included). I noticed that there is a directory called 
Xilinx_gige in the directory of /drivers/net. Is this the driver for 
MontaVista Linux2.4.20? I copied the BSP and overwrote the original one in 
the linux kernel directory (in the kernel directory, there is only a 
directory called Xilinx_enet, no Xilinx_gige. So I just copied 
Xilinx_gige.). However, my problem is in the menuconfig item of Network 
Device Support-1000Mbit ethernet, there is not any option to choose and 
enable the Xilinx on-chip ethernet. Is this a problem of MontaVista Linux 
3.1 Preview Kit, or my problem?  And What shall I do to enable the tri-mode 
Temac in my platform? Thanks for your answer. 

BR
Ming

_
??? MSN Hotmail?  http://www.hotmail.com  




question about linux with Xilinx ML-403

2006-05-23 Thread Rick Moleres
Ming,

 

-Original Message-
From: Ming Liu [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 23, 2006 3:42 AM
To: rick.moleres
Cc: linuxppc-embedded at ozlabs.org
Subject: question about linux with Xilinx ML-403

 

Hi Rick,

 Yes, we have a driver for the PLB TEMAC (different than the GSRD LL

 TEMAC) for Linux 2.4 (MontaVista Linux 2.4.20) that's shipped in EDK

 8.1.1, and MontaVista is on the verge of publishing a driver for PLB

 TEMAC for Linux 2.6. (I believe it came across this mailing list a few

 weeks ago)

 

I have generated the BSP by EDK 8.1.1 for my project in ML403(hardcore 

Temac and PLB Temac included). I noticed that there is a directory
called 

Xilinx_gige in the directory of /drivers/net. Is this the driver for 

MontaVista Linux2.4.20?

 

Yes, this is the PLB TEMAC driver for Linux 2.4.20.  In EDK 8.1.x, the
temac driver and Makefile are copied to drivers/net/xilinx_gige.  This
xilinx_gige directory is not available in the MVL 3.1 Preview Kit, only
in the full Professional kit.  We put the temac driver here mostly to
take advantage of the JUMBO_FRAME_SUPPORT in kernel configuration.

 

 I copied the BSP and overwrote the original one in 

the linux kernel directory (in the kernel directory, there is only a 

directory called Xilinx_enet, no Xilinx_gige. So I just copied 

Xilinx_gige.). However, my problem is in the menuconfig item of Network 

Device Support-1000Mbit ethernet, there is not any option to choose and


enable the Xilinx on-chip ethernet. Is this a problem of MontaVista
Linux 

3.1 Preview Kit, or my problem?  And What shall I do to enable the
tri-mode 

Temac in my platform? Thanks for your answer. 

 

Our best recommendation is to use the drivers/net/xilinx_enet directory
for the temac driver and just enable the Xilinx 10/100 Ethernet in
menuconfig.  If you want jumbo frame support, modify adapter.c in the
driver to define the CONFIG_XILINX_GIGE_JUMBO constant.

 

Note that Linux 2.6 support for the temac should be available from
MontaVista soon and a driver was pushed to this mailing list in March.
There will be support for MV Linux 2.6 in EDK 8.2.1 (around August).

 

 

Thanks,

Rick

 

-- next part --
An HTML attachment was scrubbed...
URL: 
http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060523/09c6d315/attachment.htm