This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335X - RMII Speed only 10MB on SDK8.0

Dears,


Ours soultion is EMAC1 through RMII to connect the 10/100 phy, it could ping success, and link up is 100 full duplex,

but it's speed seem to be 10M when I tftp the file into the DUT from PC.

Our DUT speed(RMII):

U-Boot# tftp 0x82000000 zImage;
link up on port 1, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.10; our IP address is 192.168.1.87
Filename 'zImage'.
Load address: 0x82000000
Loading: #####################################################
         258.8 KiB/s
done
Bytes transferred = 765286 (bad66 hex)
U-Boot#

BBB EVB speed(MII):

U-Boot# tftp 0x82000000 zImage;
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 192.168.1.10; our IP address is 192.168.1.87
Filename 'zImage'.
Load address: 0x82000000
Loading: #####################################################
         3.1MB/s
done
Bytes transferred = 765286 (bad66 hex)
U-Boot#

Please provide the suggestion for the question, if you want to know what register value, please let me know, thanks.

B.R.

Joe

  • Joe,

    Please check MAC Control Register in Ethenet Subsystem and GMII_SEL register in control Module.

    MACCONTROL: 0x4A10_0D84 ( check in TRM ->Ethernet subsystem chapter -> CPSW_SL Registers -> MACCONTROL)
    GMII_SEL : 0x44E1_0650 ( Check in TRM -> Control Module Chapter -> GMII_SEL Register ( Offset -0x650)


    -Murali Krishna Dama

  • Joe,

    Please go through a link that is found on the same topic.

    https://e2e.ti.com/support/arm/sitara_arm/f/791/t/268577

    -Murali Krishna Dama

  • Hi Sir

    We have done the experiment in kernel and uboot stage. And found the register settings are all the same.
    But the speed for data transmission in uboot and application stage has big gap.

    in uboot for rmii1 :
    we use tftp to download files and found the speed is 258.8 KiB/s

    in application for rmii1:
    we use iperf to do test and found the through put up to 83MB/S

    BTW, we dumped the registers as below. they are all the same in uboot and kernel.

    read phy addr: 0x2 reg: 0x0 value : 0x3100
    read phy addr: 0x2 reg: 0x1 value : 0x786d
    read phy addr: 0x2 reg: 0x5 value : 0x41e1
    write phy addr: 0x2 reg: 0x1f value : 0x7
    read phy addr: 0x2 reg: 0x10 value : 0xffa

    Read at address 0x44E10650 (0xb6fa2650): 0x00000086
    Read at address 0x4A100DC4 (0xb6fd9dc4): 0x00008021
    Read at address 0x4A100DC8 (0xb6fd4dc8): 0x80000000

    Any advice or suggestion would be appreciated. thanks in advance.

    BR
    Yimin
  • Hi Yimin,

    Please open a fresh thread on the Sitara forum if you are still looking for help on this issue.
    Here we focus on StarterWare related issues.

    I will be closing this thread here.

    Regards
    Sandhya