Jp6.1, Remove the log displayed on the screen failed

I use jetpack6.1 system, orin nx devkit, I removed the log on DP screen on jp5.1.2, and now I am going to repeat the same process on jp6.1, I removed most of the logs, but there are a few logs that cannot be removed, even if I comment them out, it still doesn’t work, it will still print out on the screen. This seems to be different from jp5.1.2, which is very puzzling.
Logs that cannot be removed:

L4T boot options
0: primary kernel
1: backup kernel
Press 0-1 to boot selection within 3.0 seconds.
Press any other key to boot default (Option: 0)

My operation

  1. Download the r36.4.0 branch of uefi code
  2. Replace my logo, comment some logs, etc.
  3. Use docker to compile
  4. Replace uefi_Jetson_RELEASE.bin and flash it
  5. Mount the esp partition and replace BOOTAA64_Jetson_RELEASE.efi

By mounting the esp partition and modifying BOOTAA64.efi, I can remove the “Attempting Direct Boot” log in L4TLauncher.c, but I cannot remove the log related to “L4T boot options”. Can you give me some advice?

Reference Documents:

Hi 1031150349,

Please share your L4TLauncher.c and the full serial console log for further check.

boot_log.txt (76.9 KB)
L4TLauncher (copy).c.txt (78.6 KB)

@@ -1344,7 +1344,7 @@ ExtLinuxBootMenu (
   if (BootConfig->MenuTitle != NULL) {
     Print (L"%s\r\n", BootConfig->MenuTitle);
   } else {
-    Print (L"L4T boot options\r\n");
+    // Print (L"L4T boot options\r\n");
   }
 
   for (Index = 0; Index < BootConfig->NumberOfBootOptions; Index++) {
@@ -2499,7 +2499,7 @@ L4TLauncher (
   }
 
   if (BootParams.BootMode == NVIDIA_L4T_BOOTMODE_DIRECT) {
-    ErrorPrint (L"%a: Attempting Direct Boot\r\n", __FUNCTION__);
+    // ErrorPrint (L"%a: Attempting Direct Boot\r\n", __FUNCTION__);
     do {
       Status = ProcessExtLinuxConfig (DeviceHandle, BootParams.BootChain, &ExtLinuxConfig, &RootFsDeviceHandle);
       if (EFI_ERROR (Status)) {

If I keep only the primary option in /boot/extlinux/extlinux.conf, these logs will not be printed on the screen and serial port, but if other options are configured, the logs will appear on the screen. I have multiple options in extlinux, this is indeed a problem that needs to be solved.

Do you mean that you have the requirement for multiple boot options in extlinux.conf?

This line is printed due to the MENU TITLE in extlinux.conf so that please also comment out the following line in L4TLauncher.c

   if (BootConfig->MenuTitle != NULL) {
-     Print (L"%s\r\n", BootConfig->MenuTitle);
+     //Print (L"%s\r\n", BootConfig->MenuTitle);
   } else {
-    Print (L"L4T boot options\r\n");
+    // Print (L"L4T boot options\r\n");
   }

yes.

Thanks, this solved my problem.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.