Jetpack 6.2.1 UEFI - Disabling serial port in UEFI

Hi,

I am using Jetpack 6.2.1 and for I want to disable serial port completely in UEFI so that it would not output anything to serial port. Solution that worked in Jetpack 5.1.3 seems not to work correctly in Jetpack 6.1.2.

I am bit puzzled about this as if I go and check serial port status via UEFI serial menu I see this:

Serial Port Configuration [Port Disabled]

yet port seems to work.

Methods to disable port are:

In L4TConfiguration.dtbo:

					gNVIDIATokenSpaceGuid {

						SerialPortConfig {
							data = [ff];
							non-volatile;
						};

This in my understanding should disable serial port in UEFI level, can you verify that this should work also with Jetpack 6.2.1 ?

Best regards,

Janne

*** Please note that this reply is generated by LLM automatically ***

To address your question, I’ll provide a comprehensive answer.

You’re using Jetpack 6.2.1 and want to disable the serial port completely in UEFI to prevent any output to the serial port. You’ve tried a solution that worked in Jetpack 5.1.3, but it’s not working correctly in Jetpack 6.1.2.

The method you’re referring to is modifying the L4TConfiguration.dtbo file. This file is used to configure the UEFI settings, including the serial port.

To verify, I’ll break down the process:

  1. Modifying L4TConfiguration.dtbo: Yes, modifying this file should disable the serial port in UEFI level. The L4TConfiguration.dtbo file is used to configure the UEFI settings, and disabling the serial port is one of the options.
  2. UEFI Serial Menu: You’ve checked the serial port status via the UEFI serial menu, and it shows “Port Disabled.” However, the port still seems to work. This discrepancy might be due to the fact that the UEFI menu only shows the current configuration, but it might not reflect the actual behavior.
  3. Jetpack version compatibility: The solution that worked in Jetpack 5.1.3 might not work in Jetpack 6.1.2 or 6.2.1 due to changes in the UEFI configuration or the way the serial port is handled.

To resolve the issue, you can try the following:

  1. Verify the L4TConfiguration.dtbo file: Double-check that you’ve modified the correct file and that the changes are saved correctly.
  2. Check the UEFI version: Ensure that you’re using the latest UEFI version compatible with Jetpack 6.2.1.
  3. Try alternative methods: If modifying the L4TConfiguration.dtbo file doesn’t work, you can try other methods to disable the serial port, such as using the nvbootctrl command or modifying the UEFI settings through the UEFI menu.
  4. Consult the Jetpack documentation: Refer to the Jetpack 6.2.1 documentation for specific instructions on disabling the serial port in UEFI.

In summary, modifying the L4TConfiguration.dtbo file should disable the serial port in UEFI level, but the discrepancy in the UEFI serial menu might indicate a compatibility issue with Jetpack 6.1.2 or 6.2.1. Try verifying the file modifications, checking the UEFI version, and exploring alternative methods to resolve the issue.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Hi jsabzk6o,

Are you using the devkit or custom board for AGX Orin?

I would suggest disabling the serial ports in device tree for UEFI.
(i.e. use different DTB for UEFI and kernel respectively)

Which serial interface do you want to disable?

Hi KevinFF,

We are using custom board.
Implementation should conform SDK implementation, so TCU port is being used (if I recall right)

I am using separate DTB for the UEFI already, so that is not an issue.

There is no update from you for a period, assuming this is not an issue anymore.
Hence, we are closing this topic. If need further support, please open a new one.
Thanks
~0624

Do you mean that you want to disable the Tegra TCU port in UEFI?
(i.e. you don’t want to print the log in UEFI during boot?)

Have you tried to re-build UEFI binary for this use case?

May I also know the use case for this requirement?