Navigation

    全志在线开发者论坛

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

    基于D1s的以太网调试

    MR Series
    8
    11
    4940
    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.
    • R
      ricky LV 6 last edited by

      调试验证成功了

      1:把gmac驱动选上,make kernel_menuconfig -> Device Drivers -> Network device support -> Ethernet driver support 目录下的Allwinner GMAC support和Use extern phy
      把make kernel_menuconfig -> Device Drivers -> Network device support的PHY Device support and infrastructure也选上
      2:修改tina-f133/device/config/chips/f133/configs/evb1/linux-5.4/board.dts
      gmac_pins_a: gmac@0 {
      pins = "PG0", "PG1", "PG2", "PG3",
      "PG4", "PG5", "PG12", "PG13",
      "PG14", "PG15";
      drive-strength = <10>;
      };
      gmac_pins_b: gmac@1 {
      pins = "PG0", "PG1", "PG2", "PG3",
      "PG4", "PG5", "PG12", "PG13",
      "PG14", "PG15";
      function = "gpio_in";
      };
      &gmac0 {
      phy-mode = "rmii";
      use_ephy25m = <0>;
      pinctrl-0 = <&gmac_pins_a>;
      pinctrl-1 = <&gmac_pins_b>;
      pinctrl-names = "default", "sleep";
      /phy-rst = <&pio PE 16 GPIO_ACTIVE_HIGH>;/
      status = "okay";
      };

      K 1 Reply Last reply Reply Quote Share 0
      • M
        memory LV 7 last edited by

        这是哪个PHY芯片呢?

        R 1 Reply Last reply Reply Quote Share 0
        • xiaowenge
          DOT小文哥 LV 8 last edited by

          牛逼 接方案定制吗

          R 1 Reply Last reply Reply Quote Share 0
          • R
            ricky LV 6 @memory last edited by

            @memory RTL8305NB-CG

            1 Reply Last reply Reply Quote Share 0
            • R
              ricky LV 6 @xiaowenge last edited by

              @xiaowenge 接的啊,养家糊口,来来来

              Z 1 Reply Last reply Reply Quote Share 0
              • Z
                zibon LV 2 @ricky last edited by

                @ricky 我也用以太网方案,能支持吗?

                R 1 Reply Last reply Reply Quote Share 0
                • R
                  ricky LV 6 @zibon last edited by

                  @zibon 支持啊,加Q 554191789

                  1 Reply Last reply Reply Quote Share 0
                  • K
                    kevin_allwinner LV 5 @ricky last edited by

                    @ricky 在 基于D1s的以太网调试 中说:

                    把make kernel_menuconfig -> Device Drivers -> Network device support的PHY Device support and infrastructure也选上

                    这里需要选具体的芯片吗?我用的是DP83848,能出现以下情况:
                    a32972ba-fd1d-4da6-a087-744b5e612fcb-image.png
                    但是执行udhcpc,是以下结果
                    dc4b558d-5c63-4b31-8354-389b7bd61799-image.png

                    S J 2 Replies Last reply Reply Quote Share 0
                    • T
                      towel_roll LV 4 last edited by

                      调过rgmii的吗,要怎么调,我调不动

                      1 Reply Last reply Reply Quote Share 0
                      • S
                        shuaige LV 6 @kevin_allwinner last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote Share 0
                        • J
                          Jingyan LV 5 @kevin_allwinner last edited by

                          @kevin_allwinner 一般通用驱动就能满足大部分需求,如果有特殊功能则需要使用专用PHY驱动

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

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

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