感谢你的帮助,我现在分别将两种UEFI启动debug信息作为附件。请查收!
mini_UEFI.TXT (75.0 KB)
default_UEFI.TXT (75.6 KB)
Please enable the timestamp in whole serial console.
[10:56:07.614]КХЎыЎф
[10:56:34.975]КХЎыЎф
It seems there’s significant delay in your minimal UEFI.
Please use debug minimal UEFI binary and share the log for further check.
非常感谢你的及时回复。附件是我使用uefi_JetsonMinimal_DEBUG.bin打印出来的信息。
mini_UEFI_DEBUG.TXT (119.3 KB)
你好 在帮我看看吧,我已经按照要求每行都加上了时间戳,并且使用的是debug版本的miniUEFI。
mini_UEFI_Debug.txt (163.9 KB)
AppendKeys Failed to get dbxSigned_0 Not Found[2025-05-22 02:35:42.370]
AppendKeys Failed to get dbSigned_0 Not Found[2025-05-22 02:35:42.370]
AppendKeys Failed to get kekSigned_0 Not Found[2025-05-22 02:35:42.381]
UpdatePcieControllersWithGpuDevice: failed to enumerate GPU device handles: Not Found[2025-05-22 02:35:42.392]
LocateChildGopHandle: failed to enumerate graphics output device handles: Not Found[2025-05-22 02:35:42.392]
..
add-symbol-file /home/ys/nvidia/36.4.3/uefi/nvidia-uefi-r36.4.3/Build/JetsonMinimal/DEBUG_GCC5/AARCH64/Silicon/NVIDIA/Drivers/ConfigurationManagerData/ConfigurationManagerDataDxe/DEBUG/ConfigurationManagerDataDxe.dll 0x16D0E6000[2025-05-22 02:36:05.830]
I found above errors and the significant 23 seconds delay in your case.
Do you enable UEFI secureboot or Secureboot in your use case?
The delay appears after PCIe devices listed.
As a result, you can try switching another NVMe SSD to check if it could help.
I don’t get this delay on my Orin Nano devkit setup.
Please share nvidia-config/JetsonMinimal/.config
as file here for further check
config.txt (3.2 KB)
感谢!我手上现在没用多余硬盘,这个硬盘是配套板提供的。附件是你提到的nvidia-config/JetsonMinimal/.config文件。谢谢你帮我看看,我是哪里配置有问题?
在吗?能帮我看一下?
I’ve checked your .config
and it looks good to me.
I don’t hit similar delay issue as yours on my setup.
I’m not sure if it may relate to the module or NVMe SSD you used.
I’m using Orin Nano devkit with Orin Nano 8G module(P3767-0005)
nvidia@Jetson:~$ cat /etc/nv_boot_control.conf
TNSPEC 3767-300-0005-K.2-1-1-jetson-orin-nano-devkit-
COMPATIBLE_SPEC 3767--0005--1--jetson-orin-nano-devkit-
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
How about yours? (Orin Nano 4G(P3767-0004)?)
Do you have the same module as mine(P3767-0005) to verify?
如果我这边配置都没有问题,为什么启动花这么长时间呢?我还能怎么去找出对应问题呢?
P3767-0005 should be the default module come with Orin Nano devkit.
Why you don’t have that?
You can use the default UEFI binary with debug message enabled to check if there’s similar 23s delay.
I’ve just used a Orin Nano 4G(p3767-0004) as yours to verify and it seems there’s still no 23s delay in UEFI.
Please check my serial console log for details.
jetson-orin-nano-devkit_p3767-0004_OptimizedBootTime.log (160.6 KB)
I suspect the issue might be caused from your Kingston NVMe SSD since the delay appears after PCIe device listed.
P3767-0005 这个是什么模块?这个默认的固件?
It is Orin Nano 8G module with SD, which should be the default module comes with Orin Nano devkit board(p3768).
I’m curious about if there still this delay if you use default UEFI debug binary.
i.e. please use the following command to build uefi source and replace <Linux_for_Tegra>/bootloader/uefi_jetson.bin with uefi_Jetson_DEBUG.bin you built.
$ edk2_docker edk2-nvidia/Platform/NVIDIA/Jetson/build.sh
你好!我已经按照你提供的方式,构建了一个新的UEFI文件。目前从日志上看,问题还是存在。
[com COM8] (2025-05-26_100511) COM8 (USB-SERIAL CH340 (COM8)).log (183.0 KB)
我参数更换同类型orin nano4G 刷同样的UEFI ,故障一样。能否提供一下我都用的UEFI固件我直接刷机尝试一下呢?
Default UEFI:
[2025-05-26 10:05:15] Jetson UEFI firmware (version r36.4.3-85becaf8-dirty built on 2025-05-26T09:28:07+08:00)
[2025-05-26 10:05:59] EFI stub: Booting Linux Kernel...
=> 44s
miniUEFI:
JetsonMinimal UEFI firmware (version r36.4.3-85becaf8-dirty built on 2025-05-22T14:15:45+08:00)[2025-05-22 02:35:36.690]
..
EFI stub: Booting Linux Kernel...[2025-05-22 02:36:06.888]
=> 30s
It seems the boot time in UEFI has been improved after you use miniUEFI.
[2025-05-26 10:05:23] add-symbol-file /home/ys/nvidia/36.4.3/uefi/nvidia-uefi-r36.4.3/Build/Jetson/DEBUG_GCC5/AARCH64/Silicon/NVIDIA/Drivers/ConfigurationManagerData/ConfigurationManagerDataDxe/DEBUG/ConfigurationManagerDataDxe.dll 0x16A96B000
[2025-05-26 10:05:51] Loading driver at 0x0016A96A000 EntryPoint=0x0016A97309C ConfigurationManagerDataDxe.efi
In this log, there’re also 28s delay here(when you are using default UEFI binary) so that it is not caused by the miniUEFI.
The issue in your case is about the unexpected 2x seconds delay.
Please try using the following uefi binary to verify. (which I have verified it w/o the delay on my Orin Nano devkit.)
uefi_JetsonMinimal_RELEASE.bin (2 MB)
[com COM8] (2025-05-26_173748) COM8 (USB-SERIAL CH340 (COM8)).log (108.7 KB)
你好 这是运行你提供的UEFI文件的打印信息。
sudo ADDITIONAL_DTB_OVERLAY=“BootOrderNvme.dtbo” ./flash.sh -c bootloader/generic/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit internal
这是我刷机用到的指令