How to enable UEFI debug info

  • Basic Info:

hardware: jetson-agx-orin-devkit
JetPack : 6.2
Jetson Linux : 36.4.3

I already build the uefi as the wiki say, The default build not enable more debug log
But I want to enable more debug info, how to config it or enable

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

To enable more debug logs in the UEFI build for Jetson AGX Orin, you’ll need to modify the UEFI configuration. Here’s a step-by-step guide to help you achieve this:

  1. Understand the UEFI build process: The UEFI build process for Jetson AGX Orin is documented in the Jetson Linux Developer Guide. Make sure you have followed the instructions to build the UEFI firmware.
  2. Locate the UEFI configuration file: The UEFI configuration file is usually named Config.plist or platform.config. This file contains the build settings and configuration options for the UEFI firmware.
  3. Enable debug logs: To enable more debug logs, you’ll need to modify the DEBUG settings in the Config.plist file. You can do this by adding or modifying the following lines:
<key>DEBUG</key>
<dict>
    <key>DEBUG_LOG_LEVEL</key>
    <string>DEBUG</string>
    <key>DEBUG_LOG_MODULES</key>
    <array>
        <string>ALL</string>
    </array>
</dict>

This will set the debug log level to DEBUG and enable logging for all modules.

  1. Rebuild the UEFI firmware: After modifying the Config.plist file, you’ll need to rebuild the UEFI firmware using the build_uefi.sh script (or the equivalent command for your build environment).
  2. Flash the updated UEFI firmware: Once the UEFI firmware is rebuilt, you’ll need to flash the updated firmware to your Jetson AGX Orin device using the flash.sh script (or the equivalent command for your build environment).

Comparison with other Jetson modules:

The process of enabling debug logs in the UEFI build is similar across different Jetson modules, including Jetson Orin NX and Jetson Orin Nano. However, the specific configuration files and build scripts may vary depending on the module and the version of the Jetson Linux Developer Guide you are using.

Additional tips:

  • Make sure to save a copy of the original Config.plist file before modifying it, in case you need to revert to the original settings.
  • You can also enable debug logs for specific modules by adding the module name to the DEBUG_LOG_MODULES array. For example:
<key>DEBUG_LOG_MODULES</key>
<array>
    <string>PCIe</string>
    <string>USB</string>
</array>

This will enable debug logs only for the PCIe and USB modules.

By following these steps, you should be able to enable more debug logs in the UEFI build for your Jetson AGX Orin device.

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

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