Hello,
I'm trying to bridge eth0 with eth1 in my custom board based on imx8mpevk. I can add eth0 but when I try to add eth1 (connected to my external switch) I give this message in dmesg:
~$ sudo brctl addif br1 eth1
[ 5297.714895] imx-dwmac 30bf0000.ethernet eth1: Adding VLAN in promisc mode not supported
[ 5297.737609] imx-dwmac 30bf0000.ethernet eth1: failed to initialize vlan filtering on this port
[ 5297.746948] imx-dwmac 30bf0000.ethernet eth1: Adding VLAN in promisc mode not supported
[ 5297.769982] imx-dwmac 30bf0000.ethernet eth1: failed to initialize vlan filtering on this port
can't add eth1 to bridge br1: Operation not permitted
The kernel used is:
5.10.35-lts-5.10.y+gef3f2cfc6010
Individually I can change eth1 to promisc mode, but the operation is not permitted again
Can anyone help me or explain why I can't add eth1 to the bridge?
In kernel I have the modules included
CONFIG_BRIDGE=y
CONFIG_BRIDGE_NETFILTER=y
CONFIG_VLAN_8021Q=y
Thank you
Yes, I have one ethernet (eth0) connected vía layout (PCB) with another module (BPL) and the ethernet (eth1) is the only one that I have access via RJ45 connector, so I want to connect my PC to eth1 and go through eth0 to my BPL device to create a PLC network and replicate with another device the same structure.
The scheme would be something like that:
PC1 -- RJ45-- eth1--iMX8MP_1--eth0--BPL_MODULE--COAX--BPL_MODULE--eth0--iMX8MP_2--eth1--RJ45--PC2
From eth1 to BPL_MODULE_1 is one device, and is connected through COAXIAL to another.
So I want to do ping from PC1 to PC2, and connected all to the same network I have problems with the iMX8MP, I don't know why, but doesn't work well. I think that the solution is via bridge, what do you think about?
Thanks.
Hi,
We have exactly the same problem. Adding the 30bf0000.ethernet interface to a bridge fails, triggering the same traces.
Would it be possible to have the patch that fixes the problem, please? We are using Yocto for creating a Linux distro.
Hello, we are interested in the same solution. We are getting the following:
```
[60987.948710] imx-dwmac 30bf0000.ethernet eth1: Adding VLAN in promisc mode not supported
[60987.965959] imx-dwmac 30bf0000.ethernet eth1: failed to initialize vlan filtering on this port
```
Can you assist?
** EDIT **
Hello @Rita_Wang,
Could you email the file/files our way also?
Best regards,
Magnus
Hi @Rita_Wang ,
Can you please share patch to enable dual ethernet on Android 11.
our eth0 is up and working but eth1 is showing below error.
01-01 00:02:30.537 0 0 E : imx-dwmac 30bf0000.ethernet eth1: no phy at addr -1
01-01 00:02:30.543 0 0 E : imx-dwmac 30bf0000.ethernet eth1: stmmac_open: Cannot attach to PHY (error: -19)