Tomi Cederqvist
Niila Rautanen
Pasi Helin
16.9.2005
1 (17)
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
2 (17)
16.9.2005
Edition history:
Versio
n
0.1
Date
State
Author
15.9.2005
Draft
Tomi
Cederqvist,
Niila Rautanen,
Pasi Helin
Comment
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
3 (17)
16.9.2005
Content:
1. SERVICE TERMINALS.........................................................................................................................4
PIR4ST.....................................................................................................................................................4
UBISTE.....................................................................................................................................................4
2. traffic flow in sf20..................................................................................................................................5
3. ub2g5np................................................................................................................................................6
SSTAT..................................................................................................................................................7
PSTAT..................................................................................................................................................7
4. PI40SAX................................................................................................................................................9
GSTAT................................................................................................................................................10
5. ORT8850.............................................................................................................................................12
6. UXASIC...............................................................................................................................................15
7. Loopbacks...........................................................................................................................................16
8. Tips & Tricks........................................................................................................................................17
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
4 (17)
16.9.2005
SERVICE TERMINALS
Following picture illustrates service terminal extensions that can be used in debugging.
SF20
PPC7
UX1-A
UTOPIA L1
MPC8280
UX
FPGA
MII
ETH-A
LXT9712
SFB40
P31
P30
P29
P3
G++
(secondary)
P2
PI40SAX
SD4G-A
P3
P2
P1
P0
PIR4ST
SPI-3
QSP_BP
UBISTE
P1
G++
UB2G5NP
2.5 G
CML
MI
(primary)
P0
OR8TST
PIR4ST,UBISTE and OR8TST service terminal extensions are available in official SW build
(from 51.x-x onwards).
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
2.
5 (17)
16.9.2005
Work port
card
SFB4
0
P0
G++
(secon
dary)
PI40SA
X
2 x 622 M
LVDS
2 x 622 M
LVDS
SD
1G
ALP
1-B
P1
MI
SPI-3
P3
P2
P1
P0
UB2G5N
P
2.5 G
CML
QSP_B
P
P2
G++
(primar
y)
P3
Protect port
card
SD
1G
ALP
1-B
SFPI
F
SFPI
F
SFPI
F
SFPIF
7
2x
622M
.
.
.
2x SD4G-A
0
1
2
3
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
3.
6 (17)
16.9.2005
UB2G5NP
In previous SF10 PIU the serial port interface is implemented in the separate backplane
drivers (HW block SD4G) and the switch fabric device has parallel interface. As PI40SAX
offers integrated serdes function for 32 ports, the fabric interfaces are changed. The
backwards compatible interfaces, legacy ports, need adaptation to PI40SAX device. The
new HW block SD4G-A makes the adaptation. SD4G-A contains one UB2G5NP and two
ORT8850H (BPD-G++) devices.
UBISTE for UB2G5NP (version Feb 28 2005 09:57:53) command line options:
cap <id>
dtw <id> <mphy> <port> <mc> <class> <rqn> : write entry to descriptor table
fopi <id> <mode>
gstat <id>
init <id>
: initialize chip
lb <id> <mode>
: reset link
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
16.9.2005
P3
P2
P1
P0
SPI-3
UB2G5NP
2.5 G
CML
QSP_BP
GSTAT
SSTAT
PSTAT
0x01014280
0x0101ffff
rMPI_CFG18:
0x00010000
rMPI_CFG19:
0x0000ff01
7 (17)
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
8 (17)
16.9.2005
0x00109C34
0x000BF24B
0x00000000
0x00001473
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00109C34
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
Explanations:
Link = Link number (only 0 - 3 in use in SF20)
rINGR_DEQ_LNK = Count of the cell dequeues on the ingress side.
rCH0_ECELL_CNT = Counts all egress cells received including error cells but excluding idle cells.
rCH0_RXDATA_ERR = Counts all egress cells received that have errors.
rCH0_B1_ERR = Counts all egress cells received that have a frame B1 byte error.
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
4.
9 (17)
16.9.2005
PI40SAX
Compared to existing SF10 plug-in unit the main new HW is the new Switch fabric device
PI40SAX in HW block SFB40, which replaces the multistage fabric configuration of two PIx
and three PIc devices (HW block SFB10) with one standalone device.
PIR4ST command line options:
cap
: capture cell
init <state> : initialize PI40SAX (1:HW reset, 2:fabric, 3:regtest, 5:memtest, 6:Agere)
ins <rqn> <dest>
: insert cell
linkrst <link>
: reset link
memtest
queue <number>
re <reg>
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
16.9.2005
unload
ver
: unload driver
: show API version information
wr <reg> <value>
P31
P30
P29
PI40SAX
P3
P2
P1
P0
GSTAT
LSTAT
: 0x20
: 0x00000000
10 (17)
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
11 (17)
16.9.2005
Multicast BE Count
Unicast GBW Count
Unicast BE Count
: 0x00000000
: 0x000DC037
: 0x00000000
: 0x000DC037
: 0x000003CE
Explanations:
Device version = Version number of PI40SAX chip.
Global Intr Status Low = Status bits for various errors.
Global Intr Status High = Status bits for various errors.
Multicast GBW Count = Counts the total number of multicast guaranteed bandwith cells enqueued.
Multicast BE Count = Counts the total number of multicast best effort bandwith cells enqueued.
Unicast GBW Count = Counts the total number of unicast guaranteed bandwith cells enqueued.
Unicast BE Count = Counts the total number of unicast best effort bandwith cells enqueued.
Cell Dequeue Count = Count of the total number of cells dequeued by the device.
Dropped Cell Count = Counts the total number of cells that are not idle cells and that are dropped due
to invalid cell format or receive data errors
LINK_STAT
CELL_ERR LINK_ERR
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
12 (17)
16.9.2005
5.
ORT8850
The OR8DRI driver is a Chorus device driver (supervisor actor) belonging to the feature
50211. It was originally designed for managing the SD4G HW block of former switch fabric
version SF10, in which the backplane driver HW is implemented with ORT8850H devices
having a programmable code called G+.
In new SF20 (and SF20DEV) the SD4G HW block is modified to SD4G-A and the
ORT8850H devices have a modified programmable code called G++.
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
13 (17)
16.9.2005
The service terminal for testing ORT8850H chip is called or8tst and here are current
commands:
Main Options:
-i
-a
-r
-e
= enable interface
-s
-c
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
16.9.2005
-v
-d
= read register
-w
= write register
-f
-l
-fi
= fifo init
-info
-disp
-reg
-intr
= enable/disable interrupts
-lo
Parameter Options:
-A <Activity>
-F <Interface>
-P <Port>
= interface id (0 or 1)
= port number (0 ... 7)
-M <Mode>
-C <ChipId>
-D <ChipId>
-D <Dest port>
-N
= operation is forced
-s
-c <class>
= Class (0 ... 3)
14 (17)
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
6.
UXASIC
Needs to be updated.
16.9.2005
15 (17)
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
7.
16 (17)
16.9.2005
LOOPBACKS
There are several points where traffic can be looped inside plug-in unit. Following picture
illustrates typical cases needed in integration / testing. There are also other loopback
possibilities which can be found more detailed in SF20 IS document.
SF20
PPC7
UX1-A
UTOPIA L1
MPC8280
UX
FPGA
MII
ETH-A
LXT9712
SFB40
P31
P30
P29
P3
G++
(secondary)
P2
PI40SAX
SD4G-A
P3
P2
P1
P0
SPI-3
QSP_BP
P1
G++
UB2G5NP
2.5 G
CML
MI
(primary)
P0
INSTRUCTIONS
Tomi Cederqvist
Niila Rautanen
Pasi Helin
16.9.2005
8.
17 (17)