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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,284 Views
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.

Tags (3)
0 Kudos
Reply
2 Replies

1,172 Views
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 Kudos
Reply

1,177 Views
markusm
Contributor I

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

0 Kudos
Reply