ZED Box Orin NX 16GB: JetPack 5.1.2 flashes OK (FLASH SUCCESS) but won't boot

Hi everyone,

I need Ubuntu 20.04 on a ZED Box (Jetson Orin NX 16GB, NVMe SSD) to run ROS Noetic, so I flashed it with JetPack 5.1.2 (L4T 35.4.1) using the official script. The flash finishes with FLASH SUCCESS, but the unit never boots the OS. JetPack 6.2 flashed on the same unit and host boots perfectly, so the hardware seems fine and the problem looks specific to 5.1.2.

Setup

  • Target: ZED Box Orin NX 16GB
  • Host PC: native Ubuntu 20.04 install (not a Live USB), qemu-user-static installed, >80 GB free disk space
  • Script: zedbox_onx_usb_flash_5.1.2.sh (from download.stereolabs.com/scripts/)
  • Command: BSP_ROOT=./stereolabs_bsp/ ./zedbox_onx_usb_flash_5.1.2.sh (without sudo)

What happens with JetPack 5.1.2

  • I put the unit in recovery mode (OTG connected before power). lsusb -d ‘0955:’ shows 0955:7323.
  • The flash completes with FLASH SUCCESS.
  • I unplug OTG and power-cycle. The UEFI (v4.1, August 2023) can’t find a bootable OS on the NVMe, falls back to HTTP Boot → PXE Boot, and ends up in the UEFI Shell.
  • This message appears: L4TLauncher: Unable to locate L4T Support protocol… legacy interface
  • In the UEFI Shell no keyboard works. I tried several, including wired USB keyboards, and none were detected, so I can’t type anything, open the Boot Manager (F11) or change the boot order.

I reproduced this on 2 separate flashes.

JetPack 6.2 test

To rule out a hardware problem, I flashed JetPack 6.2 with zedbox_all_usb_flash_6.2.sh from a clean folder, on the same unit, host and cable. The flash completed, and the unit booted straight into Ubuntu 22.04 without any issue. So the board, NVMe, OTG path and host setup all work.

What I’ve already checked (on 5.1.2)

  • Recovery mode: works (0955:7323). OTG is connected before power, as described in the “Flash your ZED Box Orin” docs. Without it the unit boots normally (0955:7020).
  • Power cycling: full power removal and replug several times. Same behavior. Earlier power instability was caused by a faulty outlet, which is now fixed.
  • Correct BSP: my first working folder was for JetPack 7.2. I re-flashed from a clean folder with only the 5.1.2 script/BSP. Same result.
  • Rootfs architecture: file rootfs/bin/bash → ELF 64-bit, ARM aarch64. OK.
  • Flash logs: no errors, only the benign “backup GPT table is corrupt / not at the end of the disk” warnings.

Questions

Is JetPack 5.1.2 supported on this ZED Box Orin NX 16GB? Could newer hardware revisions (or units shipped with JetPack 6.x) be incompatible with 5.1.2?

Does the L4T Support protocol… legacy interface message point to a mismatch between the QSPI firmware and the bootloader on the NVMe? After running 6.2, is a full downgrade of the QSPI firmware to 5.1.2 possible, and how?

Is it expected that USB keyboards aren’t detected in the UEFI Shell on this unit?

Thanks!

Hi @ccastellanos-code,

Thank you for the detailed report and for the control test with JetPack 6.2.

Yes, JetPack 5.1.2 (L4T 35.4.1) is supported on the ZED Box Orin NX 16 GB with the zedbox_onx_usb_flash_5.1.2.sh script listed in the flashing guide.
Can you share the serial number of your ZED Box, so I can check the hardware revision?

The flash script writes both the QSPI bootloader and the NVMe, so you can go back from 6.2 to 5.1.2.
The backup GPT warnings make me suspect that the NVMe still holds parts of the JetPack 6.2 partition table. Can you boot the working JetPack 6.2 system, wipe the NVMe partition table, and then flash 5.1.2 again?

sudo apt install gdisk
sudo sgdisk --zap-all /dev/nvme0n1
sudo reboot --force forced-recovery

Then run the 5.1.2 script from a clean BSP_ROOT folder as usual.
If the boot still fails, please attach the full flash log and the complete UEFI console output.

You should not need the UEFI Shell. When the image is written correctly, the ZED Box boots Ubuntu 20.04 directly.
Which USB port did you plug the keyboard into?

Best regards,
Walter