Closed javieryu closed 1 year ago
A couple of things to try: What is the exact address that lsusb reports? It is possible to have the Jetson report that it is connected, but not in force recovery mode. The USB cable that you are using, is it data capable? It may be a plain charging cable which does not support flashing the Jetson.
lsusb
returns the following:
~ > lsusb | grep NVIDIA
Bus 001 Device 097: ID 0955:7523 NVIDIA Corp. APX
~ >
Is there a way to verify that I am in fact in forced recovery mode? I jumped pins 9 and 10 as shown in the video, and the PWR LED is green and the fan is not spinning (I saw somewhere that the fan doesn't run in forced recovery mode).
I verified that the USB cable works for file transfer by connecting my phone with the exact same setup and copying files to and from it's internal drive.
0955:7523 is correct for force recovery mode. If it is not in force recovery mode, it will report as 0955:7520 if I remember correctly. Is your Host PC a native Ubuntu install, or are you using a VM? What does it believe the board id is? In the script: (You'll need to be in the Linux_for_Tegra directory as I recall) $ sudo ./nvautoflash.sh --print_boardid When do you detach the jumper? The fan is temperature controlled, and will run when needed. This usually happens later in the flashing process.
~/software/bootFromExternalStorage/R35.3.1/Linux_for_Tegra main ❯ sudo ./nvautoflash.sh --print_boardid 18m 45s
[sudo] password for javier:
*** Checking ONLINE mode ... OK.
*** Checking target board connection ... 1 connections found.
*** Reading ECID ... FUSELEVEL=fuselevel_production hwchipid=0x23 bootauth=NS
*** Reading EEPROM ... "/home/javier/software/bootFromExternalStorage/R35.3.1/Linux_for_Tegra/bootloader/tegraflash.py" --chip 0x23 --applet "/home/javier/software/bootFromExternalStorage/R35.3.1/Linux_for_Tegra/bootloader/mb1_t234_prod.bin" --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" --skipuid --cmd "dump eeprom cvm cvm.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.0228 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet [ 0.0237 ] File rcm_state open failed [ 0.0241 ] ERROR: failed to read rcm_state [ 0.0241 ] [ 0.0263 ] tegrasign_v3.py --key None --getmode mode.txt [ 0.0265 ] Assuming zero filled SBK key [ 0.0245 ] Pre-processing config: tegra234-mb1-bct-device-p3701-0000.dts [ 0.0331 ] Pre-processing config: tegra234-mb1-bct-misc-p3701-0000.dts [ 0.0443 ] Parsing partition layout [ 0.0454 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp [ 0.0474 ] Kernel DTB used: None [ 0.0474 ] WARNING: dce base dtb is not provided
[ 0.0474 ] Parsing partition layout [ 0.0486 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp [ 0.0499 ] Creating list of images to be signed [ 0.0510 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk [ 0.0520 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin [ 0.0529 ] Header already present for mb1_t234_prod_aligned_sigheader.bin [ 0.0533 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin [ 0.0601 ] Header already present for mb1_t234_prod_aligned_sigheader.bin [ 0.0606 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin [ 0.0673 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin [ 0.0676 ] adding BCH for mb2_t234_aligned.bin [ 0.0712 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin [ 0.0898 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin [ 0.0901 ] adding BCH for mb2_t234_aligned.bin [ 0.1124 ] Filling MB1 storage info [ 0.1125 ] Parsing dev params for multi chains [ 0.1211 ] Generating br-bct [ 0.1221 ] Updating dev and MSS params in BR BCT [ 0.1222 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0 [ 0.1234 ] Updating bl info [ 0.1247 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin [ 0.1258 ] WARNING: boot chain is not completed. set to 0 [ 0.1266 ] Generating signatures [ 0.1288 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1290 ] Assuming zero filled SBK key [ 0.1436 ] Warning: pub_key.key is not found [ 0.1418 ] Parsing dev params for multi chains [ 0.1418 ] Generating br-bct [ 0.1429 ] Updating dev and MSS params in BR BCT [ 0.1430 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0 [ 0.1443 ] Updating bl info [ 0.1454 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml [ 0.1463 ] WARNING: boot chain is not completed. set to 0 [ 0.1476 ] Get Signed section of bct [ 0.1488 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml [ 0.1501 ] Signing BCT [ 0.1523 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1525 ] Assuming zero filled SBK key [ 0.1556 ] Sha saved in br_bct_BR.sha [ 0.1560 ] Warning: pub_key.key is not found [ 0.1539 ] Updating BCT with signature [ 0.1549 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml [ 0.1557 ] Offset :4608 Len :3584 [ 0.1562 ] Generating SHA2 Hash [ 0.1584 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512 [ 0.1586 ] Assuming zero filled SBK key [ 0.1586 ] Assuming zero filled SBK key [ 0.1621 ] Sha saved in br_bct_BR.sha [ 0.1604 ] Updating BCT with SHA2 Hash [ 0.1617 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml [ 0.1628 ] Offset :4608 Len :3584 [ 0.1632 ] Offset :68 Len :8124 [ 0.1636 ] Generating coldboot mb1-bct [ 0.1652 ] 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 [ 0.1663 ] MB1-BCT version: 0.10 [ 0.1665 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1672 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1675 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1678 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1681 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1684 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1686 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported [ 0.1686 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported [ 0.1686 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported [ 0.1687 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported [ 0.1687 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported [ 0.1687 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported [ 0.1687 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported [ 0.1687 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported [ 0.1687 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported [ 0.1687 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported [ 0.1687 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported [ 0.1687 ] [ 0.1687 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb [ 0.1688 ] Added Platform Config 9 data with size :- 100 [ 0.1688 ] [ 0.1688 ] Updating mb1-bct with firmware information [ 0.1698 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin [ 0.1722 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct [ 0.1743 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk [ 0.1753 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct [ 0.1784 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1786 ] Assuming zero filled SBK key [ 0.1808 ] Warning: pub_key.key is not found [ 0.1799 ] 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.1823 ] Generating recovery mb1-bct [ 0.1833 ] 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 [ 0.1843 ] MB1-BCT version: 0.10 [ 0.1845 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1851 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1853 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1856 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1859 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1862 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1866 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported [ 0.1867 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported [ 0.1867 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported [ 0.1867 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported [ 0.1867 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported [ 0.1867 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported [ 0.1867 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported [ 0.1867 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported [ 0.1867 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported [ 0.1867 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported [ 0.1867 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported [ 0.1867 ] [ 0.1867 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb [ 0.1867 ] Added Platform Config 9 data with size :- 100 [ 0.1867 ] [ 0.1868 ] Updating mb1-bct with firmware information [ 0.1878 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin [ 0.1902 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct [ 0.1923 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk [ 0.1934 ] adding BCH for mb1_bct_MB1_aligned.bct [ 0.1966 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1968 ] Assuming zero filled SBK key [ 0.1989 ] Warning: pub_key.key is not found [ 0.1984 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk [ 0.2001 ] Error: Skip generating mem_bct because sdram_config is not defined [ 0.2001 ] Error: Skip generating mem_bct because sdram_config is not defined [ 0.2002 ] Copying signatures [ 0.2012 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml [ 0.2073 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list [ 0.2075 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list [ 0.2075 ] Boot Rom communication [ 0.2085 ] 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.2097 ] BR_CID: 0x80012344705DD5032800000010FD8240 [ 0.7430 ] Sending bct_br [ 1.2657 ] 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 --- Error: Reading board information failed.
- I've tried detaching the jumper before running the flashing script, and also starting the flashing script with the jumper in. It seems to make no difference in the error that I get.
Are you able to boot it with a SD card?
I'll try that now, and get back to you ASAP.
By the way, thanks for all of the great videos. I've been watching JetsonHacks videos since 2017!
Yes, I am able to boot from an SD Card using the usual etcher.
The SD card seems to make no difference when I try to flash to SSD.
Old school YT viewer, thanks for the views! The code here is just the lower level code that is called from the SDK Manager. Just a heads up, that the SDK Manager fails indicates it's something NVIDIA needs to help you with. Everything past this is guessing on my part.
With that said, check to see how much memory is available on the system after booting from the SD card. If it ~6.6 GB, it indicates that an older version of the firmware is installed (this is true of early production units). My understanding is that it is now possible to upgrade the firmware from the SD card. Go to this page: https://docs.nvidia.com/jetson/archives/r35.4.1/ReleaseNotes/Jetson_Linux_Release_Notes_r35.4.1.pdf Under issue: 4021049 you'll find instructions on how to update the firmware. You may need to flash a 35.4.1 SD card image first. Once you update the firmware, you may be able to flash the system.
Interesting, I tried to upgrade the firmware using those instructions, but it don't think it changed anything. The memory on my Jetson is still 6.4 Gb after running those commands.
Still fails to flash after this. I will try posting on the Nvidia Developer Forums, and circle back later if I find a solution.
That's strange. One last pitch. From the article: https://jetsonhacks.com/2023/05/26/jetson-orin-nano-flashing-qspi-firmware-for-more-memory/ From the host, with the Jetson in force recovery mode: $ sudo ./flash.sh -c ./bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit mmcblk0p1
That command also fails, and with similar errors to the others:
~/software/bootFromExternalStorage/R35.3.1/Linux_for_Tegra main ❯ sudo ./flash.sh -c ./bootloader/t186ref/cfg/flash_t234_qspi.xml jetson-orin-nano-devkit mmcblk0p1
###############################################################################
# L4T BSP Information:
# R35 , REVISION: 3.1
# User release: 0.0
###############################################################################
# Target Board Information:
# Name: jetson-orin-nano-devkit, Board Family: t186ref, SoC: Tegra 234,
# OpMode: production, Boot Authentication: NS,
# Disk encryption: disabled ,
###############################################################################
copying emc_fuse_dev_params(/home/javier/software/bootFromExternalStorage/R35.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-diag-boot.dts)... done.
copying device_config(/home/javier/software/bootFromExternalStorage/R35.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(/home/javier/software/bootFromExternalStorage/R35.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
./tegraflash.py --chip 0x23 --applet "/home/javier/software/bootFromExternalStorage/R35.3.1/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"
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.0480 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.0491 ] File rcm_state open failed
[ 0.0494 ] ERROR: failed to read rcm_state
[ 0.0494 ]
[ 0.0594 ] tegrasign_v3.py --key None --getmode mode.txt
[ 0.0596 ] Assuming zero filled SBK key
[ 0.0499 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[ 0.0592 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[ 0.0711 ] Parsing partition layout
[ 0.0727 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0748 ] Kernel DTB used: None
[ 0.0748 ] WARNING: dce base dtb is not provided
[ 0.0748 ] Parsing partition layout
[ 0.0759 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0774 ] Creating list of images to be signed
[ 0.0785 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk
[ 0.0796 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0807 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0810 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0877 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0880 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.0945 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.0947 ] adding BCH for mb2_t234_aligned.bin
[ 0.0986 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.1173 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.1178 ] adding BCH for mb2_t234_aligned.bin
[ 0.1428 ] Filling MB1 storage info
[ 0.1428 ] Parsing dev params for multi chains
[ 0.1530 ] Generating br-bct
[ 0.1542 ] Updating dev and MSS params in BR BCT
[ 0.1543 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.1559 ] Updating bl info
[ 0.1571 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[ 0.1583 ] WARNING: boot chain is not completed. set to 0
[ 0.1591 ] Generating signatures
[ 0.1691 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1693 ] Assuming zero filled SBK key
[ 0.1866 ] Warning: pub_key.key is not found
[ 0.1770 ] Parsing dev params for multi chains
[ 0.1771 ] Generating br-bct
[ 0.1783 ] Updating dev and MSS params in BR BCT
[ 0.1784 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.1802 ] Updating bl info
[ 0.1820 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.1834 ] WARNING: boot chain is not completed. set to 0
[ 0.1848 ] Get Signed section of bct
[ 0.1863 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[ 0.1880 ] Signing BCT
[ 0.1980 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1983 ] Assuming zero filled SBK key
[ 0.2028 ] Sha saved in br_bct_BR.sha
[ 0.2034 ] Warning: pub_key.key is not found
[ 0.1936 ] Updating BCT with signature
[ 0.1950 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[ 0.1963 ] Offset :4608 Len :3584
[ 0.1969 ] Generating SHA2 Hash
[ 0.2068 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[ 0.2072 ] Assuming zero filled SBK key
[ 0.2072 ] Assuming zero filled SBK key
[ 0.2121 ] Sha saved in br_bct_BR.sha
[ 0.2028 ] Updating BCT with SHA2 Hash
[ 0.2043 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[ 0.2057 ] Offset :4608 Len :3584
[ 0.2062 ] Offset :68 Len :8124
[ 0.2062 ]
[ 0.2064 ] Generating coldboot mb1-bct
[ 0.2079 ] 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
[ 0.2092 ] MB1-BCT version: 0.10
[ 0.2095 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.2102 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.2106 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.2110 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.2114 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.2119 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.2123 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.2124 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.2124 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.2124 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.2124 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.2124 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.2124 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.2124 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.2124 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.2124 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.2124 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 0.2124 ]
[ 0.2124 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.2124 ] Added Platform Config 9 data with size :- 100
[ 0.2124 ]
[ 0.2125 ] Updating mb1-bct with firmware information
[ 0.2139 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.2179 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 0.2209 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 0.2223 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 0.2336 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.2339 ] Assuming zero filled SBK key
[ 0.2367 ] Warning: pub_key.key is not found
[ 0.2286 ] 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.2311 ] Generating recovery mb1-bct
[ 0.2328 ] 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
[ 0.2342 ] MB1-BCT version: 0.10
[ 0.2344 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.2351 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.2355 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported
[ 0.2359 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.2364 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.2368 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported
[ 0.2371 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.2371 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.2371 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.2371 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.2372 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.2372 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.2372 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.2372 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.2372 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.2372 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.2372 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 0.2372 ]
[ 0.2372 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.2372 ] Added Platform Config 9 data with size :- 100
[ 0.2372 ]
[ 0.2373 ] Updating mb1-bct with firmware information
[ 0.2387 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.2422 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[ 0.2453 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[ 0.2467 ] adding BCH for mb1_bct_MB1_aligned.bct
[ 0.2583 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.2586 ] Assuming zero filled SBK key
[ 0.2615 ] Warning: pub_key.key is not found
[ 0.2534 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.2558 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.2559 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.2559 ] Copying signatures
[ 0.2573 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.2661 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.2664 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list
[ 0.2664 ] Boot Rom communication
[ 0.2681 ] 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.2696 ] BR_CID: 0x80012344705DD5032800000010FD8240
[ 0.8017 ] Sending bct_br
[ 1.3286 ] 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.
I raised this error on the NVIDIA developer forums, and it appears to be a known bug with the combination of a 20.04 host and the Orin Nano DevKit.
See here for thread: https://forums.developer.nvidia.com/t/jetston-orin-nano-8gb-devkit-fails-to-flash-with-sdkmanager/262606.
After tracking down a machine running 18.04 I was able to flash my Jetson's NVMe with the SDKManager, and everything seems to be working now. I'm in a bit of a rush with this setup, and so I didn't have time to try replicating with this repository. However, I would assume that this was the same issue as the errors I was getting in the SDKManager were identical to the printouts from these scripts.
Thanks for the help!
Their answer certainly does not leave one with warm fuzzies. I'm glad you were able to get it to work.
I am now facing the exact same problem :/
➤ ./flash_jetson_external_storage.sh
/home/pramodh/Downloads/bootFromExternalStorage/R35.4.1/Linux_for_Tegra
Checking Jetson ...
--- Error: Reading board information failed.
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
ERROR: Unsupported device.
This method currently only works for the Jetson Xavier or Jetson Orin
I am trying to flash an Orin Nano using Ubuntu 22.04.
Edit: nvm. I was able to flash using another host PC with the exact same configuration
Describe the issue When I run the script to flash my Jetson I get the following error:
Which version of Ubuntu on the Host machine Ubuntu version: 20.04
What version of L4T/JetPack L4T/JetPack version: 35.3.1/5.1.1
Which Jetson Jetson Orin Nano DevKit 8GB
To Reproduce I followed the steps exactly as described in this article https://jetsonhacks.com/2023/05/30/jetson-orin-nano-tutorial-ssd-install-boot-and-jetpack-setup/. Steps to reproduce the behavior:
Additional context
lsusb
shows the device is connect and recognized as an NVIDIA product.