导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. breaktime1903
    B
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 66
    • 主题 1
    • 帖子 1
    • 最佳 0
    • 群组 0

    breaktime1903LV 2

    @breaktime1903

    66
    积分
    0
    声望
    1
    资料浏览
    1
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    breaktime1903 取消关注 关注

    breaktime1903 发布的最新帖子

    • T113S3 主线内核 如何使能EMAC 25MHz时钟

      内核版本是6.12.35
      内核日志如下:
      [ 0.264623] dwmac-sun8i 4500000.ethernet: IRQ eth_wake_irq not found
      [ 0.268356] ehci-platform 4200000.usb: irq 36, io mem 0x04200000
      [ 0.272992] dwmac-sun8i 4500000.ethernet: IRQ eth_lpi not found
      [ 0.273002] dwmac-sun8i 4500000.ethernet: IRQ sfty not found
      [ 0.273382] dwmac-sun8i 4500000.ethernet: PTP uses main clock
      [ 0.275620] hub 2-0:1.0: 1 port detected
      [ 0.281819] dwmac-sun8i 4500000.ethernet: Current syscon value is not the default 58000 (expect 0)
      [ 0.303961] ehci-platform 4200000.usb: USB 2.0 started, EHCI 1.00
      [ 0.314219] dwmac-sun8i 4500000.ethernet: No HW DMA feature register supported
      [ 0.319352] hub 1-0:1.0: USB hub found
      [ 0.323451] dwmac-sun8i 4500000.ethernet: RX Checksum Offload Engine supported
      [ 0.329956] hub 1-0:1.0: 1 port detected
      [ 0.339431] dwmac-sun8i 4500000.ethernet: COE Type 2
      [ 0.623933] usb 1-1: new high-speed USB device number 2 using ehci-platform
      [ 0.629268] dwmac-sun8i 4500000.ethernet: TX Checksum insertion supported
      [ 0.815287] hub 1-1:1.0: USB hub found
      [ 0.819142] dwmac-sun8i 4500000.ethernet: Normal descriptors
      [ 0.827001] hub 1-1:1.0: 4 ports detected
      [ 0.835403] dwmac-sun8i 4500000.ethernet: Chain mode enabled
      [ 1.263936] usb 1-1.3: new high-speed USB device number 3 using ehci-platform
      [ 1.537277] dwmac-sun8i 4500000.ethernet: EMAC reset timeout
      [ 1.542964] dwmac-sun8i 4500000.ethernet eth0: stmmac_dvr_remove: removing driver
      [ 1.584892] dwmac-sun8i 4500000.ethernet: probe with driver dwmac-sun8i failed with error -110
      设备树配置如下:
      &emac {
      pinctrl-0 = <&rmii_pg_clk25m_pins>;
      pinctrl-names = "default";
      phy-mode = "rmii";
      phy-handle = <&ip101gr>;
      phy-supply = <&reg_3v3>;
      clocks = <&ccu CLK_BUS_EMAC>,<&ccu CLK_EMAC_25M>;
      clock-names = "stmmaceth","ephy25m";
      use_ephy25m = <1>;
      status = "okay";
      };

      &mdio{
      status = "okay";
      reset-assert-us = <10000>;
      reset-post-delay-us = <150000>;
      reset-deassert-us = <150000>;
      reset-gpios = <&pio 6 6 GPIO_ACTIVE_LOW>; /* PG6 */
      ip101gr: ethernet-phy@0 {
      // compatible = "ethernet-phy-ieee802.3-c22";
      // compatible = "ethernet-phy-id001c.c816";
      compatible = "ethernet-phy-id0243.0c54","ethernet-phy-ieee802.3-c22";
      reg = <0>;
      };
      };

      现在的问题是我没办法识别出PHY,而且用示波器去看EPHY-25M引脚也没有时钟输出,问一下主线内核该怎么开启内部时钟输出?

      发布在 T Series
      B
      breaktime1903