Boot time Optimisation

I am working on boot time optimisation on Xavier NX, as it is taking more time on booting and some devices connected to it are not getting detected early. Is there any way I can make my jetson boot fast and some devices connected, like cameras, get detected early?

Hi Shine.d,

Are you using the devkit or custom board for Xavier NX?
What’s the Jetpack version in use?

You can refer to Boot Time Optimization — NVIDIA Jetson Linux Developer Guide 1 documentation details.

I am using custom board for Xavier NX. Jetpack version is 5.1.4. Thank you for the link.

Please let us know if you have further questions after referring to the instructions

I made changes as suggested. I downloaded UEFI source, made changes as suggested and then build it. I replaced created uefi_jetson_RELEASE.bin with Linux_for_Tegra/bootloader/uefi_Jetson.bin. and made changes for Disabling MB1/MB2 Logs and Modifying Combined UART as suggested, but when I flashed it again with modified changes using sdkmanager, it shows success, but jetson is not getting detected. L4T-README is not visible as well as not visible under lsusb and ifconfig.

After you made those changes, please use script to flash the board to apply the change.

We would also suggest apply the change one-by-one so that you would know which change cause the issue.
Those changes may disable few features so that it is strongly depending on your use case.
You can also share the full serial console log for any boot issue.

I made changes in UEFI only and it worked. I flashed my jetson, it booted in around 29 seconds, earlier it was more than 40 seconds. L4T-README shows up in 29 seconds, but I am still not able to access it using ssh under 50 seconds. Can you suggest something about it?

You can refer to Boot Time Optimization - Jetson & Embedded Systems / Jetson Orin NX - NVIDIA Developer Forums which has been verified from us that it should be able to meet your requirement.
Please also apply other methods listed to optimize the boot time.

For ssh access, you should also check how to make this service loaded earlier.

Maybe you can simply add quiet in kernel command line first.

It worked.
thank you so much.
But after doing all the chanes and flashing again, I noticed one thing that my SSD is getting heated a lot. Is this happens because of the changes I made or some another reason may be there?
I am not able to share net using USB tethering, wifi-adapter? How can I share net then?
As soon as i enabled usb tethering my jetson’s terminal becomes unresponsive.

Do you have the FAN on your custom carrier board?

Do you mean that it is not heat before apply the change?
If so, please help to clarify which modification cause it heats up.

Do you have requirement for them?
If so, you should enable some options for network in UEFI configuration back.

Yes. I am using fan.
I have network requirements as well.
Can you also suggest which changes I should revert back?
Thank you.

Add the options in Network Stack back.

okay. Thank you so much.

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