Hi all,
I am following the tutorial to reset the box (I need ubuntu 20.04 for my application and the board came with 22.04). I have an Orin NX 16 I received this week. I am able to log in normally, and I am able to put it into recovery mode once, to start the flashing procedure. I see it as 0955:7323 in lsusb and all before I start the flashing. But then the flashing procedure itself reboots it into recovery mode again via
./tegraflash.py --chip 0x23 --applet "/workspace/stereolabs_bsp/Linux_for_Tegra/bootloader/mb1_t234_prod.bin" --skipuid --cfg readinfo_t234_min_prod.xml --dev_params tegra234-br-bct-diag-boot.dts --device_config tegra234-mb1-bct-device-p3767-0000.dts --misc_config tegra234-mb1-bct-misc-p3767-0000.dts --bins "mb2_applet applet_t234.bin" --cmd "dump eeprom cvm cvm.bin; dump custinfo custinfo_out.bin; reboot recovery"
During this I see the board go down (disappears from lsusb) and then briefly come up again before disappearing. This makes the flashing fail at the end with
****************************************************
* *
* Step 2: Boot the device with flash initrd image *
* *
****************************************************
/workspace/stereolabs_bsp/Linux_for_Tegra/temp_initrdflash/bootloader0 /workspace/stereolabs_bsp/Linux_for_Tegra
./tegraflash.py --bl uefi_jetson_with_dtb_sigheader.bin.encrypt --bct br_bct_BR.bct --securedev --bldtb tegra234-p3767-0000-p3509-a02.dtb --applet rcm_2_encrypt.rcm --applet_softfuse rcm_1_encrypt.rcm --cmd "rcmboot" --cfg secureflash.xml --chip 0x23 --mb1_bct mb1_bct_MB1_sigheader.bct.encrypt --mem_bct mem_rcm_sigheader.bct.encrypt --mb1_cold_boot_bct mb1_cold_boot_bct_MB1_sigheader.bct.encrypt --mb1_bin mb1_t234_prod_aligned_sigheader.bin.encrypt --psc_bl1_bin psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --mem_bct_cold_boot mem_coldboot_sigheader.bct.encrypt --bins "psc_fw pscfw_t234_prod_sigheader.bin.encrypt; mts_mce mce_flash_o10_cr_prod_sigheader.bin.encrypt; mb2_applet applet_t234_sigheader.bin.encrypt; mb2_bootloader mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt; xusb_fw xusb_t234_prod_sigheader.bin.encrypt; dce_fw display-t234-dce_sigheader.bin.encrypt; nvdec nvdec_t234_prod_sigheader.fw.encrypt; bpmp_fw bpmp_t234-TE990M-A1_prod_sigheader.bin.encrypt; bpmp_fw_dtb tegra234-bpmp-3767-0000-a02-3509-a02_with_odm_sigheader.dtb.encrypt; sce_fw camera-rtcpu-sce_sigheader.img.encrypt; rce_fw camera-rtcpu-t234-rce_sigheader.img.encrypt; ape_fw adsp-fw_sigheader.bin.encrypt; spe_fw spe_t234_sigheader.bin.encrypt; tos tos-optee_t234_sigheader.img.encrypt; eks eks_t234_sigheader.img.encrypt; kernel boot0.img; kernel_dtb tegra234-p3767-0000-p3509-a02.dtb" --secondary_gpt_backup --bct_backup --boot_chain A --instance 1-1
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
Entering RCM boot
[ 0.0255 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from --mb1_bin
[ 0.0255 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from --psc_bl1_bin
[ 0.0255 ] rcm boot with presigned binaries
[ 0.0265 ] tegrarcm_v2 --instance 1-1 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 0.0274 ] No device on specified bus-port[1-1]
Error: Return value 8
Command tegrarcm_v2 --instance 1-1 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Cleaning up...
FLASH FAILED.
This is understandable because the board is not appearing in lsusb.
If I follow dmesg with sudo dmesg -w
during the flashing procedure I see the board appear only briefly after the flashing procedure requests for it to be rebooted into recovery again
[69043.096242] usb 1-1: new high-speed USB device number 15 using xhci_hcd
[69043.223298] usb 1-1: New USB device found, idVendor=0955, idProduct=7323, bcdDevice= 4.01
[69043.223303] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[69043.223304] usb 1-1: Product: APX
[69043.223305] usb 1-1: Manufacturer: NVIDIA Corp.
[69043.390718] usb 1-1: USB disconnect, device number 15
Any ideas? I have been trying for a couple of days and it’s blocking me because I can’t use my application in 22.04.
Please let me know how to proceed.
Best, Andres