I am working on optimizing the kernel time on a Orin nano dev board with JP 5.1.2. I have followed the steps provided by NVIDIA.
However i have observed that every time it takes 3 seconds to reach the login (or for the system to be accessible) after CPU shutdown:
[2024-02-27 12:17:46] [ 16.472051] using random self ethernet address
[2024-02-27 12:17:46] [ 16.476647] using random host ethernet address
[2024-02-27 12:17:47] [ 17.483910] using random self ethernet address
[2024-02-27 12:17:47] [ 17.488534] using random host ethernet address
[2024-02-27 12:17:49] [ 19.698501] CPU4: shutdown
[2024-02-27 12:17:49] [ 19.850468] CPU5: shutdown
[2024-02-27 12:17:49] [ 19.946298] CPU6: shutdown
[2024-02-27 12:17:49] [ 20.038965] IRQ 116: no longer affine to CPU7
[2024-02-27 12:17:49] [ 20.044303] CPU7: shutdown
[2024-02-27 12:17:52]
[2024-02-27 12:17:52] Ubuntu 20.04.6 LTS user-desktop ttyTCU0
[2024-02-27 12:17:52]
[2024-02-27 12:17:52] user-desktop login:
May i know what is the reason behind this?
Also, how do i disable the using random self ethernet address check?
Also, there is a 5 seconds wait time from Attempting Direct Boot to L4T Configuration Settings. Is there a way to remove this wait?
the timeout before that is already set to zero seconds.
[2023-12-21 **16:10:15.314**] L4TLauncher: Attempting Direct Boot ------- > (15th second)
**(5s wait)**
[2023-12-21 **16:10:20.016**] Processing "L4T Configuration Settings" DTB overlay -------> (20th second)
[2023-12-21 16:10:20.064] Deleting fragment fragment@0
[2023-12-21 16:10:20.065] Processing "P3767 Overlay Support" DTB overlay
[2023-12-21 16:10:20.065] Deleting fragment fragment@0
[2023-12-21 16:10:20.065] Deleting fragment fragment@1
[2023-12-21 16:10:20.065] Deleting fragment fragment@2
[2023-12-21 16:10:20.065] Deleting fragment fragment@3
[2023-12-21 16:10:20.065] Processing "P3768 Overlay Support" DTB overlay
[2023-12-21 16:10:20.065] Deleting fragment fragment@0
[2023-12-21 16:10:20.065] Deleting fragment fragment@1
[2023-12-21 16:10:20.065] Processing "UEFI Boot order nvme default" DTB overlay
[2023-12-21 16:10:20.065] Deleting fragment fragment@0
[2023-12-21 16:10:20.080] UpdateRamOopsMemory: RamOopsBase: 0x46EA70000, RamOopsSize: 0x200000
[2023-12-21 16:10:20.112] FtpmProtocol Not Found - Not Found
[2023-12-21 16:10:20.113] GetParentPcieControllerPrivate: cannot retrieve device path protocol from device handle: Unsupported
[2023-12-21 16:10:20.658] Loading driver at 0x004405A0000 EntryPoint=0x00441F3C598
[2023-12-21 16:10:20.658] Loading driver at 0x004405A0000 EntryPoint=0x00441F3C598
[2023-12-21 16:10:20.658] EFI stub: Booting Linux Kernel...
[2023-12-21 16:10:20.659] EFI stub: Using DTB from configuration table
[2023-12-21 16:10:20.659] EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
[2023-12-21 16:10:20.659] EFI stub: Exiting boot services and installing virtual address map...
[2023-12-21 16:10:20.674] Link didn't transition to L2 state
[2023-12-21 16:10:20.802] Link didn't go to detect state as well
[2023-12-21 16:10:20.802] PROGRESS CODE: V03101019 I0
[2023-12-21 16:10:20.962] ��I/TC: Secondary CPU 1 initializing
Hi,
The Orin NX module does not have the BT component, so this should not have impact if you don’t connect WIFI/BT module in M.2 Key-E slot.
If you would like to check further why it still gets printed, please search the kernel source code to investigate why. Probably need to disable other configs.
This does not look like the waiting that awaits for pressing ESC button. It looks to be system has passed the stage and is booting. It takes around 5 seconds. So you should have removed the 5-second waiting successfully.
Hi,
The 5s wait is in booting UEFI. The log is disabled by default so you may feel like it is a waiting. For clarification, you can follow the steps to enable the debug log:
I have used the DEBUG Image itself.
I don’t have an issue with other optimizations.
I just want to know if we can disable or reduce that wait time with respect to any driver?
Hi,
If you have followed the developer guide, the boot time should be optimal. May confirm again if you disable PCIe and USB interfaces in device tree which are not present in your custom board.