Hey, My boss bought a ES-JNX42 Orin Nano™ or Orin NX™ embedded system from auvidea with JNX42-LM carrier board with Jetson Orin NX 16 GB compute module and it has a M.2 NVME 128 GB SSD built into it.
We followed Auvidea guide on flashing the product here’s the link:
After that when we tried to flash it with the command that they provided we got the error that it can’t find board id: p3509-a02+p3767-0000
Turns out we need Auvidea firmware to use this command which they dont say in the guide. The firmware has a lot of kernel files which i think is necessary. So we downloaded the firmware from the site copied the content to the linux_for_tegra folder now we got the p3509-a02+p3767-0000.conf files etc then we tried again no luck.
This guide is provided in the firmware files from the auvidea site.
-
prepare the sdk
ONLY NEEDED IF NO ORIN WAS FLASHED BEFORE
-start the sdkmanager
-select the Jetson AGX Orin modules as target Hardware
-select Jetpack 5.1.3 as target operating system
-start the installation until the sdk asks you for either use automatic or manual setup
→ at this point you can choose to “skip” the rest of the installation and continue with step 2 of this instructions -
copy the contents of the kernel_out folder in the auvidea packet to the nvida_sdk folder
→ cp ~/kernel_out/* /home/USER/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra -
switch in the Orin folder and apply binaries
→ cd /home/USER/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra
→ sudo ./apply_binaries.sh -
enter the Jetpack Linux_for_Tegra folder and flash the Jetson
→ cd /home/USER/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/
for target carrier JNX42
→ sudo ./flash_orin_nx_auvidea_JNX42.sh
for target carrier JNX45
→ sudo ./flash_orin_nx_auvidea_JNX45.sh
for target carrier JNX46
→ sudo ./flash_orin_nx_auvidea_JNX46.sh
for target carrier JNX82
→ sudo ./flash_orin_nx_auvidea_JNX82.sh
We followed everything and then tried to flash. Heres the full log:
epadmin@epadmin-ESPRIMO-P400:~/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra$ sudo ./flash_orin_nx_auvidea_JNX42.sh
[sudo] password for epadmin:
Sorry, try again.
[sudo] password for epadmin:
/home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --no-flash --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p -c bootloader/t186ref/cfg/flash_t234_qspi.xml --showlogs --network usb0 orin_nx_JNX42 internal
************************************
* *
* 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/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/flash.sh --no-flash --sign -c bootloader/t186ref/cfg/flash_t234_qspi.xml orin_nx_JNX42 internal
###############################################################################
# L4T BSP Information:
# R35 , REVISION: 5.0
# User release: 0.0
###############################################################################
ECID is 0x80012344705DD80B1400000007028080
copying emc_fuse_dev_params(/home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-diag-boot.dts)... done.
copying device_config(/home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(/home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
./tegraflash.py --chip 0x23 --applet "/home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/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.0752 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.0768 ] File rcm_state open failed
[ 0.0776 ] ERROR: failed to read rcm_state
[ 0.0776 ]
[ 0.1016 ] tegrasign_v3.py --key None --getmode mode.txt
[ 0.1021 ] Assuming zero filled SBK key
[ 0.0787 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[ 0.5564 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[ 0.6092 ] Parsing partition layout
[ 0.6237 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.6349 ] Kernel DTB used: None
[ 0.6349 ] WARNING: dce base dtb is not provided
[ 0.6349 ] Parsing partition layout
[ 0.6368 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.6391 ] Creating list of images to be signed
[ 0.6574 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk
[ 0.6592 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.6803 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.6811 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.6932 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.6954 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.7061 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.7066 ] adding BCH for mb2_t234_aligned.bin
[ 0.7410 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.7609 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.7615 ] adding BCH for mb2_t234_aligned.bin
[ 0.7799 ] Filling MB1 storage info
[ 0.7799 ] Parsing dev params for multi chains
[ 0.7879 ] Generating br-bct
[ 0.8189 ] Updating dev and MSS params in BR BCT
[ 0.8190 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.8292 ] Updating bl info
[ 0.8315 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[ 0.8335 ] WARNING: boot chain is not completed. set to 0
[ 0.8351 ] Generating signatures
[ 0.8590 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.8596 ] Assuming zero filled SBK key
[ 0.9303 ] Warning: pub_key.key is not found
[ 0.9068 ] Parsing dev params for multi chains
[ 0.9068 ] Generating br-bct
[ 0.9082 ] Updating dev and MSS params in BR BCT
[ 0.9083 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.9100 ] Updating bl info
[ 0.9113 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.9124 ] WARNING: boot chain is not completed. set to 0
[ 0.9147 ] Get Signed section of bct
[ 0.9160 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[ 0.9175 ] Signing BCT
[ 0.9414 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.9417 ] Assuming zero filled SBK key
[ 0.9467 ] Sha saved in br_bct_BR.sha
[ 0.9473 ] Warning: pub_key.key is not found
[ 0.9235 ] Updating BCT with signature
[ 0.9253 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[ 0.9268 ] Offset :4608 Len :3584
[ 0.9274 ] Generating SHA2 Hash
[ 0.9513 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[ 0.9517 ] Assuming zero filled SBK key
[ 0.9517 ] Assuming zero filled SBK key
[ 0.9566 ] Sha saved in br_bct_BR.sha
[ 0.9332 ] Updating BCT with SHA2 Hash
[ 0.9345 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[ 0.9357 ] Offset :4608 Len :3584
[ 0.9363 ] Offset :68 Len :8124
[ 0.9363 ]
[ 0.9364 ] Generating coldboot mb1-bct
[ 0.9376 ] 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.9388 ] MB1-BCT version: 0.12
[ 0.9391 ] ERROR: /misc/enable_dram_page_blacklisting is not supported
[ 0.9397 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.9404 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.9411 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.9417 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.9422 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.9422 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.9422 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.9422 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.9422 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.9422 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.9422 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.9422 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.9422 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.9422 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 0.9422 ]
[ 0.9422 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.9422 ] Added Platform Config 9 data with size :- 100
[ 0.9422 ]
[ 0.9423 ] Updating mb1-bct with firmware information
[ 0.9436 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.9463 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 0.9476 ] Generating SHA2 Hash for mb1bct
[ 0.9735 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[ 0.9756 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[ 0.9530 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 0.9541 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 0.9798 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.9803 ] Assuming zero filled SBK key
[ 0.9832 ] Warning: pub_key.key is not found
[ 0.9610 ] 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.9636 ] Generating recovery mb1-bct
[ 0.9650 ] 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.9663 ] MB1-BCT version: 0.12
[ 0.9666 ] ERROR: /misc/enable_dram_page_blacklisting is not supported
[ 0.9672 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.9678 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.9684 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.9690 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.9695 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.9701 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.9708 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.9708 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.9708 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.9708 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.9708 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.9708 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.9708 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.9709 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 0.9709 ]
[ 0.9709 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.9709 ] Added Platform Config 9 data with size :- 100
[ 0.9709 ]
[ 0.9709 ] Updating mb1-bct with firmware information
[ 0.9724 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.9764 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[ 0.9778 ] Generating SHA2 Hash for mb1bct
[ 1.0039 ] Sha saved in mb1_bct_MB1_aligned.sha
[ 1.0063 ] Sha saved in mb1_bct_MB1.sha
[ 0.9841 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[ 0.9854 ] adding BCH for mb1_bct_MB1_aligned.bct
[ 1.0106 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 1.0108 ] Assuming zero filled SBK key
[ 1.0137 ] Warning: pub_key.key is not found
[ 0.9913 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.9935 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.9935 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.9935 ] Copying signatures
[ 0.9947 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 1.0056 ] Boot Rom communication
[ 1.0070 ] 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.0084 ] BR_CID: 0x80012344705DD80B1400000007028080
[ 1.0099 ] Sending bct_br
[ 1.0101 ] Sending mb1
[ 1.0105 ] Sending psc_bl1
[ 1.0215 ] Sending bct_mb1
[ 1.0274 ] Boot Rom communication completed
[ 1.0553 ] tegrahost_v2 --chip 0x23 0 --align applet_t234_aligned.bin
[ 1.0591 ] tegrahost_v2 --chip 0x23 0 --magicid MB2A --appendsigheader applet_t234_aligned.bin zerosbk
[ 1.0608 ] adding BCH for applet_t234_aligned.bin
[ 1.0992 ] tegrasign_v3.py --key None --list applet_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[ 1.0996 ] Assuming zero filled SBK key
[ 1.1044 ] Warning: pub_key.key is not found
[ 1.0823 ] tegrahost_v2 --chip 0x23 0 --updatesigheader applet_t234_aligned_sigheader.bin.encrypt applet_t234_aligned_sigheader.bin.hash zerosbk
[ 1.0853 ] Sending mb2_applet...
[ 1.0865 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download applet applet_t234_sigheader.bin.encrypt
[ 1.0878 ] BL: version 1.4.0.1-t234-54845784-08e631ca last_boot_error: 0
[ 1.2328 ] Sending applet
[ 1.2331 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --chip 0x23 0 --pollbl --download applet applet_t234_sigheader.bin.encrypt
Reading board information failed.
Error: /home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/signed/flash.idx is not found
Error: failed to relocate images to /home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images
Cleaning up...
This was tried on Ubuntu 18.04.6 but we tried on 20.4.6 and it did not work. The error i wrote here is on ubuntu 18.04.6 its different then the errors we got on ubuntu 20.4.6 but its kinda similar also its either usb timeout or failed to read rcm_state stuff like that. I can send you the full log on Ubuntu 20.4.6 if you want but i dont think its needed.
Now we try the flashing command from the offical auvidea guide:
epadmin@epadmin-ESPRIMO-P400:~/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra$ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 p3509-a02+p3767-0000 internal
/home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/l4t_initrd_flash_internal.sh --no-flash --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p -c bootloader/t186ref/cfg/flash_t234_qspi.xml --showlogs --network usb0 p3509-a02+p3767-0000 internal
************************************
* *
* 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/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/flash.sh --no-flash --sign -c bootloader/t186ref/cfg/flash_t234_qspi.xml p3509-a02+p3767-0000 internal
###############################################################################
# L4T BSP Information:
# R35 , REVISION: 5.0
# User release: 0.0
###############################################################################
ECID is 0x80012344705DD80B1400000007028080
copying emc_fuse_dev_params(/home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-diag-boot.dts)... done.
copying device_config(/home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done.
copying misc_config(/home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done.
./tegraflash.py --chip 0x23 --applet "/home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/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.0276 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet
[ 0.0285 ] File rcm_state open failed
[ 0.0289 ] ERROR: failed to read rcm_state
[ 0.0289 ]
[ 0.0299 ] tegrasign_v3.py --key None --getmode mode.txt
[ 0.0301 ] Assuming zero filled SBK key
[ 0.0294 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts
[ 0.0375 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts
[ 0.0528 ] Parsing partition layout
[ 0.0543 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0571 ] Kernel DTB used: None
[ 0.0571 ] WARNING: dce base dtb is not provided
[ 0.0571 ] Parsing partition layout
[ 0.0589 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp
[ 0.0608 ] Creating list of images to be signed
[ 0.0625 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk
[ 0.0640 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0659 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0667 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin
[ 0.0752 ] Header already present for mb1_t234_prod_aligned_sigheader.bin
[ 0.0760 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.0831 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.0837 ] adding BCH for mb2_t234_aligned.bin
[ 0.0873 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin
[ 0.1028 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin
[ 0.1034 ] adding BCH for mb2_t234_aligned.bin
[ 0.1217 ] Filling MB1 storage info
[ 0.1217 ] Parsing dev params for multi chains
[ 0.1297 ] Generating br-bct
[ 0.1311 ] Updating dev and MSS params in BR BCT
[ 0.1312 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.1330 ] Updating bl info
[ 0.1345 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin
[ 0.1356 ] WARNING: boot chain is not completed. set to 0
[ 0.1366 ] Generating signatures
[ 0.1376 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1381 ] Assuming zero filled SBK key
[ 0.1601 ] Warning: pub_key.key is not found
[ 0.1595 ] Parsing dev params for multi chains
[ 0.1595 ] Generating br-bct
[ 0.1609 ] Updating dev and MSS params in BR BCT
[ 0.1610 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0
[ 0.1636 ] Updating bl info
[ 0.1648 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.1662 ] WARNING: boot chain is not completed. set to 0
[ 0.1679 ] Get Signed section of bct
[ 0.1691 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml
[ 0.1705 ] Signing BCT
[ 0.1715 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.1717 ] Assuming zero filled SBK key
[ 0.1752 ] Sha saved in br_bct_BR.sha
[ 0.1757 ] Warning: pub_key.key is not found
[ 0.1748 ] Updating BCT with signature
[ 0.1759 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml
[ 0.1771 ] Offset :4608 Len :3584
[ 0.1778 ] Generating SHA2 Hash
[ 0.1788 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512
[ 0.1791 ] Assuming zero filled SBK key
[ 0.1792 ] Assuming zero filled SBK key
[ 0.1843 ] Sha saved in br_bct_BR.sha
[ 0.1838 ] Updating BCT with SHA2 Hash
[ 0.1849 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml
[ 0.1862 ] Offset :4608 Len :3584
[ 0.1867 ] Offset :68 Len :8124
[ 0.1870 ] Generating coldboot mb1-bct
[ 0.1882 ] 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.1895 ] MB1-BCT version: 0.12
[ 0.1897 ] ERROR: /misc/enable_dram_page_blacklisting is not supported
[ 0.1901 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.1906 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.1911 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.1916 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.1920 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.1924 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.1924 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.1924 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.1925 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.1925 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.1925 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.1925 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.1925 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.1925 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 0.1925 ]
[ 0.1925 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.1925 ] Added Platform Config 9 data with size :- 100
[ 0.1925 ]
[ 0.1925 ] Updating mb1-bct with firmware information
[ 0.1938 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.1969 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct
[ 0.1980 ] Generating SHA2 Hash for mb1bct
[ 0.2007 ] Sha saved in mb1_cold_boot_bct_MB1_aligned.sha
[ 0.2022 ] Sha saved in mb1_cold_boot_bct_MB1.sha
[ 0.2025 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk
[ 0.2034 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct
[ 0.2056 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.2058 ] Assuming zero filled SBK key
[ 0.2081 ] Warning: pub_key.key is not found
[ 0.2084 ] 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.2110 ] Generating recovery mb1-bct
[ 0.2127 ] 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.2140 ] MB1-BCT version: 0.12
[ 0.2143 ] ERROR: /misc/enable_dram_page_blacklisting is not supported
[ 0.2148 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.2153 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.2158 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED1/ is not supported
[ 0.2163 ] ERROR: /misc/tsc_controls/tsc_locking_config is not supported
[ 0.2167 ] ERROR: /misc/tsc_controls/tsc_locking_diff_configuration is not supported
[ 0.2172 ] ERROR: /misc/tsc_controls/tsc_locking_ref_frequency_configuration is not supported
[ 0.2175 ] ERROR: /misc/tsc_controls/tsc_locking_control is not supported
[ 0.2175 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_configuration is not supported
[ 0.2175 ] ERROR: /misc/tsc_controls/tsc_locking_fast_adjust_configuration is not supported
[ 0.2175 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_delta_control is not supported
[ 0.2175 ] ERROR: /misc/tsc_controls/tsc_capture_control_ptx is not supported
[ 0.2175 ] ERROR: /misc/tsc_controls/tsc_capture_config_ptx is not supported
[ 0.2175 ] ERROR: /misc/tsc_controls/tsc_stscrsr is not supported
[ 0.2175 ] ERROR: /misc/tsc_controls/tsc_locking_adjust_num_control is not supported
[ 0.2175 ]
[ 0.2175 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb
[ 0.2175 ] Added Platform Config 9 data with size :- 100
[ 0.2175 ]
[ 0.2176 ] Updating mb1-bct with firmware information
[ 0.2190 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin
[ 0.2223 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct
[ 0.2235 ] Generating SHA2 Hash for mb1bct
[ 0.2262 ] Sha saved in mb1_bct_MB1_aligned.sha
[ 0.2281 ] Sha saved in mb1_bct_MB1.sha
[ 0.2286 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk
[ 0.2297 ] adding BCH for mb1_bct_MB1_aligned.bct
[ 0.2319 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.2322 ] Assuming zero filled SBK key
[ 0.2347 ] Warning: pub_key.key is not found
[ 0.2352 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk
[ 0.2372 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.2372 ] Error: Skip generating mem_bct because sdram_config is not defined
[ 0.2372 ] Copying signatures
[ 0.2385 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml
[ 0.2494 ] Boot Rom communication
[ 0.2511 ] 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.2525 ] BR_CID: 0x80012344705DD80B1400000007028080
[ 0.2540 ] Sending bct_br
[ 0.2542 ] Sending mb1
[ 0.2561 ] Sending psc_bl1
[ 0.2665 ] Sending bct_mb1
[ 0.2726 ] Boot Rom communication completed
[ 0.2755 ] tegrahost_v2 --chip 0x23 0 --align applet_t234_aligned.bin
[ 0.2791 ] tegrahost_v2 --chip 0x23 0 --magicid MB2A --appendsigheader applet_t234_aligned.bin zerosbk
[ 0.2807 ] adding BCH for applet_t234_aligned.bin
[ 0.2993 ] tegrasign_v3.py --key None --list applet_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512
[ 0.2997 ] Assuming zero filled SBK key
[ 0.3036 ] Warning: pub_key.key is not found
[ 0.3048 ] tegrahost_v2 --chip 0x23 0 --updatesigheader applet_t234_aligned_sigheader.bin.encrypt applet_t234_aligned_sigheader.bin.hash zerosbk
[ 0.3081 ] Sending mb2_applet...
[ 0.3097 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download applet applet_t234_sigheader.bin.encrypt
[ 0.3111 ] BL: version 1.4.0.1-t234-54845784-08e631ca last_boot_error: 656573201
[ 0.4786 ] Sending applet
[ 0.4789 ] ERROR: might be timeout in USB write.
Error: Return value 3
Command tegrarcm_v2 --chip 0x23 0 --pollbl --download applet applet_t234_sigheader.bin.encrypt
Reading board information failed.
Error: /home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/bootloader/signed/flash.idx is not found
Error: failed to relocate images to /home/epadmin/nvidia/nvidia_sdk/JetPack_5.1.3_Linux_JETSON_ORIN_NX_TARGETS/Linux_for_Tegra/tools/kernel_flash/images
Cleaning up...
Still errors and now we get USB timeout error this is a common error. We found this error a lot when trying to flash the jetson. We tried using 35.2.1 jetson we tried to use 36.3.0 still no luck. We figured out that to flash the jetson we need to have the firmware from auvidea and all of its content in the linux for tegra folder to work but no matter what we tried nothing worked it wont flash nothing.
We even tried using SDK Manager but we got this error: “The connected Jetson Device is not ready for flashing” and then it say to reconnect the device make sure its in recovery mode which it is because it shows up when we type lsusb. What could be the problem? We tried a lot of usb ports lot of usb cables but nothing worked.
But we heard that when flashing auvidea boards sdkmanager can’t help and we should use the official guide.
Should we try with another pc? What can we do?