2009-09-01 08:34:35     Ethernet Rx speed is low in BF527 custom board

Document created by Aaronwu Employee on Aug 19, 2013
Version 1Show Document
  • View in full screen mode

2009-09-01 08:34:35     Ethernet Rx speed is low in BF527 custom board

Loganathan Manokaran (INDIA)

Message: 79436   

 

Hi,

 

I am working on BF527 custom board with uClinux2009R1-RC1 distribution and 2009R1-RC7 toolchain.

 

In the custom board LAN8700 ethernet chip is used.Interface to the blackfin is same as that of BF527 EZKIT. In custom board LAN reset is controlled by GPIO.

 

In the Kernel configuration Under Network device suppor i have enabled [*]   Ethernet (10 or 100Mbit).

 

--- Ethernet (10 or 100Mbit)                                                                                          │ │

  │ │                                                -*-   Generic Media Independent Interface device support                                                              │ │

  │ │                                                <*>   Blackfin on-chip MAC support                                                                                    │ │

  │ │                                                [*]     Use L1 memory for rx/tx packets                                                                               │ │

  │ │                                                (10)    Number of transmit buffer packets                                                                             │ │

  │ │                                                (20)    Number of receive buffer packets                                                                              │ │

  │ │                                                [*]     RMII PHY Interface (EXPERIMENTAL)                                                                             │ │

  │ │                                                < >   SMC 91C9x/91C1xxx support                                                                                       │ │

  │ │                                                < >   SMSC LAN911x/LAN921x families embedded ethernet support                                                         │ │

  │ │                                                < >   DM9000 support                                                                                                  │ │

  │ │                                                < >   Broadcom 440x/47xx ethernet support

 

With iperf tool when BF527 custom board acting as a client the followings are observed.

 

1. Rx speed of ethernet is very low ( around 580 kbps instead of 91 mbps).

 

2. Tx speed is ok.

 

Please advise regarding this issue.

 

Thanks.

QuoteReplyEditDelete

 

 

2009-09-01 09:38:06     Re: Ethernet Rx speed is low in BF527 custom board

Mike Frysinger (UNITED STATES)

Message: 79439   

 

you arent using the released versions.  delete your downloads and get the actual releases.

QuoteReplyEditDelete

 

 

2009-09-01 09:52:27     Re: Ethernet Rx speed is low in BF527 custom board

Loganathan Manokaran (INDIA)

Message: 79442   

 

Hi Mike,

 

Do you mean distribution? we downloaded from the path.

 

  blackfin.uclinux.org/gf/project/uclinux-dist/frs/?action=FrsReleaseBrowse&frs_package_id=76

 

2009R1-RC1   tar ball.

 

If this is not correct can you please provide us the link from where i can get the released versions.

 

Thank you.

QuoteReplyEditDelete

 

 

2009-09-01 10:00:22     Re: Ethernet Rx speed is low in BF527 custom board

Mike Frysinger (UNITED STATES)

Message: 79443   

 

dont pick random older versions.  download the latest.

QuoteReplyEditDelete

 

 

2009-09-01 10:31:10     Re: Ethernet Rx speed is low in BF527 custom board

Loganathan Manokaran (INDIA)

Message: 79444   

 

Hi Mike,

 

We are working with this distribution 2009R1-RC1 since it is released.

 

is there any known problem in lan 8700 driver in 2009R1-RC1?

 

we are baselining this version for the product development, your suggestions will be useful for us.

 

Thank you.

QuoteReplyEditDelete

 

 

2009-09-01 10:43:29     Re: Ethernet Rx speed is low in BF527 custom board

Michael Hennerich (GERMANY)

Message: 79445    >If this is not correctcan you please provide us the link from where i

can get the released versions.

 

RC-6 is the official release version, and your link provided guides you

to the page where RC-6 can be downloaded.

 

Nevertheless I have the feeling that you have a electrical hardware

problem.

 

-Michael

QuoteReplyEditDelete

 

 

2009-09-01 10:44:15     Re: Ethernet Rx speed is low in BF527 custom board

Mike Frysinger (UNITED STATES)

Message: 79446   

 

no it isnt,  only 2009R1-RC6 is released for uclinux-dist.

QuoteReplyEditDelete

 

 

2009-09-03 12:08:26     Re: Ethernet Rx speed is low in BF527 custom board

Loganathan Manokaran (INDIA)

Message: 79571   

 

Hi Micheal,

 

I beleive what you said might be the problem, electrical hardware problem.

 

pin 17(RXD1/MODE1) and pin 18(RXD0/MODE0) are pulled up in our hardware. but after booting the kernel when i probed the pins. both are in low state, due to this the receive speed is low.

 

I tried with the custom builded uImage and also with the pre compiled uImage for BF527 Ezkit downloaded from the release section of this forum. both has the same result.

 

Can you please provide your suggestions to find where could be the problem?

 

Thank you.

QuoteReplyEditDelete

 

 

2009-09-09 03:34:11     Re: Ethernet Rx speed is low in BF527 custom board

Loganathan Manokaran (INDIA)

Message: 79696   

 

Hi ,

 

When i enable DMA has the priority over core in EBIU_AMGCTL Global Control setting

 

[ ] Enable CLKOUT                                                                                                     │ │

  │ │                                                [*] DMA has priority over core for ext. accesses                                                                      │ │

  │ │                                                    Enable Asynchonous Memory Banks (Enable All Banks)  --->

 

 

 

the RX speed is high around 90  mbps. We are seen that when we enable core has high priority over DMA the Rx speed is low (1mbps).

 

Please let us know why this DMA has the priority over core needs to be selected?

 

Thanks,

QuoteReplyEditDelete

 

 

2009-09-10 12:02:06     Re: Ethernet Rx speed is low in BF527 custom board

Robin Getz (UNITED STATES)

Message: 79756   

 

Loganathan:

 

Go read the BF537-HRM. It explains this.

 

-Robin

Attachments

    Outcomes