Orin NX flashing issue - cannot set terminal process group (-1): Inappropriate ioctl for device

I ran into an issue when flashing my Orin NX 16GB to Jetpack 6.1. I attached all the logs (from the flash command, console log during flash and after trying to boot the device). In short:

As per the instructions I started the process with:

 sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p '-c bootloader/generic/cfg/flash_t234_qspi.xml' --showlogs --network usb0 jetson-orin-nano-devkit internal

The process stops with:

/home/nvidia/nvidia/nvidia_sdk/JetPack_6.1_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra
***************************************
*                                     *
*  Step 3: Start the flashing process *
*                                     *
***************************************
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
Waiting for target to boot-up...
[...]
Waiting for target to boot-up...
Timeout
Device failed to boot to the initrd flash kernel. Please retrive the serial log during flashing to debug further.
Cleaning up...

on the console log on Orin NX I see:

[    4.897073] spi-nor spi0.0: mx25u51279g (65536 Kbytes)
[    5.916377] using random self ethernet address
[    5.916385] using random host ethernet address
[    5.919840] usb0: HOST MAC 96:b8:cf:21:8f:fb
[    5.919845] usb0: MAC 26:3b:04:bb:c7:71
[    5.921004] tegra-xudc 3550000.usb: EP 0 (type: ctrl, dir: out) enabled
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash-5.1# [GFX1-]: Managed to allocate after flush.

I tried many other things but with no luck. What could be wrong? The issue is the same when I use sdkmanager directly, it hungs at 99% but the underlying logs are the same.

Please let me know what needs to be done differently, I followed the instructions as per your documentation. The device was running ok with JP5 previously.

boot_log_after_flash.txt (32.6 KB)
console_log.txt (80.4 KB)
flash_log.txt (306.3 KB)

Hi,

Some questions to confirm:

  • Is your Orin NX using a Orin Nano Developer Kit or other custom board?
  • Is your ubuntu running on a physical machine or a virtual machine (e.g. WSL, VirtualBox, VMware)

Thanks

  • It is a yahboom board
  • physical machine + docker

thank you

Hi,

Is your BSP from yahboom vendor or our download center?
If from our, please reach out to the yahboom vendor to get customized bsp.

Thanks

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