All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lorenz Kolb <linuxppcemb@lkmail.de>
To: linuxppc-embedded@ozlabs.org
Subject: Re: Virtex TEMAC ping -s 10000 host, is it working?
Date: Mon, 19 Nov 2007 23:45:14 -0800 (PST)	[thread overview]
Message-ID: <13852281.post@talk.nabble.com> (raw)
In-Reply-To: <13830023.post@talk.nabble.com>



alex_snippet wrote:
> 
> 
> It's interesting to see some info from your design files,  PLB_TEMAC &
> HardTEMAC description from mhs,
> and kernel .config network section.
> 

.mhs


> <snip>
> BEGIN hard_temac
>  PARAMETER INSTANCE = hard_temac_0
>  PARAMETER HW_VER = 3.00.a
>  BUS_INTERFACE V4EMACDST0 = plb_temac_0_V4EMACSRC
>  PORT MII_TX_CLK_0 = fpga_0_Hard_Temac_0_MII_TX_CLK_0
>  PORT GMII_TXD_0 = fpga_0_Hard_Temac_0_GMII_TXD_0
>  PORT GMII_TX_EN_0 = fpga_0_Hard_Temac_0_GMII_TX_EN_0
>  PORT GMII_TX_ER_0 = fpga_0_Hard_Temac_0_GMII_TX_ER_0
>  PORT GMII_TX_CLK_0 = fpga_0_Hard_Temac_0_GMII_TX_CLK_0
>  PORT GMII_RXD_0 = fpga_0_Hard_Temac_0_GMII_RXD_0
>  PORT GMII_RX_DV_0 = fpga_0_Hard_Temac_0_GMII_RX_DV_0
>  PORT GMII_RX_ER_0 = fpga_0_Hard_Temac_0_GMII_RX_ER_0
>  PORT GMII_RX_CLK_0 = fpga_0_Hard_Temac_0_GMII_RX_CLK_0
>  PORT MDC_0 = fpga_0_Hard_Temac_0_MDC_0
>  PORT MDIO_0 = fpga_0_Hard_Temac_0_MDIO_0
>  PORT RESET = Emac_Reset_s
>  PORT GTX_CLK_0 = temac_0_clk_s
>  PORT REFCLK = sys_clk
> END
> 
> BEGIN plb_temac
>  PARAMETER INSTANCE = plb_temac_0
>  PARAMETER HW_VER = 3.00.a
>  PARAMETER C_MAC_FIFO_DEPTH = 64
>  PARAMETER C_RX_DRE_TYPE = 0
>  PARAMETER C_TX_DRE_TYPE = 0
>  PARAMETER C_DMA_TYPE = 1
>  PARAMETER C_PLB_CLK_PERIOD_PS = 10000
>  PARAMETER C_BASEADDR = 0x40000000
>  PARAMETER C_HIGHADDR = 0x4000FFFF
>  BUS_INTERFACE V4EMACSRC = plb_temac_0_V4EMACSRC
>  BUS_INTERFACE MSPLB = plb_v34_0
>  PORT Emac_Reset = Emac_Reset_s
>  PORT PhyResetN = fpga_0_TriMode_MAC_GMII_PhyResetN
>  PORT IP2INTC_Irpt = plb_temac_0_IP2INTC_Irpt
> END
> <snap>
> 

.config


> <snip>
> #
> # Networking
> #
> CONFIG_NET=y
> 
> #
> # Networking options
> #
> CONFIG_PACKET=y
> CONFIG_PACKET_MMAP=y
> CONFIG_UNIX=y
> CONFIG_INET=y
> CONFIG_IP_FIB_HASH=y
> CONFIG_TCP_CONG_CUBIC=y
> CONFIG_DEFAULT_TCP_CONG="cubic"
> <snap>
> 

We use the Temac driver from Grant's tree.
Nevertheless we changed the auto-negotiation code, as we had problem with
the default code when using the same code in U-Boot.
I have attached our auto-negotiation patch (nevertheless the old
auto-negotiation worked fine with the linux kernel, the main reason we
patched that is to hold the code base to maintain minimal).
http://www.nabble.com/file/p13852281/0018-TEMAC-changed-renegotiation-function-to-ESIC-U-Boo.patch
0018-TEMAC-changed-renegotiation-function-to-ESIC-U-Boo.patch 


alex_snippet wrote:
> 
> The biggest problem that i actually do not understand what kind of problem
> is it, hardware or software or configuration.
> 


Regards,

--
Lorenz Kolb
Embedded specialist
ESIC Solutions
San Jose, CA
Neu-Ulm, Germany
-- 
View this message in context: http://www.nabble.com/Virtex-TEMAC-ping--s-10000-host%2C-is-it-working--tf4812989.html#a13852281
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

      reply	other threads:[~2007-11-20  7:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15 15:07 Virtex TEMAC ping -s 10000 host, is it working? alex_snippet
2007-11-16 10:30 ` Lorenz Kolb
2007-11-19  9:03   ` alex_snippet
2007-11-20  7:45     ` Lorenz Kolb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13852281.post@talk.nabble.com \
    --to=linuxppcemb@lkmail.de \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.