why dprc contain the dpmac.18, dpmac.17, and no dpmac.10 ???

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

why dprc contain the dpmac.18, dpmac.17, and no dpmac.10 ???

Jump to solution
741 Views
156614400
Contributor III

why dprc contain the dpmac.18, dpmac.17, and no dpmac.10 ???

1  /flexbuild_lsdk2004_update_290520/packages/firmware\mc_utils\config\lx2160a\RDB
at this path, I change the dts files, dpc-usxgmii.dts, dpc-warn.dts,dpl-2dpni.dts,dpl-eth.19.dts.  
only remain mac3, mac10  setting,  and I rebuild the uboot and firmware, 

flex-builder -i clean-firmware
flex-builder -c atf -m lx2160ardb_rev2 -b sd
flex-builder -i mkfw -m lx2160ardb_rev2 -b sd

2  /flexbuild_lsdk2004_update_290520/packages/linux\linux\arch\arm64\boot\dts\freescale
in this path, I change fsl-lx2160a-rdb.dts,  only remain &dpmac3 , &dpmac10,  and  I delete the /flexbuild_lsdk2004_update_290520/build/linux,  and  rebuild the kernel and device tree,
flex-builder -m lx2160ardb_rev2 -a arm64

3 I write firmware to SD card
flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r rootfs_lsdk2004_ubuntu_main_arm64.tgz -f firmware_lx2160ardb_rev2_uboot_sdboot.img -d /dev/sdx

4 but power on, in linux , show message as this, contain the dpmac.18, dpmac.17, and no dpmac.10
root@localhost:~# ls-listmac
dprc.1/dpmac.18
dprc.1/dpmac.17
dprc.1/dpmac.6
dprc.1/dpmac.5
dprc.1/dpmac.4
dprc.1/dpmac.3 (end point: dpni.0)

5 How can I do, ls-listmac can only show dpmac.3, dpmac.10, not show dpmac.4,dpmac.5,dpmac.6,dpmac.17,dpmac.18 ???
Thanks

0 Kudos
1 Solution
728 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to RCW[SRDS_PRTCL_S1] definition in lx2160A reference manual.

yipingwang_0-1603356603044.png

You could define RCW[SRDS_PRTCL_S1] as 18 to include dpmac10.

In file packages/firmware/mc_utils/config/dpl-eth.19.dts, you could modify dpmac definition as the following.

/* ------------ DPMACs --------------*/
obj_set@dpmac {
type = "dpmac";
ids = <0x3 0xa>;
};

In "Objects" definition, please delete dpmac@2, dpmac@4, dpmac@5, dpmac@6, dpmac@17 and dpmac@18 definition, and add dpmac@10 definition.

Please delete "Connections" definition.

View solution in original post

2 Replies
739 Views
156614400
Contributor III
 
0 Kudos
729 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to RCW[SRDS_PRTCL_S1] definition in lx2160A reference manual.

yipingwang_0-1603356603044.png

You could define RCW[SRDS_PRTCL_S1] as 18 to include dpmac10.

In file packages/firmware/mc_utils/config/dpl-eth.19.dts, you could modify dpmac definition as the following.

/* ------------ DPMACs --------------*/
obj_set@dpmac {
type = "dpmac";
ids = <0x3 0xa>;
};

In "Objects" definition, please delete dpmac@2, dpmac@4, dpmac@5, dpmac@6, dpmac@17 and dpmac@18 definition, and add dpmac@10 definition.

Please delete "Connections" definition.