Are you using the devkit or custom board for Orin NX?
It seems you want to disable debug UART port (UART2) and use it as normal UART.
Sorry that it is not supported and hasn’t verified from us.
Some customers have tried to perform the similar behavior as this on Xavier NX but the UART communication is unstable. The TCU(Tegra Combined UART) is also implemented in different firmware to output the serial console log during different boot up stages. If there’s not debug UART, it would be hard to debug the issue so that we won’t suggest disabling the debug UART.
It should also be removed from MB1/MB2/UEFI/BPMP firmware and some of them are not public.
I think you could only disable the debug UART after kernel.
Please check what messages do you get after boot into kernel.
After disabling the debug UART after kernel , i get these messages after booting into kernel.
[2024-03-07 17:43:08] ESC to enter Setup.
[2024-03-07 17:43:08] F11 to enter Boot Manager Menu.
[2024-03-07 17:43:08] Enter to continue boot.
[2024-03-07 17:43:08] ** WARNING: Test Key is used. **
[2024-03-07 17:43:09]
[2024-03-07 17:43:09] L4TLauncher: Attempting Direct Boot
[2024-03-07 17:43:13] EFI stub: Booting Linux Kernel...
[2024-03-07 17:43:13] EFI stub: Using DTB from configuration table
[2024-03-07 17:43:13] EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
[2024-03-07 17:43:13] EFI stub: Exiting boot services and installing virtual address map...
[2024-03-07 17:43:14] ��I/TC: Secondary CPU 1 initializing
[2024-03-07 17:43:14] I/TC: Secondary CPU 1 switching to normal world boot
[2024-03-07 17:43:14] I/TC: Secondary CPU 2 initializing
[2024-03-07 17:43:14] I/TC: Secondary CPU 2 switching to normal world boot
[2024-03-07 17:43:14] I/TC: Secondary CPU 3 initializing
[2024-03-07 17:43:14] I/TC: Secondary CPU 3 switching to normal world boot
[2024-03-07 17:43:14] I/TC: Secondary CPU 4 initializing
[2024-03-07 17:43:14] I/TC: Secondary CPU 4 switching to normal world boot
[2024-03-07 17:43:14] I/TC: Secondary CPU 5 initializing
[2024-03-07 17:43:14] I/TC: Secondary CPU 5 switching to normal world boot
[2024-03-07 17:43:14] I/TC: Secondary CPU 6 initializing
[2024-03-07 17:43:14] I/TC: Secondary CPU 6 switching to normal world boot
[2024-03-07 17:43:14] I/TC: Secondary CPU 7 initializing
[2024-03-07 17:43:14] I/TC: Secondary CPU 7 switching to normal world boot
[2024-03-07 17:43:17] ��debugfs initialized
[2024-03-07 17:43:18] ��I/TC: Reserved shared memory is disabled
[2024-03-07 17:43:18] I/TC: Dynamic shared memory is enabled
[2024-03-07 17:43:18] I/TC: Normal World virtualization support is disabled
[2024-03-07 17:43:18] I/TC: Asynchronous notifications are disabled
[2024-03-07 17:43:24] ��WARNING: clock_disable: clk_power_ungate on gated domain 35 for gpc1clk
[2024-03-07 17:43:34] ��
[2024-03-07 17:43:34] Ubuntu 20.04.6 LTS user-desktop ttyTCU0
This use case(removing combined UART) has not been verified from us and we don’t suggest for this.
For UEFI, it is determined by device node in dtb.
You should remove them in each firmware manually and there’re some firmware not public to be modified.
It seems you’ve removed the serial console log in kernel.
You can just use it to connect your UART device after boot up.