Hi,
When my LX2160ardb board boots in linux, the dpni and dpmac connection is as follows:
root@localhost:/# ls-listmac
dprc.1/dpmac.18
dprc.1/dpmac.17 (end point: dpni.0)
dprc.1/dpmac.6
dprc.1/dpmac.5
dprc.1/dpmac.4
dprc.1/dpmac.3 (end point: dpni.2)
dprc.1/dpmac.2 (end point: dpni.1)
root@localhost:/#
But, my firmware configuration of mc_utils (mc_utils/config/lx2160a/LX2160A-RDB/dpl-eth.19.dts) is this :
......
connections {
connection@1 {
endpoint1 = "dpni@0";
endpoint2 = "dpmac@17";
};
connection@2 {
endpoint1 = "dpni@1";
endpoint2 = "dpmac@2";
};
};
How "dprc.1/dpmac.3 (end point: dpni.2)" is set? (Where this configuration is set?)
How can I remove above "dprc.1/dpamc3 (endpoint:dpn.2)" setting?
Thanks in advance
J.Hwan Kim
I used LSDK 21.08 pre-built image to boot up LX2160ARDB and get the result as the following.
root@localhost:~# ls-listmac
dprc.1/dpmac.18
dprc.1/dpmac.17 (end point: dpni.0)
dprc.1/dpmac.6
dprc.1/dpmac.5
dprc.1/dpmac.4
dprc.1/dpmac.3
dprc.1/dpmac.2 (end point: dpni.1)
Probably you modified the DPL file by mistake.
Please remove "dprc.1/dpamc3 (endpoint:dpn.2)" with the following commands.
$ restool dprc disconnect dprc.1 --endpoint=dpmac.3
$ echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind
$ restool dpni destroy dpni.2