-
Notifications
You must be signed in to change notification settings - Fork 78
/
mv6tool.8
77 lines (77 loc) · 1.02 KB
/
mv6tool.8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.TH MV6TOOL "8" "January 2024" "" "System Management Commands"
.SH NAME
.B mv6tool
\- Marvell Link Street register access
.SH SYNOPSIS
.B mv6tool read
.IR LOCATION / REG
.P
.B mv6tool write
.IR LOCATION / REG
.RI < 0-0xffff >
.P
.B mv6tool print
.IR LOCATION [/ REG ]
.P
.B mv6tool print
.IR IFACE
.P
where
.TP
.I LOCATION
:=
.IR IFACE /< port | phy >
|
.IR DEV /< ADDR | phyN | portN | globalG | serdes >
.TP
DEV
:=
.RI < 0\-0x1f >
.TP
ADDR
:=
.RI < 0\-0x1f >
.TP
N
:=
.RI < 0\-0xa >
.TP
G
:=
.RI < 0\-2 >
.TP
REG
:=
.RI < 0\-0x1f >
.SH DESCRIPTION
The
.B read
and
.B write
commands are simple register level accessors.
The
.B print
command will pretty-print a register.
When using the
.B print
command, the register is optional.
If left out, the most common registers will be shown.
.SH EXAMPLES
.P
.EX
.B mv6tool\ read\ cpu0/port/0
.EE
.P
.EX
.B mv6tool\ write\ 1/global1/2\ 0x1337
.EE
.P
.EX
.B mv6tool\ print\ eth2\-1
.EE
.SH "REPORTING BUGS"
.UR https://github.com/wkz/phytool/issues
Bug report address
.UE
.SH "SEE ALSO"
.BR phytool (8)