Thank you for answer.
It changed the dts file as shown below.
enet2: ethernet@26000 {
#address-cells = <1>;
#size-cells = <1>;
cell-index = <2>;
device_type = "network";
model = "eTSEC";
compatible = "gianfar";
reg = <0x26000 0x1000>;
ranges = <0x0 0x26000 0x1000>;
local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = <31 2 32 2 33 2>;
interrupt-parent = <&mpic>;
tbi-handle = <&tbi1>;
phy-handle = <&phy1>;
phy-connection-type = "sgmii";
ptimer-handle = <&ptp_timer>;
mdio@520 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,gianfar-tbi";
reg = <0x520 0x20>;
tbi1: tbi-phy@11 {
reg = <0x11>;
device_type = "tbi-phy";
};
};
};
u-boot board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c has also changed the file, as shown below.
#ifdef CONFIG_TSEC3
SET_STD_TSEC_INFO(tsec_info[num], 3);
if (is_serdes_configured(SGMII_TSEC3)) {
printf("eTSEC3 is in sgmii mode.\n");
tsec_info[num].flags |= TSEC_SGMII;
}
num++;
#endif
The following message during boot is OK.
Net: eTSEC2 is in sgmii mode.
eTSEC3 is in sgmii mode.
No address specified for VSC7385 microcode.
However, if an eth2 comes up as shown below.
root@p2020rdb:~# ifconfig eth2 up
net eth2: error: SGMII mode requires that the device tree specify a tbi-handle
When you set all the ip and ping eth1 eth2 that this behavior is not doing the operation, during the operation, eth2 eth1 do not speak the operation. This is only one of two ping.
eth1 phy address is 0, eth2 phy address is 1.
Where do you fix the more?
Thank you.
Best regards,
gyosun.