EQOS mac (imx-dwmac driver) freezes the system when bridge is configured

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

EQOS mac (imx-dwmac driver) freezes the system when bridge is configured

1,287 次查看
RenePinto
Contributor I

I'm working on two different boards with i.MX8MP:

1) Board A uses a DP83867 PHY

2) Board B uses an Atheros AR803x PHY

Both works out of the box in a default setup. However, when I try to configure a bridge and assign the eqos interface (eth1) to the bridge, the whole system freezes (no kernel crash messages, nothing, just freezes...).

The problem was observed with two different BSPs and different kernel versions: 5.10. 5.15 and 6.2

Steps to reproduce it's pretty simple, just try to configure a bridge and assign eth1 to it. During the startup, when interface is being configured, the system freezes.

标记 (3)
0 项奖励
回复
2 回复数

1,175 次查看
RenePinto
Contributor I

Yes@markusm ,my workaround was to let clocks enabled in stmmac_dvr_probe(). You can take a look here:

https://github.com/lf-edge/eve/pull/3085/commits/b417dacaa68de132d85171d5aa88e6c59fa76b03#diff-ce01c...

And to make bridge work properly I also applied this patch (took from this forum):

https://github.com/lf-edge/eve/pull/3085/commits/b417dacaa68de132d85171d5aa88e6c59fa76b03#diff-122b2...

 

0 项奖励
回复

1,180 次查看
markusm
Contributor I

I am having a similar issue. Did you manage to resolve it?

0 项奖励
回复