Jetson Orin UEFI boot error


Trying to boot the Jetson AGX Orin, it passes MB1 and MB2. Then, it fails on UEFI.

▒▒NOTICE:  BL31: v2.6(release):4fa405dbd
NOTICE:  BL31: Built : 20:16:55, Aug 10 2022
I/TC: Non-secure external DT found
I/TC: OP-TEE version: 3.16 (gcc version 9.3.0 (Buildroot 2020.08)) #2 Thu Aug 11 03:23:19 UTC 2022 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check
I/TC: Primary CPU initializing
I/TC: WARNING: Test OEM keys are being used!
I/TC: This is only for TZ-SE testing and should NOT be used for a shipping product!
E/TC:00 0 jetson_user_key_pta_init:700 jetson_user_key_pta_init: Failed (f0100006).
E/TC:00 0 call_initcalls:43 Initcall __text_start + 0x000dab50 failed
I/TC: Primary CPU switching to normal world boot
ERROR:   Exception reason=0 syndrome=0xbe000411
ERROR:   **************************************
ERROR:   RAS Uncorrectable Error in IOB, base=0xe010000:
ERROR:          Status = 0xec000612
ERROR:   SERR = Error response from slave: 0x12
ERROR:          IERR = CBB Interface Error: 0x6
ERROR:          Overflow (there may be more errors) - Uncorrectable
ERROR:          MISC0 = 0x44020040
ERROR:          MISC1 = 0x5554860000000000
ERROR:          MISC2 = 0x0
ERROR:          MISC3 = 0x0
ERROR:          ADDR = 0x80000000367fed40
ERROR:   **************************************
ERROR:   sdei_dispatch_event returned -1
Unhandled Exception in EL3.
x30            = 0x0000000050010b84
x0             = 0x0000000000000000
x1             = 0x0000000000000000

My carrier board does not have HDMI port or Display Port. I tried to disable the DP in the dtb node display@13800000{status = “disabled”;} and also following the instructions on nvdisp Readme, but it does not work.

To reverse this process, and skip display init and revert to a boot flow
without boot splash/display init on T194 boards, complete the following steps:

  1. Change the TBCFILE= line in p3668.conf.common and p2972-0000.conf.common to
    point to uefi_jetson.bin, for example:
  2. Remove the UEFIFILE= line from the above files.
  3. Edit, and remove the following lines:
    if [ “${CHIPID}” = “0x19” ] and [ ${UEFIFILE} != “” ]; then
    echo “NVDISP+UEFI in ${TBCFILE} …”
    truncate --size=393216 “${TBCFILE}”
    cat “${UEFIFILE}” >> “${TBCFILE}”
  4. Delete nvdisp-init.bin from your BSP Linux_for_Tegra/bootloader directory.
  5. Reflash your board.
    Now only UEFI will be run as the CPU-BL and no boot splash BMP will appear
    on HDMI.

Adding @WayneWWW


You are using Orin but not Xavier. The p3668 and p2972 configs are for Xavier… so they do not matter here.

Have you reflashed your board + module with sdkmanager already?

I actually just modified the files:

  • p3701.conf.common → ODMDATA="gbe-uphy-config-0,hsstp-lane-map-3,nvhs-uphy-config-0,hsio-uphy-config-0" and TBCFILE="bootloader/uefi_jetson.bin"
  • → removing the lines:
if [ “${CHIPID}” = “0x19” ] and [ ${UEFIFILE} != “” ]; then
echo “NVDISP+UEFI in ${TBCFILE} …”
truncate --size=393216 “${TBCFILE}”
cat “${UEFIFILE}” >> “${TBCFILE}”
  • Deleted nvdisp-init.bin from my BSP Linux_for_Tegra/bootloader directory.
  • Reflashed my board with both flash script and sdk manager.

As Wayne says, the nvdisp-init stuff (P3668.conf.common, p2972-0000.conf.common and any ‘CHIPID = 0x19’ sections in apply ONLY to T194/Xavier boards, not your Orin AGX system. So please don’t modify any files based on the nvdisp-init README for your system - it isn’t used at all. That includes your P3701.conf.common config file - leave it alone.

As to the UEFI RAS error you are seeing, Wayne can work with our UEFI team to diagnose that.