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
Download the r36.4.0 branch of uefi code
Replace my logo, comment some logs, etc.
Use docker to compile
Replace uefi_Jetson_RELEASE.bin and flash it
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?
@@ -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.