<br><font size=2 face="sans-serif">Hi, we are trying to use both side of
an hard temac + 2 plb temac in a Virtex4FX12 project.</font>
<br><font size=2 face="sans-serif">we succesfull implemented a single temac
Montavista tree with eth0.</font>
<br><font size=2 face="sans-serif">when trying to use both temac, devices
are correctly registered with kernel-</font>
<br><font size=2 face="sans-serif">eth0 comes up and working ok-</font>
<br><font size=2 face="sans-serif">when manually start eth1 (/sbin/ifconfig
eth1 up) kernel hang without any error or info in the console</font>
<br>
<br><font size=2 face="sans-serif"># dmesg</font>
<br><font size=2 face="sans-serif">Linux version 2.6.10_mvl401-ml40x (massimiliano@linux-yhbz)
(gcc version 3.4.3 (MontaVista 3.4.3-25.0.135.0702900 2007-04-01)) #250
Wed Jul 18 12:20:43 CEST 2007</font>
<br><font size=2 face="sans-serif">Eurotel motherboard init</font>
<br><font size=2 face="sans-serif">Port by MontaVista Software, Inc. (source@mvista.com)</font>
<br><font size=2 face="sans-serif">On node 0 totalpages: 7812</font>
<br><font size=2 face="sans-serif">&nbsp; DMA zone: 7812 pages, LIFO batch:1</font>
<br><font size=2 face="sans-serif">&nbsp; Normal zone: 0 pages, LIFO batch:1</font>
<br><font size=2 face="sans-serif">&nbsp; HighMem zone: 0 pages, LIFO batch:1</font>
<br><font size=2 face="sans-serif">Built 1 zonelists</font>
<br><font size=2 face="sans-serif">Kernel command line: console=ttl0 root=/dev/xsysace2
rw ip=off</font>
<br><font size=2 face="sans-serif">Xilinx INTC #0 at 0x41200000 mapped
to 0xFDFFF000</font>
<br><font size=2 face="sans-serif">PID hash table entries: 128 (order:
7, 2048 bytes)</font>
<br><font size=2 face="sans-serif">hr_time_init: arch_to_nsec = 8192000,
nsec_to_arch = 1099511627</font>
<br><font size=2 face="sans-serif">Console: colour dummy device 80x25</font>
<br><font size=2 face="sans-serif">Dentry cache hash table entries: 4096
(order: 2, 16384 bytes)</font>
<br><font size=2 face="sans-serif">Inode-cache hash table entries: 2048
(order: 1, 8192 bytes)</font>
<br><font size=2 face="sans-serif">Memory: 28420k available (1864k kernel
code, 528k data, 124k init, 0k highmem)</font>
<br><font size=2 face="sans-serif">Calibrating delay loop... 252.92 BogoMIPS
(lpj=126464)</font>
<br><font size=2 face="sans-serif">Mount-cache hash table entries: 512
(order: 0, 4096 bytes)</font>
<br><font size=2 face="sans-serif">spawn_desched_task(00000000)</font>
<br><font size=2 face="sans-serif">desched cpu_callback 3/00000000</font>
<br><font size=2 face="sans-serif">ksoftirqd started up.</font>
<br><font size=2 face="sans-serif">desched cpu_callback 2/00000000</font>
<br><font size=2 face="sans-serif">desched thread 0 started up.</font>
<br><font size=2 face="sans-serif">NET: Registered protocol family 16</font>
<br><font size=2 face="sans-serif">Registering platform device 'xilinx_temac.0'.
Parent at platform</font>
<br><font size=2 face="sans-serif">Registering platform device 'xilinx_temac.1'.
Parent at platform</font>
<br><font size=2 face="sans-serif">Registering platform device 'xilinx_sysace.0'.
Parent at platform</font>
<br><font size=2 face="sans-serif">Registering platform device 'xilinx_gpio.0'.
Parent at platform</font>
<br><font size=2 face="sans-serif">Registering platform device 'xilinx_gpio.1'.
Parent at platform</font>
<br><font size=2 face="sans-serif">Registering platform device 'oled_fb.0'.
Parent at platform</font>
<br><font size=2 face="sans-serif">Generic PHY: Registered new driver</font>
<br><font size=2 face="sans-serif">oled_fb: 4096 video memory mapped to
c2011000</font>
<br><font size=2 face="sans-serif">Console: switching to colour frame buffer
device 16x8</font>
<br><font size=2 face="sans-serif">xgpio #0 at 0x40000000 mapped to 0xC2020000</font>
<br><font size=2 face="sans-serif">xgpio #1 at 0x40020000 mapped to 0xC2040000</font>
<br><font size=2 face="sans-serif">io scheduler noop registered</font>
<br><font size=2 face="sans-serif">io scheduler anticipatory registered</font>
<br><font size=2 face="sans-serif">io scheduler deadline registered</font>
<br><font size=2 face="sans-serif">io scheduler cfq registered</font>
<br><font size=2 face="sans-serif">loop: loaded (max 8 devices)</font>
<br><font size=2 face="sans-serif">elevator: using anticipatory as default
io scheduler</font>
<br><font size=2 face="sans-serif">System ACE at 0x41800000 mapped to 0xC2060000,
irq=4, 1000944KB</font>
<br><font size=2 face="sans-serif">&nbsp;xsysace: xsysace1 xsysace2</font>
<br><font size=2 face="sans-serif">Universal TUN/TAP device driver 1.5
(C)1999-2002 Maxim Krasnyansky</font>
<br><font size=2 face="sans-serif">XTemac: using FIFO direct interrupt
driven mode.</font>
<br><font size=2 face="sans-serif">eth0: Xilinx TEMAC #0 at 0x20000000
mapped to 0xC2080000, irq=0</font>
<br><font size=2 face="sans-serif">eth0: XTemac id 1.0f, block id 5, type
8</font>
<br><font size=2 face="sans-serif">XTemac: using FIFO direct interrupt
driven mode.</font>
<br><font size=2 face="sans-serif">eth1: Xilinx TEMAC #1 at 0x20010000
mapped to 0xC20A0000, irq=10</font>
<br><font size=2 face="sans-serif">eth1: XTemac id 1.0f, block id 5, type
8</font>
<br><font size=2 face="sans-serif">i2c /dev entries driver</font>
<br><font size=2 face="sans-serif">i2c-xil_custom: registered with I2C
(0)</font>
<br><font size=2 face="sans-serif">i2c-xil_custom: registered with I2C
(1)</font>
<br><font size=2 face="sans-serif">mice: PS/2 mouse device common for all
mice</font>
<br><font size=2 face="sans-serif">NET: Registered protocol family 2</font>
<br><font size=2 face="sans-serif">IP: routing cache hash table of 512
buckets, 4Kbytes</font>
<br><font size=2 face="sans-serif">TCP: Hash tables configured (established
2048 bind 4096)</font>
<br><font size=2 face="sans-serif">NET: Registered protocol family 1</font>
<br><font size=2 face="sans-serif">NET: Registered protocol family 17</font>
<br><font size=2 face="sans-serif">EXT3-fs warning: maximal mount count
reached, running e2fsck is recommended</font>
<br><font size=2 face="sans-serif">kjournald starting. &nbsp;Commit interval
5 seconds</font>
<br><font size=2 face="sans-serif">EXT3 FS on xsysace2, internal journal</font>
<br><font size=2 face="sans-serif">EXT3-fs: recovery complete.</font>
<br><font size=2 face="sans-serif">EXT3-fs: mounted filesystem with ordered
data mode.</font>
<br><font size=2 face="sans-serif">VFS: Mounted root (ext3 filesystem).</font>
<br><font size=2 face="sans-serif">Freeing unused kernel memory: 124k init</font>
<br><font size=2 face="sans-serif">eth0: XTemac: Options: 0xb8f2</font>
<br><font size=2 face="sans-serif">eth0: XTemac: speed set to 100Mb/s</font>
<br><font size=2 face="sans-serif">eth0: XTemac: PHY Link carrier lost.</font>
<br>
<br><font size=2 face="sans-serif"># /sbin/ifconfig eth1 up</font>
<br><font size=2 face="sans-serif"># eth1: XTemac: Options: 0xb8f2</font>
<br>
<br><font size=2 face="sans-serif">Any suggestion?</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Rick Moleres&quot;
&lt;Rick.Moleres@xilinx.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: linuxppc-embedded-bounces+linux-ppc=eurotel.it@ozlabs.org</font>
<p><font size=1 face="sans-serif">08/02/2007 17.23</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">&quot;Ming Liu&quot; &lt;eemingliu@hotmail.com&gt;,
&lt;mamsadegh@hotmail.com&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">linuxppc-embedded@ozlabs.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: ML403 Hard TEMAC, PLB and Linux
2.6</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi,<br>
<br>
As Ming says the Linux 2.6 TEMAC driver is made available in EDK 8.2.2
as part of the BSP and Libraries generation for Linux 2.6. &nbsp;Note that
we made a recent fix for better PHY address detection and speed negotiation.
I've attached the adapter here, and it will be available in EDK 9.1.1 when
that's released.<br>
<br>
Thanks,<br>
Rick<br>
<br>
-----Original Message-----<br>
From: linuxppc-embedded-bounces+moleres=xilinx.com@ozlabs.org [mailto:linuxppc-embedded-bounces+moleres=xilinx.com@ozlabs.org]
On Behalf Of Ming Liu<br>
Sent: Thursday, February 08, 2007 2:31 AM<br>
To: mamsadegh@hotmail.com<br>
Cc: linuxppc-embedded@ozlabs.org<br>
Subject: RE: ML403 Hard TEMAC, PLB and Linux 2.6<br>
<br>
Hi,<br>
In xapp902, they are using the old cores for Temac. So it will be easier
to <br>
generate a project in EDK 8.2. Not only the cores there are new, but also
<br>
it can generate the driver for linux 2.6.<br>
<br>
BR<br>
Ming<br>
<br>
&gt;From: Mohammad Sadegh Sadri &lt;mamsadegh@hotmail.com&gt;<br>
&gt;To: &lt;christophe.alayrac@cresitt.com&gt;<br>
&gt;CC: linuxppc-embedded@ozlabs.org<br>
&gt;Subject: RE: ML403 Hard TEMAC, PLB and Linux 2.6<br>
&gt;Date: Thu, 8 Feb 2007 07:13:47 +0000<br>
&gt;<br>
&gt;<br>
&gt;Hi<br>
&gt;Thanks for reply<br>
&gt;Well, regarding xapp902, there is a very simple question, Where can
I find <br>
it? It seems that Xilinx has deleted all of the links to these files.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;----------------------------------------<br>
&gt; &gt; Subject: Re: ML403 Hard TEMAC, PLB and Linux 2.6<br>
&gt; &gt; From: christophe.alayrac@cresitt.com<br>
&gt; &gt; To: mamsadegh@hotmail.com<br>
&gt; &gt; CC: linuxppc-embedded@ozlabs.org<br>
&gt; &gt; Date: Thu, 8 Feb 2007 06:51:45 +0100<br>
&gt; &gt;<br>
&gt; &gt; Le mercredi 07 f関rier 2007 ?22:30 +0000, Mohammad Sadegh Sadri
a<br>
&gt; &gt; 閏rit :<br>
&gt; &gt; Hi Mohammad,<br>
&gt; &gt;<br>
&gt; &gt; Please find here after some answer<br>
&gt; &gt;<br>
&gt; &gt; &gt; 1- I want to use, ML403, Hard TEMAC and PLB TEMAC cores.
Is there any <br>
ready to use design, or any reference design available for this?<br>
&gt; &gt; &gt; I'm using EDK 8.1 and I understood that, when I choose the
ML403 <br>
board , EDK does not use hard temac, so , should I add it manually? ( well
<br>
this is funny, but the wizard does not use hard temac , is it true? )<br>
&gt; &gt; &gt; Is there any ready EDK projects for ML403, with TEMAC and
PLB TEMAC <br>
modules already inserted and cofigured? (I don't want to use GSRD ) ( If
<br>
yes would you please put the link here )<br>
&gt; &gt; &gt;<br>
&gt; &gt; You can start from XAPP 902 from Xilinx, this design demonstrate
TEMAC<br>
&gt; &gt; use in loopback mode. Some memers from that community have tried
from<br>
&gt; &gt; that design as a starting point. I did not nknow if the succeed.<br>
&gt; &gt; I would recommand to get EDK 8.2 SP2 and use the Wizard to build
a new<br>
&gt; &gt; design with TEMAC.<br>
&gt; &gt;<br>
&gt; &gt; &gt; 2- Simply, Is there any driver available for linux 2.6 ,
for PLB <br>
TEMAC and Hard TEMAC modules? If yes , can you put the link here, so that
I <br>
can download it?<br>
&gt; &gt; &gt;<br>
&gt; &gt; For the kernel you can get it from Montavista source code site
using <br>
GIT<br>
&gt; &gt; to download it (linux-xilinx-26). This is 2.6.17.4 version (last
week!)<br>
&gt; &gt;<br>
&gt; &gt; Then you will need to pacth the Kernel with TEMAC drivers (look
for<br>
&gt; &gt; TEMAC PAULUS MVISTA with google, or follow my messages in that
mailing<br>
&gt; &gt; list)<br>
&gt; &gt; NOTE: If you use that TEMAC patch do not use SGDMA on your TEMAC,
use<br>
&gt; &gt; FIFO.<br>
&gt; &gt;<br>
&gt; &gt; &gt; thanks<br>
&gt; &gt; Regards<br>
&gt; &gt;<br>
&gt; &gt; Chris<br>
&gt; &gt; &gt; _________________________________________________________________<br>
&gt; &gt; &gt; Personalize your Live.com homepage with the news, weather,
and photos <br>
you care about.<br>
&gt; &gt; &gt; http://www.live.com/getstarted.aspx?icid=T001MSN30A0701<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Linuxppc-embedded mailing list<br>
&gt; &gt; &gt; Linuxppc-embedded@ozlabs.org<br>
&gt; &gt; &gt; https://ozlabs.org/mailman/listinfo/linuxppc-embedded<br>
&gt; &gt;<br>
&gt;<br>
&gt;_________________________________________________________________<br>
&gt;Live Search: New search found<br>
&gt;http://get.live.com/search/overview<br>
&gt;_______________________________________________<br>
&gt;Linuxppc-embedded mailing list<br>
&gt;Linuxppc-embedded@ozlabs.org<br>
&gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded<br>
<br>
_________________________________________________________________<br>
与联机的朋友进行交流,请使用 MSN Messenger: &nbsp;http://messenger.msn.com/cn
&nbsp;<br>
<br>
_______________________________________________<br>
Linuxppc-embedded mailing list<br>
Linuxppc-embedded@ozlabs.org<br>
https://ozlabs.org/mailman/listinfo/linuxppc-embedded</font></tt>
<br>