MCU / IGX Host UART Access#

BMC can access MCU/IGX Host UART over LAN#

IGX_Host displays CCPLEX:0 console by default. To access MCU/IGX Host UART over LAN,

ssh root@<BMC IP> -p 2200

If the UART displays Shell>, the MCU UART is connected. Otherwise, the IGX Host UART is connected.

To exit the console when you are done, do the following:

  1. Press RETURN, then press shift and tilde 2 times.

    RETURN,  SHIFT + ~ ~
    
  2. Press period (.) to complete.

To use the combined UART, stop the tcu-muxer-helper.service service,

systemctl stop tcu-muxer-helper.service

Use MCU script in BMC to Switch Between MCU and IGX Host UART#

Run the smcu-ctrl.sh script in /etc/smcu-flash/ in BMC with below paramter to switch between MCU and IGX Host UART.

Go to the /etc/smcu-flash/.

cd /etc/smcu-flash/

Run the smcu-ctrl.sh script with set_smcu_uart and set_tegra_uart to switch between MCU and IGX_Host UART respectively.

./smcu-ctrl.sh <set_smcu_uart/set_tegra_uart>

IGX HOST Debug Consoles#

How to access Debug Consoles: SSH to the BMC using the terminal’s port (starting at 2300 for VSER0):

ssh root@<BMC IP> -p <port>
eg. for the default FSI console (VSER0), use, ssh root@<BMC IP> -p 2300

Default order (first entries in VSER_DEVICE_CATEGORIES; with default TERMINAL_COUNT=5, only VSER0–VSER4 are active):

VSER

Port

Device

VSER0

2300

FSI

VSER1

2301

BPMP

VSER2

2302

RAW

VSER3

2303

RCE

VSER4

2304

PSCFW

VSER5

2305

DCE

VSER6

2306

SCE

The TCU (Tegra Console UART) muxer multiplexes host serial consoles and exposes them over SSH. Use tcu-muxer.conf in /etc/tcu-muxer/ on the BMC to choose which IGX Host consoles are available and on which ports.

To change tcu-muxer default configuration, edit the tcu-muxer.conf file,

vi /etc/tcu-muxer/tcu-muxer.conf

You have at most 7 VSER terminals (controlled by TERMINAL_COUNT, 2–7). The current default terminal count is 5, so only VSER0–VSER4 are active by default. Each terminal is a different host console; you choose which device is on which terminal by editing VSER_DEVICE_CATEGORIES in tcu-muxer.conf. You can change the order or replace entries in VSER_DEVICE_CATEGORIES to map different devices to each terminal (for example, to put BPMP on port 2300, move it to the first position in the list).

After changing the file, restart the TCU muxer (or reboot the BMC) for changes to take effect.

systemctl restart tcu-muxer-helper.service