<br><font size=2 face="sans-serif">Well, our board is a custom board and
we have no problem on inplementing both TEMAC.</font>
<br><font size=2 face="sans-serif">we have </font>
<br><font size=2 face="sans-serif">2 TEMAC with related separated hw phy.</font>
<br><font size=2 face="sans-serif">sdram controller </font>
<br><font size=2 face="sans-serif">can controller</font>
<br><font size=2 face="sans-serif">2 uartlite</font>
<br><font size=2 face="sans-serif">sysace</font>
<br><font size=2 face="sans-serif">graphics lcd interface</font>
<br><font size=2 face="sans-serif">and other custom peripherals</font>
<br><font size=2 face="sans-serif">external peripheral interface</font>
<br><font size=2 face="sans-serif">no problem to fit into FX12..</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Mohammad Sadegh Sadri &lt;mamsadegh@hotmail.com&gt;</b>
</font>
<p><font size=1 face="sans-serif">20/07/2007 11.27</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">Rick Moleres &lt;rick.moleres@xilinx.com&gt;,
&lt;linux-ppc@eurotel.it&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">Ming Liu &lt;eemingliu@hotmail.com&gt;,
&lt;linuxppc-embedded@ozlabs.org&gt;</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><br>
Dear Massimiliano<br>
Well I do not know the solution to the problem, but just,<br>
In your post, there is some thing interesting for me,<br>
<br>
How could you implement such large circuit on one FX12 FPGA?<br>
We have done many experineces with both of AVNET MM and ML403,<br>
<br>
you have, DDR SDRAM Controller, GPIO, UART, SYSACE and two intances of
Tri-mode TEMAC GMII, <br>
In our tests, with one instance of Tri mode TEMAC and UART and DDR controller,
the whole FPGA resource were consumed we could not even put sysace interface.<br>
<br>
For me, another important question is, how many PHY chips are available
on your board? Each of Tri-mode temac modules are connected to a separate
phy chip, yes?<br>
<br>
<br>
<br>
<br>
<br>
________________________________<br>
&gt; Subject: RE: ML403 Hard TEMAC, PLB and Linux 2.6<br>
&gt; Date: Thu, 19 Jul 2007 09:00:33 -0600<br>
&gt; From: Rick.Moleres@xilinx.com<br>
&gt; To: linux-ppc@eurotel.it<br>
&gt; CC: eemingliu@hotmail.com; linuxppc-embedded@ozlabs.org; mamsadegh@hotmail.com<br>
&gt; <br>
&gt; Hi,<br>
&gt; The first thing I would try is to make sure eth1 comes up without
first bringing up eth0. &nbsp;In other words, does it come up independently?
&nbsp;If not, there could be something wrong with its configuration in
the kernel or perhaps a hardware design issue. &nbsp;If both interfaces
come up independently, but not together, then there’s likely a driver
issue as we have not tested dual channel TEMAC with the Linux plb_temac
driver. &nbsp;Perhaps others on the list have. &nbsp;The areas that I would
look at would be: &nbsp;make sure each interface is getting a unique and
correct PHY address; make sure any calls to the shared registers of the
two channels are protected with semaphores/spinlocks. &nbsp;For example,
I’m pretty sure the PHY registers are shared, so any PHY accesses should
be protected. &nbsp;I would think other Xilinx driver accesses like Start/Stop/Reset/Get
or SetOptions/etc… should be protected as they may access shared registers.<br>
&gt; -Rick<br>
&gt; ________________________________<br>
&gt; From: Massimiliano.Patriarca@eurotel.it [mailto:Massimiliano.Patriarca@eurotel.it]
On Behalf Of linux-ppc@eurotel.it<br>
&gt; Sent: Thursday, July 19, 2007 7:51 AM<br>
&gt; To: Rick Moleres<br>
&gt; Cc: Ming Liu; linuxppc-embedded@ozlabs.org; linuxppc-embedded-bounces+linux-ppc=eurotel.it@ozlabs.org;
mamsadegh@hotmail.com<br>
&gt; Subject: RE: ML403 Hard TEMAC, PLB and Linux 2.6<br>
&gt; Hi, we are trying to use both side of an hard temac + 2 plb temac
in a Virtex4FX12 project.<br>
&gt; we succesfull implemented a single temac Montavista tree with eth0.<br>
&gt; when trying to use both temac, devices are correctly registered with
kernel-<br>
&gt; eth0 comes up and working ok-<br>
&gt; when manually start eth1 (/sbin/ifconfig eth1 up) kernel hang without
any error or info in the console<br>
&gt; # dmesg<br>
&gt; 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<br>
&gt; Eurotel motherboard init<br>
&gt; Port by MontaVista Software, Inc. (source@mvista.com)<br>
&gt; On node 0 totalpages: 7812<br>
&gt; &nbsp; DMA zone: 7812 pages, LIFO batch:1<br>
&gt; &nbsp; Normal zone: 0 pages, LIFO batch:1<br>
&gt; &nbsp; HighMem zone: 0 pages, LIFO batch:1<br>
&gt; Built 1 zonelists<br>
&gt; Kernel command line: console=ttl0 root=/dev/xsysace2 rw ip=off<br>
&gt; Xilinx INTC #0 at 0x41200000 mapped to 0xFDFFF000<br>
&gt; PID hash table entries: 128 (order: 7, 2048 bytes)<br>
&gt; hr_time_init: arch_to_nsec = 8192000, nsec_to_arch = 1099511627<br>
&gt; Console: colour dummy device 80x25<br>
&gt; Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)<br>
&gt; Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)<br>
&gt; Memory: 28420k available (1864k kernel code, 528k data, 124k init,
0k highmem)<br>
&gt; Calibrating delay loop... 252.92 BogoMIPS (lpj=126464)<br>
&gt; Mount-cache hash table entries: 512 (order: 0, 4096 bytes)<br>
&gt; spawn_desched_task(00000000)<br>
&gt; desched cpu_callback 3/00000000<br>
&gt; ksoftirqd started up.<br>
&gt; desched cpu_callback 2/00000000<br>
&gt; desched thread 0 started up.<br>
&gt; NET: Registered protocol family 16<br>
&gt; Registering platform device 'xilinx_temac.0'. Parent at platform<br>
&gt; Registering platform device 'xilinx_temac.1'. Parent at platform<br>
&gt; Registering platform device 'xilinx_sysace.0'. Parent at platform<br>
&gt; Registering platform device 'xilinx_gpio.0'. Parent at platform<br>
&gt; Registering platform device 'xilinx_gpio.1'. Parent at platform<br>
&gt; Registering platform device 'oled_fb.0'. Parent at platform<br>
&gt; Generic PHY: Registered new driver<br>
&gt; oled_fb: 4096 video memory mapped to c2011000<br>
&gt; Console: switching to colour frame buffer device 16x8<br>
&gt; xgpio #0 at 0x40000000 mapped to 0xC2020000<br>
&gt; xgpio #1 at 0x40020000 mapped to 0xC2040000<br>
&gt; io scheduler noop registered<br>
&gt; io scheduler anticipatory registered<br>
&gt; io scheduler deadline registered<br>
&gt; io scheduler cfq registered<br>
&gt; loop: loaded (max 8 devices)<br>
&gt; elevator: using anticipatory as default io scheduler<br>
&gt; System ACE at 0x41800000 mapped to 0xC2060000, irq=4, 1000944KB<br>
&gt; &nbsp;xsysace: xsysace1 xsysace2<br>
&gt; Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky<br>
&gt; XTemac: using FIFO direct interrupt driven mode.<br>
&gt; eth0: Xilinx TEMAC #0 at 0x20000000 mapped to 0xC2080000, irq=0<br>
&gt; eth0: XTemac id 1.0f, block id 5, type 8<br>
&gt; XTemac: using FIFO direct interrupt driven mode.<br>
&gt; eth1: Xilinx TEMAC #1 at 0x20010000 mapped to 0xC20A0000, irq=10<br>
&gt; eth1: XTemac id 1.0f, block id 5, type 8<br>
&gt; i2c /dev entries driver<br>
&gt; i2c-xil_custom: registered with I2C (0)<br>
&gt; i2c-xil_custom: registered with I2C (1)<br>
&gt; mice: PS/2 mouse device common for all mice<br>
&gt; NET: Registered protocol family 2<br>
&gt; IP: routing cache hash table of 512 buckets, 4Kbytes<br>
&gt; TCP: Hash tables configured (established 2048 bind 4096)<br>
&gt; NET: Registered protocol family 1<br>
&gt; NET: Registered protocol family 17<br>
&gt; EXT3-fs warning: maximal mount count reached, running e2fsck is recommended<br>
&gt; kjournald starting. &nbsp;Commit interval 5 seconds<br>
&gt; EXT3 FS on xsysace2, internal journal<br>
&gt; EXT3-fs: recovery complete.<br>
&gt; EXT3-fs: mounted filesystem with ordered data mode.<br>
&gt; VFS: Mounted root (ext3 filesystem).<br>
&gt; Freeing unused kernel memory: 124k init<br>
&gt; eth0: XTemac: Options: 0xb8f2<br>
&gt; eth0: XTemac: speed set to 100Mb/s<br>
&gt; eth0: XTemac: PHY Link carrier lost.<br>
&gt; # /sbin/ifconfig eth1 up<br>
&gt; # eth1: XTemac: Options: 0xb8f2<br>
&gt; Any suggestion?<br>
&gt; &quot;Rick Moleres&quot; <br>
&gt; Sent by: linuxppc-embedded-bounces+linux-ppc=eurotel.it@ozlabs.org<br>
&gt; 08/02/2007 17.23<br>
&gt; To<br>
&gt; &quot;Ming Liu&quot; , <br>
&gt; cc<br>
&gt; linuxppc-embedded@ozlabs.org<br>
&gt; Subject<br>
&gt; RE: ML403 Hard TEMAC, PLB and Linux 2.6<br>
&gt; Hi,<br>
&gt; 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>
&gt; Thanks,<br>
&gt; Rick<br>
&gt; -----Original Message-----<br>
&gt; From: linuxppc-embedded-bounces+moleres=xilinx.com@ozlabs.org [mailto:linuxppc-embedded-bounces+moleres=xilinx.com@ozlabs.org]
On Behalf Of Ming Liu<br>
&gt; Sent: Thursday, February 08, 2007 2:31 AM<br>
&gt; To: mamsadegh@hotmail.com<br>
&gt; Cc: linuxppc-embedded@ozlabs.org<br>
&gt; Subject: RE: ML403 Hard TEMAC, PLB and Linux 2.6<br>
&gt; Hi,<br>
&gt; In xapp902, they are using the old cores for Temac. So it will be
easier to<br>
&gt; generate a project in EDK 8.2. Not only the cores there are new, but
also<br>
&gt; it can generate the driver for linux 2.6.<br>
&gt; BR<br>
&gt; Ming<br>
&gt; &gt;From: Mohammad Sadegh Sadri <br>
&gt; &gt;To: <br>
&gt; &gt;CC: linuxppc-embedded@ozlabs.org<br>
&gt; &gt;Subject: RE: ML403 Hard TEMAC, PLB and Linux 2.6<br>
&gt; &gt;Date: Thu, 8 Feb 2007 07:13:47 +0000<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;Hi<br>
&gt; &gt;Thanks for reply<br>
&gt; &gt;Well, regarding xapp902, there is a very simple question, Where
can I find<br>
&gt; it? It seems that Xilinx has deleted all of the links to these files.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;----------------------------------------<br>
&gt; &gt; &gt; Subject: Re: ML403 Hard TEMAC, PLB and Linux 2.6<br>
&gt; &gt; &gt; From: christophe.alayrac@cresitt.com<br>
&gt; &gt; &gt; To: mamsadegh@hotmail.com<br>
&gt; &gt; &gt; CC: linuxppc-embedded@ozlabs.org<br>
&gt; &gt; &gt; Date: Thu, 8 Feb 2007 06:51:45 +0100<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Le mercredi 07 f関rier 2007 ?22:30 +0000, Mohammad Sadegh
Sadri a<br>
&gt; &gt; &gt; 閏rit :<br>
&gt; &gt; &gt; Hi Mohammad,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Please find here after some answer<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; 1- I want to use, ML403, Hard TEMAC and PLB TEMAC cores.
Is there any<br>
&gt; ready to use design, or any reference design available for this?<br>
&gt; &gt; &gt; &gt; I'm using EDK 8.1 and I understood that, when I choose
the ML403<br>
&gt; board , EDK does not use hard temac, so , should I add it manually?
( well<br>
&gt; this is funny, but the wizard does not use hard temac , is it true?
)<br>
&gt; &gt; &gt; &gt; Is there any ready EDK projects for ML403, with TEMAC
and PLB TEMAC<br>
&gt; modules already inserted and cofigured? (I don't want to use GSRD
) ( If<br>
&gt; yes would you please put the link here )<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; You can start from XAPP 902 from Xilinx, this design demonstrate
TEMAC<br>
&gt; &gt; &gt; use in loopback mode. Some memers from that community have
tried from<br>
&gt; &gt; &gt; that design as a starting point. I did not nknow if the
succeed.<br>
&gt; &gt; &gt; I would recommand to get EDK 8.2 SP2 and use the Wizard
to build a new<br>
&gt; &gt; &gt; design with TEMAC.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; 2- Simply, Is there any driver available for linux
2.6 , for PLB<br>
&gt; TEMAC and Hard TEMAC modules? If yes , can you put the link here,
so that I<br>
&gt; can download it?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; For the kernel you can get it from Montavista source code
site using<br>
&gt; GIT<br>
&gt; &gt; &gt; to download it (linux-xilinx-26). This is 2.6.17.4 version
(last week!)<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Then you will need to pacth the Kernel with TEMAC drivers
(look for<br>
&gt; &gt; &gt; TEMAC PAULUS MVISTA with google, or follow my messages in
that mailing<br>
&gt; &gt; &gt; list)<br>
&gt; &gt; &gt; NOTE: If you use that TEMAC patch do not use SGDMA on your
TEMAC, use<br>
&gt; &gt; &gt; FIFO.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; thanks<br>
&gt; &gt; &gt; Regards<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Chris<br>
&gt; &gt; &gt; &gt; _________________________________________________________________<br>
&gt; &gt; &gt; &gt; Personalize your Live.com homepage with the news, weather,
and photos<br>
&gt; you care about.<br>
&gt; &gt; &gt; &gt; http://www.live.com/getstarted.aspx?icid=T001MSN30A0701<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Linuxppc-embedded mailing list<br>
&gt; &gt; &gt; &gt; Linuxppc-embedded@ozlabs.org<br>
&gt; &gt; &gt; &gt; https://ozlabs.org/mailman/listinfo/linuxppc-embedded<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;_________________________________________________________________<br>
&gt; &gt;Live Search: New search found<br>
&gt; &gt;http://get.live.com/search/overview<br>
&gt; &gt;_______________________________________________<br>
&gt; &gt;Linuxppc-embedded mailing list<br>
&gt; &gt;Linuxppc-embedded@ozlabs.org<br>
&gt; &gt;https://ozlabs.org/mailman/listinfo/linuxppc-embedded<br>
&gt; _________________________________________________________________<br>
&gt; 与联机的朋友进行交流,请使用 MSN Messenger: &nbsp;http://messenger.msn.com/cn<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>
Discover the new Windows Vista<br>
http://search.msn.com/results.aspx?q=windows+vista&amp;mkt=en-US&amp;form=QBRE<br>
</font></tt>
<br>