How to install tcu_muxer on host outside of docker?

DRIVE OS Version: 7.0.3

Issue Description: I would like to use tcu_muxer directly on my host (outside of docker). Is there a package that can be installed to enable that? If not, is there a method of extracting that utility from the SDK docker for use on the host directly?

Dear @david.cattley ,
There is no seperate package as such for tcu_muxer.
Please check copying the binary to host and see if it works. May I know why you want to copy to host and not use from docker directly?

Yes, copying out of the docker to the host works.

convenience. simplicity.

The docker is required for Development but simply interacting with the system to operate it does not require anything other than basic capabilities (minicom, ssh, etc.)

I was exploring tcu_mux as possibly required to disambiguate and decode the absolute gibberish that is emitted from the serial console when faults occur as just simply viewing and logging it with minicom (or in my case, tio) is very difficult to decode and understand.

The documentation for DriveAGX Thor guides one to just open /dev/ttyACM[x] for the serial console with minicom or similar simple serial terminal emulator. T

The reality seems to be that that link carries multiplexed access and tcu_muxer should be used to separate the the individual link channels.

A clear “how to” on using tcu_muxer and minicom would be helpful.

When I use the helper scripts tcu_muxer.sh or tcu_muser_tmux.sh the resulting child process windows disapear immediately.

When I use tcu_muxer directly and try to open the PTY created for CCPLEX with minicom/tio it works for about 1/4 of the boot sequence and hangs with no I/O to the console.

Not very encouraging. I’m guessing I just have not figured out how to make it work.

Do you see any issue with documentation at tcu_muxer Usage Modes — NVIDIA DriveOS 7.0.3 Linux SDK Developer Guide ?

Could you share used command and logs ?

I figured this out.

If I want to see the “console” from Linux I have to open the PTY associated with UTC0 not CCPLEX.

I’m not sure exactly what CCPLEX is exposing but expecting to “interact with it” seems like it was just my missunderstanding.

Well it is a little “light” on Thor relevance. It makes no mention of UTC0/1/2/3 and leads one to believe the CCPLEX:0 is something that it seems not really to be on Thor.

When I run tcu_muxer for Thor (-m T264) the list of PTYs is quite different from that documention which is for another chip.

Mine:

$ /opt/nvidia/tcu_muxer/tcu_muxer -m T264 -d /dev/ttyACM5
/dev/pts/10	RCE
/dev/pts/12	FSI
/dev/pts/13	PSCFW
/dev/pts/14	DCE
/dev/pts/15	BPMP
/dev/pts/16	AON-F1
/dev/pts/17	HPSE
/dev/pts/18	SB
/dev/pts/19	ADSP0
/dev/pts/20	ADSP1
/dev/pts/21	UTC0
/dev/pts/22	UTC1
/dev/pts/23	UTC2
/dev/pts/24	UTC3
/dev/pts/25	CCPLEX: 0
/dev/pts/26	TZ: 0
/dev/pts/27	RAW

I have determined by experiment that UTC0 is the “console” to the Linux (VM).

Could you please provide any update for this topic?