串口收发问题

It seems you are using Jetpack6.0GA(R36.3).

[    3.624163] 3100000.serial: ttyTHS1 at MMIO 0x3100000 (irq = 112, base_baud = 0) is a TEGRA_UART

It is UART1 from 40-pin expansion header.

Yes, you need to short TX/RX externally for loopback test.
(i.e. PIN8(UART1_TX) and PIN10(UART1_RX) on 40-pin expansion header)

Do you mean the pinmux spreadsheet? If so, you should configure them as UART instead of GPIO.
You can refer to the following:
image