LX2160 : LSdk 21.08 : MC 10.32 : Restool 2.4 : dpmac.4/dpmac.3 not detecting

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

LX2160 : LSdk 21.08 : MC 10.32 : Restool 2.4 : dpmac.4/dpmac.3 not detecting

ソリューションへジャンプ
1,548件の閲覧回数
Chidananda22
Contributor III

Model: NXP Layerscape LX2160ARDB Board
Board: LX2160ACE Rev2.0-RDB, Board version: C, boot from FlexSPI DEV#0

fsl-mc: Booting Management Complex ... SUCCESS
fsl-mc: Management Complex booted (version: 10.32.0, boot status: 0x1)

[ 4.432377] fsl_dpaa2_mac dpmac.4: Adding to iommu group 10
[ 4.444118] fsl_dpaa2_mac dpmac.4 (unnamed net_device) (uninitialized): phylink_fwnode_phy_connect() = -19
[ 4.453773] fsl_dpaa2_mac dpmac.4: Error connecting to the MAC endpoint
[ 4.460893] fsl_dpaa2_mac dpmac.4: fsl_mc_driver_probe failed: -19
[ 4.467197] fsl_dpaa2_mac dpmac.3: Adding to iommu group 10
[ 4.478894] fsl_dpaa2_mac dpmac.3 (unnamed net_device) (uninitialized): phylink_fwnode_phy_connect() = -19
[ 4.488560] fsl_dpaa2_mac dpmac.3: Error connecting to the MAC endpoint
[ 4.495692] fsl_dpaa2_mac dpmac.3: fsl_mc_driver_probe failed: -19

0 件の賞賛
返信
1 解決策
1,493件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

It seems that there is problem with your dpl file, please modify LSDK 21.08 original DPL file dpl-eth.19.dts as the following.

/* ------------ DPNIs --------------*/
obj_set@dpni {
type = "dpni";
ids = <0x0 0x1>;
};

Modify to:

obj_set@dpni {
type = "dpni";
ids = <0x0 0x1 0x2 0x3>;
};

Then adding the following section in  "Connections" section.

connection@3 {
endpoint1 = "dpni@2";
endpoint2 = "dpmac@3";
};

connection@4 {
endpoint1 = "dpni@3";
endpoint2 = "dpmac@4";
};

元の投稿で解決策を見る

4 返答(返信)
1,461件の閲覧回数
Chidananda22
Contributor III

Thanks I will change and update.

0 件の賞賛
返信
1,459件の閲覧回数
Chidananda22
Contributor III

thanks for Quick Reply and help .

After installing the dtb file getting the same error, Attached boot logs.

As per LSDK guide I will use the below command and try to load dpl file.

dtc -I dts -O dtb dpl-eth.19.dts -o dpl-eth.19.dtb

followed the below steps .

https://community.nxp.com/t5/Layerscape-Knowledge-Base/LX2160ARDB-How-to-update-MC-firmware-DPC-and-...

 

 

0 件の賞賛
返信
1,504件の閲覧回数
Chidananda22
Contributor III

fsl-mc: Deploying data path layout ... WARNING: Firmware returned an error (GSR: 0x3f)

Can you please suggest how to solve.

0 件の賞賛
返信
1,494件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

It seems that there is problem with your dpl file, please modify LSDK 21.08 original DPL file dpl-eth.19.dts as the following.

/* ------------ DPNIs --------------*/
obj_set@dpni {
type = "dpni";
ids = <0x0 0x1>;
};

Modify to:

obj_set@dpni {
type = "dpni";
ids = <0x0 0x1 0x2 0x3>;
};

Then adding the following section in  "Connections" section.

connection@3 {
endpoint1 = "dpni@2";
endpoint2 = "dpmac@3";
};

connection@4 {
endpoint1 = "dpni@3";
endpoint2 = "dpmac@4";
};