Jetson Orin Nano – Exception in EL3

Issue Overview

Users have reported a persistent issue with the Nvidia Jetson Orin Nano Dev board, specifically regarding boot failures after configuring secure boot settings. The primary symptom is that after burning the "SecurityMode" fuse, the device fails to boot into NixOS, consistently returning an error related to an exception in EL3 (Exception Level 3). This problem occurs during the setup phase when users attempt to achieve a secure boot chain by modifying fuse settings. The affected hardware includes multiple Jetson Orin Nano boards and a third-party carrier board. The issue appears to be consistent across different attempts, as users have tested various configurations and observed that the system only boots successfully when the "SecurityMode" fuse is left unburned. This situation significantly impacts user experience, as it prevents the intended secure boot functionality from being utilized.

Possible Causes

  1. Hardware Incompatibilities: The use of a third-party carrier board may introduce compatibility issues that affect the boot process once certain fuses are burned.
  2. Software Bugs: There may be bugs in the firmware or software stack that interfere with the boot process when secure boot is enabled.
  3. Configuration Errors: Incorrect configuration of the fuse settings or other system parameters could lead to failure during the boot sequence.
  4. Driver Issues: Incompatibilities or bugs in drivers related to secure boot or hardware initialization could prevent successful booting.
  5. Environmental Factors: Power supply issues or overheating could exacerbate problems during the boot process.
  6. User Errors: Misunderstanding of the fuse burning process or incorrect steps in flashing the OS could lead to these issues.

Troubleshooting Steps, Solutions & Fixes

  1. Verify Fuse Configuration:

    • Ensure that the fuse configuration file is correctly set up and does not contain errors. Users should compare their configurations against known working examples.
  2. Boot without SecurityMode Fuse:

    • If encountering boot issues, revert to a configuration where the "SecurityMode" fuse is not burned and confirm that this allows for successful booting into NixOS.
  3. Use Correct Flashing Procedure:

    • Follow these steps for flashing:
      # Generate keys and fuse configuration files
      # Download L4T, ATF, and OPTEE source
      # Generate EKS image and TOS OP-TEE images using correct parameters
      # Place board in recovery mode
      ./odmfuse.sh -X <XML_FILE_PATH> -i 0x23 jetson-orin-nano-devkit-nvme
      ./flash.sh -c bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit-nvme internal
      
    • Ensure all commands are executed correctly and that the board remains powered during operations.
  4. Disable PMU Nodes:

    • As suggested by users, disabling PMU nodes such as "arm,dsu-pmu" and "nvidia,scf-pmu" may help resolve EL3 exceptions:
      dtc -I dtb -O dts -o temp.dts tegra234-xxx.dtb
      dtc -I dts -O dtb -o new-output.dtb temp.dts
      
  5. Check Kernel Logs:

    • Enable kernel logs to gather more detailed information about what occurs during the boot process:
      echo 1 > /proc/sys/kernel/printk
      
  6. Firmware Updates:

    • Apply any available firmware updates or patches related to EL3 exceptions, as indicated by users discussing updates in forums.
  7. Testing with Different Hardware Configurations:

    • If possible, test with an official Nvidia carrier board instead of a third-party one to determine if hardware compatibility is at fault.
  8. Consult Documentation and Community Forums:

    • Refer to Nvidia’s official developer documentation for additional troubleshooting tips and engage with community forums for shared experiences and solutions.
  9. Best Practices for Future Prevention:

    • Document all steps taken during configuration and flashing processes.
    • Avoid burning critical fuses until confirmed working configurations are established.
    • Regularly check for updates from Nvidia regarding software and firmware improvements.

By following these troubleshooting steps, users can systematically diagnose and potentially resolve issues related to secure boot on their Nvidia Jetson Orin Nano development boards while also contributing to community knowledge through shared experiences and solutions.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *