• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM814x and AM387x Processors Forum » 8148 EMAC
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

8148 EMAC

This question is not answered
zengxing yuan
Posted by zengxing yuan
on Mar 27 2012 06:44 AM
Intellectual295 points
Hi,
We have a design based on the DM8148 and a BCM5461 Gigabit PHY.  we use RGMII mode in our design.
Our problem is that the ethernet interface appears to can not work in u-boot.  
in u-boot we use cmd ping
ping 10.33.0.69
link up on port 0, speed 100, full duplex
Using cpsw device
ping failed; host 10.33.0.69 is not alive
We think we have the PHY hooked up correctly .
Is there ang special seting for BCM5461. 

thanks

steve

   

dm8148 u-boot
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Kefil Landou
    Posted by Kefil Landou
    on Mar 27 2012 09:43 AM
    Prodigy130 points

    Hello,

    We have the same issue. We are using a DM8148 and a LSI ET1011C Gigabit PHY. We also using the RGMII mode in our design.

    Any idea about what we are missing? Do we need to modify some drivers?

    Thank you!

    Kefil

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Benoit Parrot
    Posted by Benoit Parrot
    on Mar 27 2012 11:03 AM
    Intellectual1400 points

    Steve,
    Can you tell me which PSP/SDK software version your u-boot is based from?

    When you mentioned that you have the PHY hooked up correctly, have you verified that all the clocks are good?
    One of the things to check would also be the GMII_SEL register (TRM 3.2.43 offset 0x48140650) as well as the pin muxing.

    Regards,
    Benoit

    If my reply answers your question then please click on the "Verify Answer" button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • zengxing yuan
    Posted by zengxing yuan
    on Mar 27 2012 20:22 PM
    Intellectual295 points

    Hi,

    we use TI814X-LINUX-PSP-04.01.00.07 and PG2.1 SI,all the clocks are good.

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • zengxing yuan
    Posted by zengxing yuan
    on Mar 28 2012 00:57 AM
    Intellectual295 points

    Hi,

         GMII_SEL register is 0x30a.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kyle Manna
    Posted by Kyle Manna
    on Mar 28 2012 09:18 AM
    Intellectual355 points

    I'm using a BCM54610 and had similar issues with it, see: http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/155890.aspx

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Benoit Parrot
    Posted by Benoit Parrot
    on Mar 28 2012 12:51 PM
    Intellectual1400 points

    Steve,

    Given the information so far I assumed you have re-used the ti814x/evm.c code to setup the GMII_SEL and pinmux which being a PG2.1 silicon would sets it up for RGMII mode.
    Kyle's suggestion to disable the CPRGMII Internal Delay Mode is the next step. Try setting GMII_SEL to 0x33A.
    And see if that helps.

    Regards,
    Benoit

    If my reply answers your question then please click on the "Verify Answer" button.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Stephen Turner
    Posted by Stephen Turner
    on Mar 30 2012 01:01 AM
    Expert1890 points
    We also had problems getting the RGMII working on our custom board. http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/169257.aspx Turned out it was a clock skew issue (we didn't have the required RGMII skews set up correctly). In our case we disabled the skew on the emac and enabled them in our PHY Steve

    Stephen Turner

    AudioScience, Inc

    RGMII
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • BenM
    Posted by BenM
    on Aug 03 2012 17:53 PM
    Expert1100 points

    Kefil,

    We are using the ET1011C  as well and are having trouble getting an IP address.  Did you ever get it to work properly? If so, do you mind sharing what change you had to make?

    Many thanks,

    -Ben

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • mkeramaty
    Posted by mkeramaty
    on Aug 09 2012 12:08 PM
    Intellectual300 points

    Did anyone using the ETC1011C have any issues getting it to work with the kernel once things were working correctly in u-boot. We have made the necessary changes to to boot over tftp. However, the system fails to send anything out onto the network when trying to use DHCP when booting the kernel to get NFS.

    We are using Kernel 2.6.37. It fails with the following:

    PHY 0:00 not found

    CPSW phy found : id is : 0x282f014
    Sending DHCP requests .
    PHY: 0:01 - Link is Up - 100/Full
    .
    PHY: 0:01 - Link is Down
    PHY: 0:01 - Link is Up - 100/Full
    .
    .
    .
    .
     timed out!
    IP-Config: Retrying forever (NFS root)...
    PHY 0:00 not found

    CPSW phy found : id is : 0x282f014
    Sending DHCP requests .
    PHY: 0:01 - Link is Up - 100/Full
    .
    .
    .
    .
    .
     timed out!
    IP-Config: Retrying forever (NFS root)...
    PHY 0:00 not found

    CPSW phy found : id is : 0x282f014
    Sending DHCP requests .
    PHY: 0:01 - Link is Up - 100/Full
    .

    Thanks,

    Mark

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kefil Landou
    Posted by Kefil Landou
    on Aug 09 2012 12:30 PM
    Prodigy130 points

    Yes,

    We were able to make it work. The issue was hardware. Make sure that your hardware is configured properly to include the RGMII interface (BTMODE[9] on TI8148).

    Regards,

    Kefil

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • mkeramaty
    Posted by mkeramaty
    on Aug 09 2012 13:14 PM
    Intellectual300 points

    Kefil,

    Thank you for your answer. Right after I posted I found that there was another hard-coded phy id in the kernel as well as uboot. Problem solved!

    Thanks,

    Mark

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Prakash Divate
    Posted by Prakash Divate
    on Sep 17 2012 23:34 PM
    Intellectual345 points

    Hi,

    We are using DM8148 processor on our board. We are using EMAC1 for our Ethernet interface . The data rate transfer happens only for 100Mbps.When we try setting our PC to 1000Mbps using mii-tool eth0 -r command and then do dhcp , auto negotiation happens and the speed will be reduced to 100Mbps automatically and the data transfer takes place. Same is the problem with 10Mbps. Our PC supports 10/100/1000Mbps speed.

    Please can someone help us on this?

    Thanks

    Prakash

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • perry luo
    Posted by perry luo
    on Feb 22 2013 02:06 AM
    Prodigy30 points

    Hi Mark,

    We met the same issue in kernel as yours, and we can do DHCP in uboot env, but can not get DHCP response, and see the same log file you posted here. 

    So we would like to know the details about the hard-coded phy id part. Does that mean the phy id is duplicated and not same with want you want? If the "CPSW phy found : id is : 0x282f014" is the right phy id you used?

    Thanks,

    Perry

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • perry luo
    Posted by perry luo
    on Feb 22 2013 04:52 AM
    Prodigy30 points

    We fixed the issue. 

    we need to change the GMII_SEL value in cpsw_probe() function, from 0x33a to 0x30a, add the internal delay.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use