hi,
My ls1028 hardware sets the switch‘s four port as sgmii-2.5G,setting the serdes1 sgmii-2.5 by rcw=7777
but,running the order “ifconfig -a”,I cannot find swp0 swp1 swp2 swp3
and,the path /sys/bus/pci/devices/0000:00:00.5/net/ doesn't exit,not having swp0-3 also
That's why?
May I missed some other software configuration?
tks!
For Kernel configuration, please refer to the following.
CONFIG_MSCC_OCELOT_SWITCH=y
CONFIG_NET_DSA_MSCC_FELIX=y
CONFIG_FSL_ENETC_MDIO=y
For dts configuration, please refer to mscc_felix_ports device node definition in arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-7777.dts in Linux Kernel source code.
fragment@1 {
target = <&mscc_felix_ports>;
__overlay__ {
port@0 {
status = "okay";
phy-handle = <&slot1_sxgmii0>;
phy-mode = "2500base-x";
};
port@1 {
status = "okay";
phy-handle = <&slot1_sxgmii1>;
phy-mode = "2500base-x";
};
port@2 {
status = "okay";
phy-handle = <&slot1_sxgmii2>;
phy-mode = "2500base-x";
};
port@3 {
status = "okay";
phy-handle = <&slot1_sxgmii3>;
phy-mode = "2500base-x";
};
};
};
我也遇到同样的问题,请问如何解决的?为什么会出现TTTT呢?