I’m own a J4012 Orin NX (16GB). And I’m following the instructions from the manufacturer, which follow closely to Nvidia’s and does not have a custom BSP Seeed Studio steps for flashing. And I’ve tried flashing it with both Jetpack 5.1.2 and 5.1.3
I use a slight modification of the command [-S 62545443840] to make my app partition ~62GB.
sudo ./tools/kernel_flash/l4t_initrd_flash.sh -S 62545443840 --external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" \
--showlogs --network usb0 p3509-a02+p3767-0000 internal
I’ve also tried other commands like the one shown as Nvidia’s "official method"
sudo ./tools/kernel_flash/l4t_initrd_flash.sh -S 62545443840 --external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" \
--showlogs --network usb0 p3509-a02+p3767-0000 nvme0n1p1
I also tried:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh -S 62545443840 --external-device nvme0n1p1 \
-c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" \
--showlogs --network usb0 p3509-a02+p3767-0000 internal
All approaches yield the same result. The device “successfully flashes”, but it fails to boot. It displays the error boot\extlinux\extlinux.conf: Not Found and then hangs.
Error Codes:
Jetson UEFI firmware (version 5.0-35550185 built on 2024-02-20T04-21:22-00:00)
ESC to enter Setup.
F11 to enter Boot Manager Menu.
Enter to continue boot.
** WARNING: Test Key is used. **
L4TLauncher: Attempting Direct Boot
OpenAndReadUntrustedFileToBuffer: Failed to open boot\extlinux\extlinux.conf: No
t Found
ProcessExtLinuxConfig:sds Failed to Authenticate boot\extlinux\extlinux.conf (No
t Found)
L4TLauncher: Unable to process extlinux config: Not Found
L4TLauncher: Attempting Kernel Boot
EFI stub: Booting Linux Kernel
EFI stub: Usinb DTB from configuration table
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
EFI stub: Exiting boot services and installing virtual address map...