TSN Switch problem with OpenIL

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TSN Switch problem with OpenIL

761 次查看
ainolike
Contributor III

Hi,

I have some problem when using LS1028A TSN switch. The TSN Switch configuration as follows in Linux.

ip link set eno2 up

ip link add name switch type bridge

ip link set dev swp0 master switch && ip link set swp0 up

ip link set dev swp1 master switch && ip link set swp1 up

ip link set dev swp2 master switch && ip link set swp2 up

ip link set dev swp3 master switch && ip link set swp3 up

ifconfig switch 192.168.1.100

When using openil-v1.10, if I plug in the network cable first and then configure the command, I can ping the host at the other end of the network. If I configure the command first and then plug in the network cable, I cannot ping the host at the other end of the network, but after I plug in the network cable again, I can ping the host at the other end of the network.

When using LSDK2004, no matter I configure the command first or plug in the network cable, it can ping normally.

0 项奖励
回复
2 回复数

719 次查看
ainolike
Contributor III

The PHY chip has been linked up, but the LINK_STAT bit of QSGMII Status Register is still 0. Why does this bit not change?In what circumstances will it change?

0 项奖励
回复

733 次查看
ainolike
Contributor III

Hi,

I found it is because the value of MDIO_QSGMII  status register still 0x9. Why does this register take effect on linking up. My PHY connects to EMDIO.

0 项奖励
回复