# Orin Flash Error

**URL:** <https://forums.developer.nvidia.com/t/orin-flash-error/252227>\
**Category:** Jetson AGX Orin\
**Tags:** reflash\
**Created:** [May 4, 2023, 8:03am UTC](https://forums.developer.nvidia.com/t/orin-flash-error/252227 "2023-05-04T08:03:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hjjeong](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hjjeong](https://forums.developer.nvidia.com/u/hjjeong)\
**Post date:** [May 4, 2023, 8:03am UTC](https://forums.developer.nvidia.com/t/orin-flash-error/252227/1 "2023-05-04T08:03:24Z")

</div>

I am using Jetson AGX Orin Developer Kit 64GB.

> sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1

If you enter the command below to flash, the following errors are displayed.

How can I flash it?

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/c/4/c41825e224a51001f349587cadfc8355d318bb24.png)  
 ![image](https://global.discourse-cdn.com/nvidia/original/3X/a/3/a39a19e282193e7eb09c8c0dff2269d07b0dfea3.png)  
 ![image](https://global.discourse-cdn.com/nvidia/original/3X/5/1/51a3e24637c600cb73ea28306863dce440dac0aa.png)

\<TEXT!\>

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

# L4T BSP Information:

# R35 , REVISION: 3.1

# User release: 0.0

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

# Target Board Information:

# Name: jetson-agx-orin-devkit, Board Family: t186ref, SoC: Tegra 234,

# OpMode: production, Boot Authentication: NS,

# Disk encryption: disabled ,

###############################################################################  
copying emc\_fuse\_dev\_params(/home/san/Desktop/mydir/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-diag-boot.dts)… done.  
copying device\_config(/home/san/Desktop/mydir/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3701-0000.dts)… done.  
copying misc\_config(/home/san/Desktop/mydir/Linux\_for\_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3701-0000.dts)… done.  
./tegraflash.py --chip 0x23 --applet “/home/san/Desktop/mydir/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-p3701-0000.dts --misc\_config tegra234-mb1-bct-misc-p3701-0000.dts --bins “mb2\_applet applet\_t234.bin” --cmd “dump eeprom cvm cvm.bin; dump 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.4362] tegrarcm\_v2 --chip 0x23 0 --ismb2applet  
[0.4375] File rcm\_state open failed  
[0.4391] ERROR: failed to read rcm\_state  
[0.4391]  
[0.4417] tegrasign\_v3.py --key None --getmode mode.txt  
[0.4418] Assuming zero filled SBK key  
[0.4396] Pre-processing config: tegra234-mb1-bct-device-p3701-0000.dts  
[0.7918] Pre-processing config: tegra234-mb1-bct-misc-p3701-0000.dts  
[0.8232] Parsing partition layout  
[0.8311] tegraparser\_v2 --pt readinfo\_t234\_min\_prod.xml.tmp  
[0.8458] Kernel DTB used: None  
[0.8463] WARNING: dce base dtb is not provided

[0.8469] Parsing partition layout  
[0.8484] tegraparser\_v2 --pt readinfo\_t234\_min\_prod.xml.tmp  
[0.8557] Creating list of images to be signed  
[0.8676] tegrahost\_v2 --chip 0x23 0 --partitionlayout readinfo\_t234\_min\_prod.xml.bin --list images\_list.xml zerosbk  
[0.8690] MB1: Nvheader already present is mb1\_t234\_prod\_aligned.bin  
[0.8894] Header already present for mb1\_t234\_prod\_aligned\_sigheader.bin  
[0.8900] MB1: Nvheader already present is mb1\_t234\_prod\_aligned.bin  
[0.8937] Header already present for mb1\_t234\_prod\_aligned\_sigheader.bin  
[0.8981] MB1: Nvheader already present is psc\_bl1\_t234\_prod\_aligned.bin  
[0.9221] Header already present for psc\_bl1\_t234\_prod\_aligned\_sigheader.bin  
[0.9226] adding BCH for mb2\_t234\_aligned.bin  
[0.9271] MB1: Nvheader already present is psc\_bl1\_t234\_prod\_aligned.bin  
[0.9371] Header already present for psc\_bl1\_t234\_prod\_aligned\_sigheader.bin  
[0.9380] adding BCH for mb2\_t234\_aligned.bin  
[0.9572] Filling MB1 storage info  
[0.9579] Parsing dev params for multi chains  
[0.9636] Generating br-bct  
[0.9730] Updating dev and MSS params in BR BCT  
[0.9735] tegrabct\_v2 --dev\_param tegra234-br-bct-diag-boot\_cpp.dtb --brbct br\_bct.cfg --chip 0x23 0  
[0.9954] Updating bl info  
[0.9970] tegrabct\_v2 --brbct br\_bct\_BR.bct --chip 0x23 0 --updateblinfo readinfo\_t234\_min\_prod.xml.bin  
[0.9982] WARNING: boot chain is not completed. set to 0  
[1.0061] Generating signatures  
[1.0092] tegrasign\_v3.py --key None --list images\_list.xml --pubkeyhash pub\_key.key --sha sha512  
[1.0103] Assuming zero filled SBK key  
[1.1081] Warning: pub\_key.key is not found  
[1.1063] Parsing dev params for multi chains  
[1.1068] Generating br-bct  
[1.1081] Updating dev and MSS params in BR BCT  
[1.1087] tegrabct\_v2 --dev\_param tegra234-br-bct-diag-boot\_cpp.dtb --brbct br\_bct.cfg --chip 0x23 0  
[1.1135] Updating bl info  
[1.1147] tegrabct\_v2 --brbct br\_bct\_BR.bct --chip 0x23 0 --updateblinfo readinfo\_t234\_min\_prod.xml.bin --updatesig images\_list\_signed.xml  
[1.1160] WARNING: boot chain is not completed. set to 0  
[1.1458] Get Signed section of bct  
[1.1472] tegrabct\_v2 --brbct br\_bct\_BR.bct --chip 0x23 0 --listbct bct\_list.xml  
[1.1567] Signing BCT  
[1.1598] tegrasign\_v3.py --key None --list bct\_list.xml --pubkeyhash pub\_key.key --sha sha512  
[1.1607] Assuming zero filled SBK key  
[1.1808] Sha saved in br\_bct\_BR.sha  
[1.1819] Warning: pub\_key.key is not found  
[1.1799] Updating BCT with signature  
[1.1814] tegrabct\_v2 --brbct br\_bct\_BR.bct --chip 0x23 0 --updatesig bct\_list\_signed.xml  
[1.1826] Offset :4608 Len :3584  
[1.1887] Generating SHA2 Hash  
[1.1918] tegrasign\_v3.py --key None --list bct\_list.xml --sha sha512  
[1.1925] Assuming zero filled SBK key  
[1.1931] Assuming zero filled SBK key  
[1.2127] Sha saved in br\_bct\_BR.sha  
[1.2117] Updating BCT with SHA2 Hash  
[1.2136] tegrabct\_v2 --brbct br\_bct\_BR.bct --chip 0x23 0 --updatesha bct\_list\_signed.xml  
[1.2148] Offset :4608 Len :3584  
[1.2155] Offset :68 Len :8124  
[1.2209] Generating coldboot mb1-bct  
[1.2222] tegrabct\_v2 --chip 0x23 0 --mb1bct mb1\_cold\_boot\_bct.cfg --misc tegra234-mb1-bct-misc-p3701-0000\_cpp.dtb --device tegra234-mb1-bct-device-p3701-0000\_cpp.dtb  
[1.2233] MB1-BCT version: 0.10  
[1.2237] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_UNUSED5/ is not supported  
[1.2244] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_UNUSED5/ is not supported  
[1.2250] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_UNUSED5/ is not supported  
[1.2255] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_MCE\_COVERAGE/ is not supported  
[1.2260] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_MCE\_COVERAGE/ is not supported  
[1.2265] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_MCE\_COVERAGE/ is not supported  
[1.2270] ERROR: /misc/tsc\_controls/tsc\_locking\_config is not supported  
[1.2276] ERROR: /misc/tsc\_controls/tsc\_locking\_diff\_configuration is not supported  
[1.2280] ERROR: /misc/tsc\_controls/tsc\_locking\_ref\_frequency\_configuration is not supported  
[1.2286] ERROR: /misc/tsc\_controls/tsc\_locking\_control is not supported  
[1.2291] ERROR: /misc/tsc\_controls/tsc\_locking\_adjust\_configuration is not supported  
[1.2296] ERROR: /misc/tsc\_controls/tsc\_locking\_fast\_adjust\_configuration is not supported  
[1.2301] ERROR: /misc/tsc\_controls/tsc\_locking\_adjust\_delta\_control is not supported  
[1.2310] ERROR: /misc/tsc\_controls/tsc\_capture\_control\_ptx is not supported  
[1.2310] ERROR: /misc/tsc\_controls/tsc\_capture\_config\_ptx is not supported  
[1.2310] ERROR: /misc/tsc\_controls/tsc\_stscrsr is not supported  
[1.2310] ERROR: /misc/tsc\_controls/tsc\_locking\_adjust\_num\_control is not supported  
[1.2310]  
[1.2310] Parsing config file :tegra234-mb1-bct-device-p3701-0000\_cpp.dtb  
[1.2310] Added Platform Config 9 data with size :- 100  
[1.2310]  
[1.2310] Updating mb1-bct with firmware information  
[1.2320] tegrabct\_v2 --chip 0x23 0 --mb1bct mb1\_cold\_boot\_bct\_MB1.bct --updatefwinfo readinfo\_t234\_min\_prod.xml.bin  
[1.2434] tegrahost\_v2 --chip 0x23 0 --align mb1\_cold\_boot\_bct\_MB1\_aligned.bct  
[1.2539] tegrahost\_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1\_cold\_boot\_bct\_MB1\_aligned.bct zerosbk  
[1.2550] adding BCH for mb1\_cold\_boot\_bct\_MB1\_aligned.bct  
[1.2675] tegrasign\_v3.py --key None --list mb1\_cold\_boot\_bct\_MB1\_aligned\_sigheader.bct\_list.xml --pubkeyhash pub\_key.key --sha sha512  
[1.2682] Assuming zero filled SBK key  
[1.2776] Warning: pub\_key.key is not found  
[1.2767] 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  
[1.2855] Generating recovery mb1-bct  
[1.2868] tegrabct\_v2 --chip 0x23 0 --mb1bct mb1\_bct.cfg --misc tegra234-mb1-bct-misc-p3701-0000\_cpp.dtb --device tegra234-mb1-bct-device-p3701-0000\_cpp.dtb  
[1.2883] MB1-BCT version: 0.10  
[1.2887] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_UNUSED5/ is not supported  
[1.2893] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_UNUSED5/ is not supported  
[1.2898] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_UNUSED5/ is not supported  
[1.2903] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_MCE\_COVERAGE/ is not supported  
[1.2908] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_MCE\_COVERAGE/ is not supported  
[1.2913] ERROR: carveout /misc/carveout/aux\_info@CARVEOUT\_MCE\_COVERAGE/ is not supported  
[1.2918] ERROR: /misc/tsc\_controls/tsc\_locking\_config is not supported  
[1.2924] ERROR: /misc/tsc\_controls/tsc\_locking\_diff\_configuration is not supported  
[1.2931] ERROR: /misc/tsc\_controls/tsc\_locking\_ref\_frequency\_configuration is not supported  
[1.2935] ERROR: /misc/tsc\_controls/tsc\_locking\_control is not supported  
[1.2941] ERROR: /misc/tsc\_controls/tsc\_locking\_adjust\_configuration is not supported  
[1.2945] ERROR: /misc/tsc\_controls/tsc\_locking\_fast\_adjust\_configuration is not supported  
[1.2951] ERROR: /misc/tsc\_controls/tsc\_locking\_adjust\_delta\_control is not supported  
[1.2956] ERROR: /misc/tsc\_controls/tsc\_capture\_control\_ptx is not supported  
[1.2967] ERROR: /misc/tsc\_controls/tsc\_capture\_config\_ptx is not supported  
[1.2967] ERROR: /misc/tsc\_controls/tsc\_stscrsr is not supported  
[1.2967] ERROR: /misc/tsc\_controls/tsc\_locking\_adjust\_num\_control is not supported  
[1.2967]  
[1.2967] Parsing config file :tegra234-mb1-bct-device-p3701-0000\_cpp.dtb  
[1.2967] Added Platform Config 9 data with size :- 100  
[1.2967]  
[1.2968] Updating mb1-bct with firmware information  
[1.2978] tegrabct\_v2 --chip 0x23 0 --mb1bct mb1\_bct\_MB1.bct --recov --updatefwinfo readinfo\_t234\_min\_prod.xml.bin  
[1.3079] tegrahost\_v2 --chip 0x23 0 --align mb1\_bct\_MB1\_aligned.bct  
[1.3182] tegrahost\_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1\_bct\_MB1\_aligned.bct zerosbk  
[1.3196] adding BCH for mb1\_bct\_MB1\_aligned.bct  
[1.3314] tegrasign\_v3.py --key None --list mb1\_bct\_MB1\_aligned\_sigheader.bct\_list.xml --pubkeyhash pub\_key.key --sha sha512  
[1.3321] Assuming zero filled SBK key  
[1.3421] Warning: pub\_key.key is not found  
[1.3415] tegrahost\_v2 --chip 0x23 0 --updatesigheader mb1\_bct\_MB1\_aligned\_sigheader.bct.encrypt mb1\_bct\_MB1\_aligned\_sigheader.bct.hash zerosbk  
[1.3499] Error: Skip generating mem\_bct because sdram\_config is not defined  
[1.3505] Error: Skip generating mem\_bct because sdram\_config is not defined  
[1.3512] Copying signatures  
[1.3526] tegrahost\_v2 --chip 0x23 0 --partitionlayout readinfo\_t234\_min\_prod.xml.bin --updatesig images\_list\_signed.xml  
[1.3729] mb1\_t234\_prod\_aligned\_sigheader.bin.encrypt filename is from images\_list  
[1.3738] psc\_bl1\_t234\_prod\_aligned\_sigheader.bin.encrypt filename is from images\_list  
[1.3744] Boot Rom communication  
[1.3758] 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  
[1.3772] BR\_CID: 0x80012344705DD78D04000000080002C0  
[1.4119] Sending bct\_br  
[1.4546] 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  
Reading board information failed.

---

<div class="post-metadata">

**Author:** ![DaveYYY](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/daveyyy/32/233244_2.png) [@DaveYYY](https://forums.developer.nvidia.com/u/DaveYYY)\
**Post date:** [May 4, 2023, 8:32am UTC](https://forums.developer.nvidia.com/t/orin-flash-error/252227/3 "2023-05-04T08:32:48Z")

</div>

Hi,  
what version of Ubuntu are you using on the host PC?  
If it’s 20.04, then please try 18.04, as 20.04 may have some USB connection issues with Orin series.

If it still does not work, try this command shared by Wayne:

> [@Flashing Orin Nano Failed ("carveout is not supported" and other errors)](https://forums.developer.nvidia.com/t/flashing-orin-nano-failed-carveout-is-not-supported-and-other-errors/249907/2):
>
> Hi, I know you may not be happy with this. This error requires debug. I had same issue reported last week but the issue was resolved with a method that makes no sense. Please put your jetson orin nano into recovery mode first and share me the result of lsusb on your host. Run this command on your host echo 8 \> /proc/sys/kernel/printk echo 'module usbcore +p' \> /sys/kernel/debug/dynamic\_debug/control echo 'module xhci\_hcd +p' \> /sys/kernel/debug/dynamic\_debug/control And dump dmesg first. …

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [May 4, 2023, 9:01am UTC](https://forums.developer.nvidia.com/t/orin-flash-error/252227/4 "2023-05-04T09:01:27Z")

</div>

You may also try to dump the device side log from the micro usb port.

> **[NVIDIA Jetson Orin - Serial Console - RidgeRun Developer Connection](https://developer.ridgerun.com/wiki/index.php/NVIDIA_Jetson_Orin/In_Board/Getting_in_Board/Serial_Console)**
>
> NVIDIA Jetson Orin is the most powerful AI computer for energy-efficient autonomous machines. With up to 275 TOPS and up to 8X the performance of NVIDIA® Jetson AGX Xavier™.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [May 30, 2023, 9:26am UTC](https://forums.developer.nvidia.com/t/orin-flash-error/252227/6 "2023-05-30T09:26:21Z")

</div>

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