
GRMON3-UM
June 2019, Version 3.1.0
172
www.cobham.com/gaisler
pci io8
addr
value
pci io16
addr
value
pci io32
addr
value
Write a 8-, 16- or 32-bit value to I/O space.
pci scan ?
-reg
?
Scans all PCI slots for available devices and their current configuration are printed on the terminal. The scan
does not alter the values, however during probing some registers modified by rewritten with the original
value. This command is typically used to look at the reset values (after pci init is called) or for inspecting
how the Operating System has set PCI up (pci init not needed). Note that PCI buses are not enumerated
during scanning, in multi-bus systems secondary buses may therefore not be accessible. If -reg is given the
configured PCI bus is registered into GRMON device handling system similar to pci bus reg, see above.
pci wcfg8
deviceid
offset
value
pci wcfg16
deviceid
offset
value
pci wcfg32
deviceid
offset
value
Write a 8-, 16- or 32-bit value to configuration space. The device ID selects which PCI device/function
is address during the configuration access. The offset must must be located with the device's space and
be aligned to access type. Three formats are allowed to specify the
deviceid
: 1.
bus:slot:func
,
2. device name (pdev#), 3. host. It's allowed to skip the bus index, i.e. only specifying
slot:func
, it
will then default to bus index 0. The ID numbers are specified in hex. If "host" is given the Host Bridge
Controller itself will be queried (if supported by Host Bridge). A device name (for example "pdev0") may
also be used to identify a device found from the info sys command output.
pci wio8
addr
value
pci wio16
addr
value
pci wio32
addr
value
Write a 8-, 16- or 32-bit value to I/O space.
PCI Trace commands:
pci trace
Reports current trace buffer settings and status
pci trace address
pattern
Get/set the address pattern register.
pci trace amask
pattern
Get/set the address mask register.
pci trace arm
Arms the trace buffer and starts sampling.
pci trace log ?
length
? ?
offset
?
Prints the trace buffer data. Offset is relative the trigger point.
pci trace sig
pattern
Get/set the signal pattern register.
pci trace smask
pattern
Get/set the signal mask register.
pci trace start
Arms the trace buffer and starts sampling.
pci trace state
Prints the state of the PCI bus.
pci trace stop
Stops the trace buffer sampling.
pci trace tcount
value
Get/set the number of matching trigger patterns before disarm
pci trace tdelay
value
Get/set number of extra cycles to sample after disarm.
RETURN VALUE
Upon successful completion most pci commands have no return value.
The read commands return the read value. The write commands have no return value.
Содержание GRMON3
Страница 56: ...GRMON3 UM June 2019 Version 3 1 0 56 www cobham com gaisler...
Страница 114: ...GRMON3 UM June 2019 Version 3 1 0 114 www cobham com gaisler...
Страница 123: ...GRMON3 UM June 2019 Version 3 1 0 123 www cobham com gaisler dcache...
Страница 156: ...GRMON3 UM June 2019 Version 3 1 0 156 www cobham com gaisler SEE ALSO Section 6 13 On chip logic analyzer driver...
Страница 208: ...GRMON3 UM June 2019 Version 3 1 0 208 www cobham com gaisler SEE ALSO Section 3 5 Tcl integration...