Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
other DRIVE OS version
Target Operating System
Linux
Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
SDK Manager Version
1.9.1.10844
other
Only using NVIDIA Jetson Linux 35.6.0 BSP
Host Machine Version
native Ubuntu 18.04
other (Ubuntu 22.04.5 LTS)
ps. for building UEFI bootloader
1. Goal:
I am trying to upgrade Jetson AGX Xavier DevKit to JetPack 5.1.3 and optimize the boot time by disabling unnecessary drivers and services in the bootloader.
2. Steps Taken:
- Downloaded the Jetson SDK and the corresponding File System.
- Attempted to flash the bootloader using the following command:
sudo ./flash.sh -r -k cpu-bootloader jetson-agx-xavier-devkit mmcblk0p1
- The following error occurred during flashing:
[ 7.4989 ] tegradevflash_v2 --write A_cpu-bootloader 1_nvdisp-init_sigheader.bin.encrypt
[ 7.4993 ] Bootloader version 01.00.0000
[ 7.5009 ] Writing partition A_cpu-bootloader with 1_nvdisp-init_sigheader.bin.encrypt [ 3477504 bytes ]
[ 7.5011 ] 000000000d0d090d: E> NV3P_SERVER: Failed to open partition A_cpu-bootloader.
[ 7.5035 ]
Error: Return value 13
Command tegradevflash_v2 --write A_cpu-bootloader 1_nvdisp-init_sigheader.bin.encrypt
Failed to flash/read t186ref.
3. Debugging Attempts:
- Suspecting an issue with the initial configuration, I built the bootloader by disabling unnecessary device drivers following the guide:
- NVIDIA EDK2 Repository:
edkrepo
- Boot Time Optimization Guide: NVIDIA Docs
- NVIDIA EDK2 Repository:
- The build process completed successfully, and I replaced the newly built UEFI binary:
cp /home/user/jetson_os/yp_test/nvidia-uefi/images/uefi_Jetson_RELEASE.bin \
/home/user/jetson_os/yp/Linux_for_Tegra/bootloader/uefi_jetson.bin
- After replacing the bootloader, I attempted to flash it again using:
sudo ./flash.sh -r -k cpu-bootloader jetson-agx-xavier-devkit mmcblk0p1
- However, after flashing, the Jetson failed to boot and displayed the following crash log:
ERROR: MPIDR 0x80000000: exception reason=0 syndrome=0xbe000000
ERROR: Overflows, Uncorrectable errors - Unrecoverable error
ERROR: Status 0xC006612
ERROR: Uncorrectable fault (this is fatal)
ERROR: Exception raised from EL1
ERROR: sp_el0 = 0x0000000040018400
ERROR: esr_el1 = 0x0000000000000000
ERROR: MPIDR_EL1 = 0x0000000080000300
- When I restore the original
uefi_jetson.bin
and perform a full flash, the Jetson boots normally. - However, when flashing only the bootloader with the newly built UEFI binary, the issue persists.
4. Questions:
- What could be causing the boot failure when using the newly built UEFI binary?
- Is there a specific step required when flashing a custom-built UEFI bootloader separately from a full system flash?
- Are there additional configurations required when disabling drivers for boot time optimization?
- How can I properly validate that my UEFI build is correctly formatted and compatible with Jetson AGX Xavier DevKit?
- Is there an NVIDIA-recommended method to flash only the bootloader partition without encountering this issue?
Any insights or guidance would be greatly appreciated. Thank you!
System Details:
- Jetson Platform: AGX Xavier DevKit
- JetPack Version: 5.1.3
- L4T Version: R35.6.0
- Flashing Tool:
flash.sh
from Linux for Tegra (L4T) - Bootloader: Custom-built UEFI from NVIDIA EDK2
Looking forward to your support. Thank you!
BuildLog (bootloader)
BUILDLOG_Jetson.txt (202.7 KB)
BootLog (abnormal, jetson-agx-xavier)
kernel_log3.txt (15.6 KB)
inc files (for modifying bootloader)
NVIDIA.common.dsc.inc.txt (103.8 KB)
NVIDIA.fvmain.fdf.inc.txt (28.0 KB)
flashing failure (after flash.sh bootloader)
flashing failure.txt (48.3 KB)