Custom carrier board bootup slow – Jetson AGX Orin

*** Please note that this reply is generated by LLM automatically ***

To address the issue of the boot flow taking more time on your custom carrier board compared to the official carrier board, we need to analyze the boot flow and identify the potential bottlenecks.

The provided boot log shows that the boot flow is using the UEFI firmware and the Linux kernel is being loaded using the EFI stub. The log also shows that the boot flow is attempting to load the initrd from the LINUXEFIINITRDMEDIAGUID device path.

To debug the issue, you can try the following methods:

  1. Compare the boot logs: Compare the boot log from your custom carrier board with the boot log from the official carrier board. This can help identify any differences in the boot flow that may be causing the delay.
  2. Check the boot configuration: Verify that the boot configuration on your custom carrier board is correct. Check the UEFI firmware settings, the Linux kernel command line, and the initrd configuration.
  3. Use the UEFI debug mode: Enable the UEFI debug mode to get more detailed information about the boot flow. This can help identify any issues with the UEFI firmware or the Linux kernel.
  4. Check the initrd: Verify that the initrd is being loaded correctly. Check the size of the initrd and the time it takes to load. You can also try loading a minimal initrd to see if it makes a difference.
  5. Check the Linux kernel: Verify that the Linux kernel is being loaded correctly. Check the kernel command line and the kernel configuration.
  6. Use the bootchart tool: The bootchart tool can help you visualize the boot process and identify any bottlenecks.
  7. Check the hardware: Verify that the hardware on your custom carrier board is compatible with the official carrier board. Check the CPU, memory, and storage devices.

In terms of specific debug methods, you can try the following:

  • UEFI debug mode: Press the ESC key during boot to enter the UEFI setup menu. Then, go to the “Boot” tab and select “Debug Mode” to enable debug mode.
  • Linux kernel debug mode: Add the debug keyword to the Linux kernel command line to enable debug mode.
  • Initrd debug mode: Add the debug keyword to the initrd configuration to enable debug mode.

By using these debug methods, you should be able to identify the cause of the delay in the boot flow on your custom carrier board.

Comparison with Jetson AGX Orin Boot Flow

The Jetson AGX Orin boot flow is similar to the boot flow on your custom carrier board. However, there are some differences in the boot configuration and the hardware.

The Jetson AGX Orin boot flow uses the UEFI firmware and the Linux kernel is loaded using the EFI stub. The initrd is loaded from the LINUXEFIINITRDMEDIAGUID device path.

To optimize the boot time on the Jetson AGX Orin, you can try disabling the MB1/MB2 logs, which can reduce the boot time by approximately 17 seconds.

Conclusion

In conclusion, to debug the issue of the boot flow taking more time on your custom carrier board, you can try comparing the boot logs, checking the boot configuration, using the UEFI debug mode, checking the initrd, checking the Linux kernel, using the bootchart tool, and checking the hardware. By using these debug methods, you should be able to identify the cause of the delay in the boot flow on your custom carrier board.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

Read more here: Source link