Consti10

Consti10

0个粉丝

1

问答

0

专栏

0

资料

Consti10  发布于  2021-10-13 21:41:34
采纳率 0%
1个问答
3546

RV1126 sdk v2.2.0 ethernet doesn't work on A201

Hello,

The “new” rv1126_rv1109_v2.2.0_20210825 sdk doesn’t work fully with A201 board.
1) the rv1126-aybering.dts file is missing. This can be fixed by copying rv1126-aybering.dts and BoardConfig-aybering.dts to the right locations. However, the aybering “gmac” node does not compile.
Therefore, the ethernet port on A201 board doesn’t work.

The compilation errors are:

Reference to non-existing node or label “rgmiim1_pins” and
Reference to non-existing node or label “clck_out“ethernetm1_pins”

By using the “gmac”node from the rv1126-38x38-emmc.dts” file the repository compiles (and the camera for example works,tested) but ethernet obviosly doesn’t.

我来回答
回答2个
时间排序
认可量排序

david

8个粉丝

36

问答

24

专栏

58

资料

david 2021-10-14 16:59:50
认可0

看下1.8 版本的 dts和 2.2的区别. 先不要直接copy

Consti10

0个粉丝

1

问答

0

专栏

0

资料

Consti10 2021-10-16 19:32:32
认可0

I managed to solve the issue using the following “gmac” node:

&gmac {
phy-mode = “rgmii”;
clock_in_out = “input”;

snps,reset-gpio = <&gpio3 RK_PA0 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
/ Reset time is 20ms, 100ms for rtl8211f /
snps,reset-delays-us = undefined

assigned-clocks = <&cru CLK_GMAC_SRC>, <&cru CLK_GMAC_TX_RX>, <&cru CLK_GMAC_ETHERNET_OUT>;
assigned-clock-parents = <&cru CLK_GMAC_SRC_M1>, <&cru RGMII_MODE_CLK>;
assigned-clock-rates = <125000000>, <0>, undefined

pinctrl-names = “default”;
/ This one is the original what was in the new sdk /
/ pinctrl-0 = <&rmiim0_miim &rgmiim0_rxer &rmiim0_bus2 &rgmiim0_mclkinout>;/
/ This one is from the old rv1126-aybering.dts/
/ pinctrl-0 = <&rgmiim1_pins &clk_out_ethernetm1_pins>; /
/ This one is from rv1126-evb-v10.dtsi/
pinctrl-0 = <&rgmiim1_miim &rgmiim1_bus2 &rgmiim1_bus4 &clkm1_out_ethernet>;

tx_delay = <0x2a>;
rx_delay = undefined

phy-handle = <&phy>;
status = “okay”;
};

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区