pmddecode

A command of the separate bcma command line; see Commands for other chip families.

Metadata decode.

pmddecode <object> [Device=device_name] [Variant=variant_name]\
[FlexProfile=profile] [<word0> <word1> <word2> <word3> ...]

Built-in help

This command is used to decode TXPMD, RXPMD and Higig3 objects followed
by raw 32-bit word values.
    Txpmd      - Decode TXPMD data.
    Rxpmd      - Decode RXPMD data, including fixed and flex data.
    RxpmdFlex  - Decode RXPMD flex data.
    Hg3        - Decode Higig3 data.

The command supports data decode with the format of device and/or variant specified by below arguments. Data is decoded with the format of current device if no device/variant specified.
    Device=<device_name>   - Device name.
    Variant=<variant_name> - Variant name.
    FlexProfile=<profile>  - Flex Profile ID. This is MUST when\
                             decode RxpmdFlex.

Built-in examples

txpmd 0x81000000 0x2 0x6000 0x0
rxpmd 0x520200 0x0 0x701202 0x1100003 0x11000 0x0 0x10002 \
      0xff0000 0x0 0x20000 0x10000 0x0 0x20002 0x8a 0x0 0x0 \
      0x40000 0x8003009a
rxpmdflex fp=3 0x11000 0x0 0x10002 0xff0000 0x0 0x20000 \
               0x10000 0x0 0x20002 0x8a 0x0 0x0 0x40000
hg3 0xaf08800f 0x10000 0x30000000 0x2