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.

AM1808 - RMII network port losing connection

Other Parts Discussed in Thread: AM1808

Using AM1808 EVM, linux-2.6.33-rc4-psp03.20.00.14.sdk and u-boot-2009.11-psp03.20.00.13 

We have rebuilt the u-boot to make use of the RMII network interface and we are finding that it seems to be going UP and DOWN (sometimes it works and sometimes it doesn’t work).  We have seen this on two different EVMs so we are certain that it’s not an issue isolated to the board set.  When the target is connected directly to the host via a network cross over cable, it takes a little longer to go bad than when connected via the company network (lots of traffic), but in both cases the RMII network quits  working and drops the connection.  Any clues for us on that one?

A few more details, We are using uboot we got with the development kit. Uboot has a version of U-Boot 2009.11-svn15.  We rebuilt uboot to enable RMII by setting undef CONFIG_MII and defined CONFIG_DRIVER_TI_EMAC_USE_RMII.  By looking at uboot code it looks like both of the phys have a address of 0 and they are selected by a phy mode.  The RMII phy is located on the UI board and the MII phy is on the base board. It looks like when this failure exists I can see that the link lite goes off. The mode selection is made by a i2c expander.  We are testing this by downloading via tftp a kernel image.

Regards.

  • Hi,

    I'll start the same test here on my setup and update the results tomorrow.

    Regards, Sudhakar

  • Here is some additional information on the issue:

    It happens on initial reset. The ethernet will time out since it won't connect and then after it times out it will restart and connect. So appears something on initial reset is not resetting the RMII interface. Any thoughts?? I have sent to Logic PD support to see if they may have a suggestion on the resetting procedure of the RMII, it has different signaling then the MII interface does, so not sure if that is the issue..

    Regards.

  • Hi Tommy,

    Yesterday night I left an EVM which was doing a tftp of the Linux Kernel Image from U-Boot using RMII. EVM was connected to the corporate network and I ran the below script from U-Boot to download the Kernel image.

    while true; do; tftp c0700000 uImage; done

    This script ran for 14 hours without any issues. I had used the prebuilt UBL binary from 03.20.00.12 release. I built the U-Boot binary from the same package after defining CONFIG_DRIVER_TI_EMAC_USE_RMII in include/configs/da850evm.h file.

    The revision numbers of the base board and the daughter card used is attached with the reply.

    Regards, Sudhakar

    EVM_Details.zip
  • Sudhakar,

    Thanks for the testing.  Good to know that device and EVM are not causing the problem. 

    I noticed that you are using an older version of SW than setup experiencing the issue.  Would it be possible to test with the exact SW listed above: 
         linux-2.6.33-rc4-psp03.20.00.14.sdk and u-boot-2009.11-psp03.20.00.13 

    Regards.

  • Sudhakar,

    Could you also send revision number information for AM1808 SOM?  We are exploring the differences between your set up and the system under test.

    Thanks.

  • Hi Tommy,

    The sticker on the SOM which will have the version information has come out. Is it possible to get this information from Logic PD if we provide the MAC address? MAC address of the SOM I used to test is 00:08:ee:03:6a:c4.

    Regards, Sudhakar

  • Hi Sudhakar,

    I don't think checking HW is not necessary anymore based on work done to add PHY reset to U-Boot and study being done on DHCP during U-Boot startup.

    Could you post final recommended actions once you complete your investigation/testing?

    Regards.