Jetson Orin NX 8G flash failure

I am flashing a Orin NX 8G from Jetpack 5.1.1 to Jetpack 6.2,
it failed with some USB or rcm_state related error.
SDKM_logs_JetPack_6.2_Linux_for_Jetson_Orin_NX_8GB_2025-03-25_15-31-35.zip (157.7 KB)

I tried using SDK manager or command line on ubuntu 20.04 / 22.04 all received the same results.
USB 2.0 is working fine and target Orin NX was put in recovery mode successfully.


Hi,

Some questions to confirm:

  • Is your ubuntu a native or a virtual machine (e.g. VMware)?
  • Is your Orin Nx a dev kit or a custom board?

Thanks

Hi David,

I am using native ubuntu and NX Dev Kit.
just solved the issue by Disable autosuspend on host PC with below command:
sudo -s
echo -1 > /sys/module/usbcore/parameters/autosuspend
referring to another post.

the other question to you:
I am trying to put NX in SUPER mode, from command script flashing, there’s option to enable:
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-super internal
however, by SDK Manager there’s no such option, how to enable SUPER mode if I flash NX using SDK Manager?

Hi,

SDK manager default will use the jetson-orin-nano-devkit-super config and enable the super mode

Thanks

1 Like

Flashed Orin NX 8G to L4T R36.4.3, set power mode to MAXN, however GPU frequency is till Maximized at 765MHz instead of 1.2GHz.

also in nvpmodel.conf
< POWER_MODEL ID=3 NAME=20W >
I didn’t see
< POWER_MODEL ID=4 NAME=40W >

what other configuration I need to change?

Hi @DavidDDD,

please advise.

Regards,

Hi,

Apologies for mislead.
With internal team discussion, current sdkm not support it.
Please download Driver Package (BSP) and Sample Root Filesystem from Jetson Linux | NVIDIA Developer.

And follow the Quick Start — NVIDIA Jetson Linux Developer Guide to setup
and execute flash command below:

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

Also, Do you execute sudo jetson_clocks before stress test?

Thanks

Hi @DavidDDD
yes, did jetson_clocks after flashing and Orin NX 16G GPU frequency tops at 918 MHz.

using command script, still failed with below messages:

adv@adv-Default-string:~/Downloads/Linux_for_Tegra$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -p “-c ./bootloader/generic/cfg/flash_t234_qspi.xml” -c ./tools/kernel_flash/flash_l4t_t234_nvme.xml --showlogs --network usb0 jetson-orin-nano-devkit-super external
Please install the Secureboot package to use initrd flash for fused board

Entry added by NVIDIA initrd flash tool

/home/adv/Downloads/Linux_for_Tegra/tools/kernel_flash/tmp 127.0.0.1(rw,nohide,insecure,no_subtree_check,async,no_root_squash)
rpcbind: another rpcbind is already running. Aborting
Export list for localhost:
/home/adv/Downloads/Linux_for_Tegra/tools/kernel_flash/tmp 127.0.0.1
/home/adv/Downloads/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --no-flash --external-device nvme0n1p1 -p -c ./bootloader/generic/cfg/flash_t234_qspi.xml -c ./tools/kernel_flash/flash_l4t_t234_nvme.xml --showlogs --network usb0 jetson-orin-nano-devkit-super external


  •                              *
    
  • Step 1: Generate flash packages *
  •                              *
    

Create folder to store images to flash
Generate image for internal storage devices
Generate images to be flashed
ADDITIONAL_DTB_OVERLAY=“” /home/adv/Downloads/Linux_for_Tegra/flash.sh --no-flash --sign -c ./bootloader/generic/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit-super external

###############################################################################

L4T BSP Information:

R36 , REVISION: 4.3

User release: 0.0

###############################################################################
ECID is 0x80012344705DE80B140000000D008180
copying device_config(/home/adv/Downloads/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-device-p3767-0000.dts)… done.
copying misc_config(/home/adv/Downloads/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)… done.
copying emc_fuse_dev_params(/home/adv/Downloads/Linux_for_Tegra/bootloader/generic/BCT/tegra234-br-bct-diag-boot.dts)… done.
copying minratchet_config(/home/adv/Downloads/Linux_for_Tegra/bootloader/generic/BCT/tegra234-mb1-bct-ratchet-p3767-0000.dts)… done.
Existing emcfuse(/home/adv/Downloads/Linux_for_Tegra/bootloader/fuse_t234.xml) reused.
./tegraflash.py --chip “0x23” --applet “/home/adv/Downloads/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” --minratchet_config tegra234-mb1-bct-ratchet-p3767-0000.dts --cmd “readfuses fuse_t234.bin fuse_t234.xml; dump eeprom cvm cvm.bin; dump try_custinfo custinfo_out.bin; reboot recovery”
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands

[ 0.0716 ] Reading fuses
[ 0.0731 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.0744 ] File rcm_state open failed
[ 0.0750 ] ERROR: failed to read rcm_state
[ 0.0750 ]
[ 0.0778 ] tegrasign_v3.py --key None --getmode mode.txt
[ 0.0782 ] Assuming zero filled SBK key
[ 0.0760 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[ 0.0960 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[ 0.1281 ] Pre-processing config: tegra234-mb1-bct-ratchet-p3767-0000.dts
[ 0.1470 ] Parsing partition layout
[ 0.1484 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.1520 ] Kernel DTB used: None
[ 0.1520 ] WARNING: dce base dtb is not provided

[ 0.1520 ] Parsing partition layout
[ 0.1535 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.1557 ] Creating list of images to be signed
[ 0.1572 ] Generating ratchet blob
[ 0.1573 ] Generating coldboot mb1-bct
[ 0.1586 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[ 0.1601 ] MB1-BCT version: 0.13

[ 0.1634 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.1642 ] Added Platform Config 9 data with size :- 100
[ 0.1642 ]
[ 0.1642 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb
[ 0.1642 ]
[ 0.1643 ] Updating mb1-bct with firmware information
[ 0.1657 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.1701 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 0.1717 ] Generating SHA2 Hash for mb1bct
[ 0.1776 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[ 0.1809 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[ 0.1800 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 0.1813 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 0.1865 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1869 ] Assuming zero filled SBK key
[ 0.1917 ] Warning: pub_key.key is not found
[ 0.1909 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.1949 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[ 0.1963 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.1993 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.2005 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.2178 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.2196 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.2358 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.2364 ] adding BCH for mb2_t234_aligned.bin
[ 0.2464 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.2895 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.2902 ] adding BCH for mb2_t234_aligned.bin
[ 0.3421 ] Filling MB1 storage info
[ 0.3422 ] Parsing dev params for multi chains
[ 0.3617 ] Generating br-bct
[ 0.3631 ] Updating dev and MSS params in BR BCT
[ 0.3632 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.3650 ] Updating bl info
[ 0.3665 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[ 0.3679 ] WARNING: boot chain is not completed. set to 0
[ 0.3703 ] Generating signatures
[ 0.3731 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.3734 ] Assuming zero filled SBK key
[ 0.4068 ] Warning: pub_key.key is not found
[ 0.4046 ] Parsing dev params for multi chains
[ 0.4046 ] Generating br-bct
[ 0.4061 ] Updating dev and MSS params in BR BCT
[ 0.4062 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.4085 ] Updating bl info
[ 0.4100 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.4113 ] WARNING: boot chain is not completed. set to 0
[ 0.4141 ] Generating SHA2 Hash
[ 0.4198 ] Sha saved in br_bct_BR.sha
[ 0.4174 ] Get Signed section of bct
[ 0.4187 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[ 0.4211 ] Signing BCT
[ 0.4238 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.4242 ] Assuming zero filled SBK key
[ 0.4317 ] Sha saved in br_bct_BR.sha
[ 0.4328 ] Warning: pub_key.key is not found
[ 0.4302 ] Updating BCT with signature
[ 0.4322 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[ 0.4334 ] Offset :4608 Len :3584
[ 0.4351 ] Generating SHA2 Hash
[ 0.4378 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[ 0.4384 ] Assuming zero filled SBK key
[ 0.4385 ] Assuming zero filled SBK key
[ 0.4459 ] Sha saved in br_bct_BR.sha
[ 0.4440 ] Updating BCT with SHA2 Hash
[ 0.4456 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[ 0.4469 ] Offset :4608 Len :3584
[ 0.4478 ] Offset :68 Len :8124
[ 0.4485 ] Generating coldboot mb1-bct
[ 0.4500 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[ 0.4512 ] MB1-BCT version: 0.13

[ 0.4554 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.4554 ] Added Platform Config 9 data with size :- 100
[ 0.4554 ]
[ 0.4554 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb
[ 0.4554 ]
[ 0.4555 ] Updating mb1-bct with firmware information
[ 0.4572 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.4620 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 0.4641 ] Generating SHA2 Hash for mb1bct
[ 0.4706 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[ 0.4740 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[ 0.4731 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 0.4744 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 0.4798 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.4802 ] Assuming zero filled SBK key
[ 0.4849 ] Warning: pub_key.key is not found
[ 0.4840 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.4873 ] Generating recovery mb1-bct
[ 0.4892 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct.cfg --misc tegra234-mb1-bct-misc-p3767-0000_cpp.dtb --device tegra234-mb1-bct-device-p3767-0000_cpp.dtb --minratchet tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb --ratchet_blob ratchet_blob.bin
[ 0.4907 ] MB1-BCT version: 0.13

[ 0.4950 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.4959 ] Added Platform Config 9 data with size :- 100
[ 0.4959 ]
[ 0.4959 ] Parsing config file :tegra234-mb1-bct-ratchet-p3767-0000_cpp.dtb
[ 0.4959 ]
[ 0.4960 ] Updating mb1-bct with firmware information
[ 0.4988 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.5035 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[ 0.5054 ] Generating SHA2 Hash for mb1bct
[ 0.5121 ] Sha saved in mb1_bct_MB1_aligned.sha
[ 0.5153 ] Sha saved in mb1_bct_MB1.sha
[ 0.5144 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[ 0.5157 ] adding BCH for mb1_bct_MB1_aligned.bct
[ 0.5209 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.5213 ] Assuming zero filled SBK key
[ 0.5256 ] Warning: pub_key.key is not found
[ 0.5244 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.5281 ] Info: Skip generating mem_bct because sdram_config is not defined
[ 0.5281 ] Info: Skip generating mem_bct because sdram_config is not defined
[ 0.5281 ] Copying signatures
[ 0.5296 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.5464 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.5468 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.5468 ] Boot Rom communication
[ 0.5483 ] tegrarcm_v2 --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.5496 ] BR_CID: 0x80012344705DE80B140000000D008180
[ 0.5513 ] Sending bct_br
[ 0.5517 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --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
[ 10.7746 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 10.7783 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 10.7821 ] Retrieving board information
[ 10.7836 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin
[ 10.7856 ] Retrieving EEPROM data
[ 10.7858 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/adv/Downloads/Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0
[ 10.7893 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 10.7929 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 10.7948 ] Dumping customer Info
[ 10.7964 ] tegrarcm_v2 --chip 0x23 0 --oem dump bct tmp.bct
[ 10.8003 ] tegrabct_v2 --brbct tmp.bct --chip 0x23 0 --custinfo /home/adv/Downloads/Linux_for_Tegra/bootloader/custinfo_out.bin
[ 10.8017 ] File tmp.bct open failed
[ 10.8023 ] Error: try getting custinfo fail. Moving on
[ 10.8024 ] Rebooting to recovery mode
[ 10.8040 ] tegrarcm_v2 --chip 0x23 0 --ismb2
[ 10.8061 ] Rebooting to recovery mode
[ 10.8084 ] tegrarcm_v2 --chip 0x23 0 --reboot recovery
Parsing board information failed.
Error: failed to generate images
Cleaning up…

the last parameter should be internal or external on Orin NX?
I tried both failed.

or any other way I can enable SUPER mode with current L4T 36.4.3 ?

is the failure caused by 5V VDD_IN ?

Just to clarify this first. Is your host PC able to flash the same board if you run the command manually but with non-super config file?

Basically this flash is just same thing with different board config. For normal one, use the one that has no “-super” in the config name.