Please refer to the following procedure.
1. $ flex-builder -c mc_utils -m lx2160ardb
2.Please backup and modify dpc-usxgmii.dts and dpl-eth.19.dts in folder flexbuild_lsdk2012/packages/firmware/mc_utils/config/lx2160a/RDB.
In dpc-usxgmii.dts, please modify the following section.
board_info {
ports {
mac@3 {
link_type = "MAC_LINK_TYPE_PHY";
enet_if = "USXGMII";
};
mac@4 {
link_type = "MAC_LINK_TYPE_PHY";
enet_if = "USXGMII";
};
mac@17 {
link_type = "MAC_LINK_TYPE_PHY";
};
mac@18 {
link_type = "MAC_LINK_TYPE_PHY";
};
};
In dpl-eth.19.dts, please modify the following section.
connections {
connection@1 {
endpoint1 = "dpni@0";
endpoint2 = "dpmac@17";
};
connection@2 {
endpoint1 = "dpni@1";
endpoint2 = "dpmac@2";
};
};
3. $ flex-builder -c mc_utils -m lx2160ardb
4. You will get new dpc-usxgmii.dtb and dpl-eth.19.dtb in folder flexbuild_lsdk2012/packages/firmware/mc_utils/config/lx2160a/RDB.