ls1028a minimal switch configuration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ls1028a minimal switch configuration

367件の閲覧回数
_mkl
Contributor II

Hello,

I need help to get the TSN switch on ls1028ardb initialized as standalone switch.
After following the reset steps for the switch core and each port, the statistics counter adding up correctly received frames on all ports (broadcasts (ARP) and multicasts (PTP)). However, nothing is forwarded to other ports, the egress queue stays empty and also the drop count stays at 0.
I also tried to enable mirroring learn frames to an external port, but nothing arrives.

So my question is: What is the required register configuration for the switch to act independetly as L2 switch (without external CPU extraction/injection)?

Note: I am developing a driver for embedded RTOS, not Linux.

ラベル(1)
タグ(3)
0 件の賞賛
1 返信

313件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

All registers configuration have been include in Linux kernel driver, there is no hidden dependency. However some registers cannot be dumped, please use this method to check what registers have been configured by Linux.


I think customer can create one new function in our driver for writing register, and invoke our original write function.
In this new function, you can print the register address and the value to be set.
Customer can see whether they omit some registers.

 

For example,

For enetc,

You could define you own function iowrite32_tsn to invoke iowrite32 and print the register information. Then in file drivers/net/ethernet/freescale/enetc/enetc_hw.h, please replace all iowrite32 with iowrite32_tsn.

0 件の賞賛