Usage mode #3 (raw logging)

In this mode, a raw file is additionally created that contains the output of all the terminals.

$<top>/drive-foundation/tools/muxer/tcu_muxer/tcu_muxer -g 17 -b 16 -d /dev/ttyACM0 -l /path/to/logging/file/dev/pts/1      RCE
/dev/pts/0 RCE
/dev/pts/1 FSI
/dev/pts/2 PSCFW
/dev/pts/3 DCE
/dev/pts/4 BPMP
/dev/pts/5 SCE
/dev/pts/6 SPE
/dev/pts/7 TZ
/dev/pts/8 CCPLEX: 0
/dev/pts/9 CCPLEX: 1
/dev/pts/10 CCPLEX: 2
/dev/pts/11 CCPLEX: 3
/dev/pts/12 CCPLEX: 4
/dev/pts/13 CCPLEX: 5
/dev/pts/14 CCPLEX: 6
/dev/pts/15 CCPLEX: 7
/dev/pts/16 CCPLEX: 8
/dev/pts/17 CCPLEX: 9
/dev/pts/18 CCPLEX: 10
/dev/pts/19 CCPLEX: 11
/dev/pts/20 CCPLEX: 12
/dev/pts/21 CCPLEX: 13
/dev/pts/22 CCPLEX: 14
/dev/pts/23 CCPLEX: 15
/dev/pts/24 CCPLEX: 16
################################# 001 ##
   /dev/pts/9 [Guest VM 0]
  /dev/pts/10 [Update service]
  /dev/pts/11 [sysmgr]
  /dev/pts/12 [bpmp_server_native]
  /dev/pts/13 [vsc_server_native_sdmmc]
  /dev/pts/14 [vsc_server_native_qspi]
  /dev/pts/15 [vsc_server_native_ufs]
  /dev/pts/16 [se_server_native]
  /dev/pts/17 [nvhost_server_native]
  /dev/pts/18 [audio_server_native]
  /dev/pts/19 [debug-server]
  /dev/pts/25 [Hypervisor]

/path/to/logging/file contains the raw file with the control characters that can be demuxed offline using the $<top>/drive-foundation/tools/muxer/tcu_muxer/tcu_muxer_raw_log_dump.py script.

$<top>/drive-foundation/tools/muxer/tcu_muxer/tcu_muxer_raw_log_dump.py -h
Usage: ./tcu_muxer_raw_log_dump.py -l path [-g|-c]
    -l, --logfile : Path of the file containing the raw logs captured using tcu_muxer -l option
    -g, --guestid : Guest ID. Prints Hypervisor log if no value is passed
    -c, --cluster : Cluster Name. One of: "RCE", "BPMP", "SCE", "SPE", "TZ", "CCPLEX"

The dumps the BPMP logs on the stdout extracted from /path/to/logging/file:

$<top>/drive-foundation/tools/muxer/tcu_muxer/tcu_muxer_raw_log_dump.py -l /path/to/logging/file -c BPMP

Dump the CCPLEX: 5 logs on the stdout extracted from /path/to/logging/file:

$<top>/drive-foundation/tools/muxer/tcu_muxer/tcu_muxer_raw_log_dump.py -l /path/to/logging/file -g 5

Use the raw log file to see the timeline of events across terminals and to represent the state of the system in a single file to allow the recipient to extract the logs they are interested in.

The -s and -l option can be used together.