[LX2160ARDB] How can I setup DPNI & DPMAC connection?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

[LX2160ARDB] How can I setup DPNI & DPMAC connection?

1,161件の閲覧回数
jhkim2
Contributor III

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

0 件の賞賛
返信
1 返信

1,151件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信