Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    mq-dual接lan8720的模块phy报错

    MR Series
    2
    3
    1406
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      ddrddr LV 5 last edited by

      大佬们,我给mq-dual接了个lan8720的模块,插上网线后,phy报这个错误咋搞。看代码,这里是在读千兆Phy才有的寄存器,有点没头绪。系统是官方Tina+补丁

      QQ图片20230605105101.jpg

      1 Reply Last reply Reply Quote Share 0
      • D
        ddrddr LV 5 last edited by

        问题解决,全志的sunxi-gmac.c里暴力写了个phydev->is_gigabit_capable = 1 然后phy驱动就去访问不存在的千兆寄存器,把lan8720搞死了

        QQ图片20230605105211.jpg

        Q 1 Reply Last reply Reply Quote Share 1
        • Q
          qqqlb LV 6 @ddrddr last edited by

          @ddrddr 大佬,这里你是把这一行注释掉吗?还是说做了其它判断?

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策