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,283件の閲覧回数
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,171件の閲覧回数
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,176件の閲覧回数
markusm
Contributor I

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

0 件の賞賛
返信