./odmfuse.sh --noburn -X /home/jaloo/backup/orin/security/SecureBoot/generate_rsa_key/Orin_Reference_Fuse_Configuration_File_test.xml -i 0x23 jetson-agx-orin-devkit Odmfuse requires variable FAB, BOARDID, BOARDSKU and BOARDREV in order to run in the offline mode. Otherwise odmfuse needs to access on board EEPROM. Make sure the board is in recovery mode. ./tegraflash.py --chip 0x23 --applet "/media/jaloo/4b30e570-5953-4e3f-bd28-3daec93ead76/jetpack_5.0.2/l4t_35.1/drivers/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 "readfuses fuse_t234.bin /media/jaloo/4b30e570-5953-4e3f-bd28-3daec93ead76/jetpack_5.0.2/l4t_35.1/drivers/Linux_for_Tegra/bootloader/fuse_t234.xml; 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.0079 ] Reading fuses [ 0.0088 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet [ 0.0096 ] File rcm_state open failed [ 0.0098 ] ERROR: failed to read rcm_state [ 0.0098 ] [ 0.0111 ] tegrasign_v3.py --key None --getmode mode.txt [ 0.0113 ] Assuming zero filled SBK key [ 0.0102 ] Pre-processing config: tegra234-mb1-bct-device-p3701-0000.dts [ 0.0153 ] Pre-processing config: tegra234-mb1-bct-misc-p3701-0000.dts [ 0.0231 ] Parsing partition layout [ 0.0245 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp [ 0.0265 ] Parsing partition layout [ 0.0273 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp [ 0.0283 ] Creating list of images to be signed [ 0.0292 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk [ 0.0302 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin [ 0.0312 ] Header already present for mb1_t234_prod_aligned_sigheader.bin [ 0.0315 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin [ 0.0357 ] Header already present for mb1_t234_prod_aligned_sigheader.bin [ 0.0367 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin [ 0.0414 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin [ 0.0417 ] adding BCH for mb2_t234_aligned.bin [ 0.0440 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin [ 0.0565 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin [ 0.0569 ] adding BCH for mb2_t234_aligned.bin [ 0.0725 ] Filling MB1 storage info [ 0.0725 ] Parsing dev params for multi chains [ 0.0783 ] Generating br-bct [ 0.0791 ] Updating dev and MSS params in BR BCT [ 0.0792 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0 [ 0.0810 ] Updating bl info [ 0.0821 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin [ 0.0829 ] WARNING: boot chain is not completed. set to 0 [ 0.0835 ] Generating signatures [ 0.0848 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.0849 ] Assuming zero filled SBK key [ 0.0951 ] Warning: pub_key.key is not found [ 0.0941 ] Parsing dev params for multi chains [ 0.0941 ] Generating br-bct [ 0.0949 ] Updating dev and MSS params in BR BCT [ 0.0950 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0 [ 0.0959 ] Updating bl info [ 0.0968 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml [ 0.0975 ] WARNING: boot chain is not completed. set to 0 [ 0.0984 ] Get Signed section of bct [ 0.0995 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml [ 0.1006 ] Signing BCT [ 0.1019 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1021 ] Assuming zero filled SBK key [ 0.1052 ] Sha saved in br_bct_BR.sha [ 0.1055 ] Warning: pub_key.key is not found [ 0.1043 ] Updating BCT with signature [ 0.1050 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml [ 0.1057 ] Offset :4608 Len :3584 [ 0.1061 ] Generating SHA2 Hash [ 0.1074 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512 [ 0.1076 ] Assuming zero filled SBK key [ 0.1076 ] Assuming zero filled SBK key [ 0.1099 ] Sha saved in br_bct_BR.sha [ 0.1089 ] Updating BCT with SHA2 Hash [ 0.1097 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml [ 0.1104 ] Offset :4608 Len :3584 [ 0.1107 ] Offset :68 Len :8124 [ 0.1108 ] Generating coldboot mb1-bct [ 0.1115 ] 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.1122 ] MB1-BCT version: 0.9 [ 0.1134 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb [ 0.1138 ] Added Platform Config 9 data with size :- 80 [ 0.1138 ] [ 0.1139 ] Updating mb1-bct with firmware information [ 0.1154 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin [ 0.1175 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct [ 0.1190 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk [ 0.1196 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct [ 0.1216 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1218 ] Assuming zero filled SBK key [ 0.1232 ] Warning: pub_key.key is not found [ 0.1228 ] 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.1240 ] Generating recovery mb1-bct [ 0.1247 ] 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.1254 ] MB1-BCT version: 0.9 [ 0.1266 ] Parsing config file :tegra234-mb1-bct-device-p3701-0000_cpp.dtb [ 0.1267 ] Added Platform Config 9 data with size :- 80 [ 0.1267 ] [ 0.1267 ] Updating mb1-bct with firmware information [ 0.1278 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin [ 0.1312 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct [ 0.1331 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk [ 0.1343 ] adding BCH for mb1_bct_MB1_aligned.bct [ 0.1365 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1366 ] Assuming zero filled SBK key [ 0.1382 ] Warning: pub_key.key is not found [ 0.1378 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk [ 0.1391 ] Error: Skip generating mem_bct because sdram_config is not defined [ 0.1391 ] Error: Skip generating mem_bct because sdram_config is not defined [ 0.1391 ] Copying signatures [ 0.1398 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml [ 0.1516 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list [ 0.1520 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list [ 0.1521 ] Boot Rom communication [ 0.1545 ] 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.1560 ] BR_CID: 0x80012344705DD10F20000000180201C0 [ 0.1572 ] Sending bct_br [ 0.1574 ] Sending mb1 [ 0.1578 ] Sending psc_bl1 [ 0.1670 ] Sending bct_mb1 [ 0.1727 ] Boot Rom communication completed [ 0.1740 ] tegrahost_v2 --chip 0x23 0 --align applet_t234_aligned.bin [ 0.1756 ] tegrahost_v2 --chip 0x23 0 --magicid MB2A --appendsigheader applet_t234_aligned.bin zerosbk [ 0.1763 ] adding BCH for applet_t234_aligned.bin [ 0.1868 ] tegrasign_v3.py --key None --list applet_t234_aligned_sigheader.bin_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1870 ] Assuming zero filled SBK key [ 0.1895 ] Warning: pub_key.key is not found [ 0.1894 ] tegrahost_v2 --chip 0x23 0 --updatesigheader applet_t234_aligned_sigheader.bin.encrypt applet_t234_aligned_sigheader.bin.hash zerosbk [ 0.1914 ] Sending mb2_applet... [ 0.1927 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download applet applet_t234_sigheader.bin.encrypt [ 0.1938 ] BL: version 0.23.0.0-t234-54845784-92215740 last_boot_error: 0 [ 0.3611 ] Sending applet [ 0.4823 ] completed [ 0.4865 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet [ 0.4901 ] MB2 Applet version 01.00.0000 [ 0.6788 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet [ 0.6800 ] MB2 Applet version 01.00.0000 [ 0.6826 ] Parsing fuse info as per xml file [ 0.6837 ] tegraparser_v2 --chip 0x23 0 --get_fuse_names /media/jaloo/4b30e570-5953-4e3f-bd28-3daec93ead76/jetpack_5.0.2/l4t_35.1/drivers/Linux_for_Tegra/bootloader/fuse_t234.xml read_fuse_names.txt [ 0.6848 ] File /media/jaloo/4b30e570-5953-4e3f-bd28-3daec93ead76/jetpack_5.0.2/l4t_35.1/drivers/Linux_for_Tegra/bootloader/fuse_t234.xml open failed [ 0.6849 ] Failed to parse xml file [ 0.6849 ] Failed to generate fuse names, ErrNum=19 [ 0.6849 ] Error: Return value 4 Command tegraparser_v2 --chip 0x23 0 --get_fuse_names /media/jaloo/4b30e570-5953-4e3f-bd28-3daec93ead76/jetpack_5.0.2/l4t_35.1/drivers/Linux_for_Tegra/bootloader/fuse_t234.xml read_fuse_names.txt [ 0.6861 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet [ 0.6871 ] MB2 Applet version 01.00.0000 [ 0.6907 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet [ 0.6919 ] MB2 Applet version 01.00.0000 [ 0.6967 ] Retrieving board information [ 0.6985 ] tegrarcm_v2 --chip 0x23 0 --oem platformdetails chip chip_info.bin [ 0.6996 ] MB2 Applet version 01.00.0000 [ 0.7019 ] Saved platform info in chip_info.bin [ 0.7072 ] Chip minor revision: 1 [ 0.7073 ] Bootrom revision: 0x7 [ 0.7074 ] Ram code: 0x0 [ 0.7075 ] Chip sku: 0xd0 [ 0.7075 ] Chip Sample: prod [ 0.7082 ] Retrieving EEPROM data [ 0.7083 ] tegrarcm_v2 --oem platformdetails eeprom cvm /media/jaloo/4b30e570-5953-4e3f-bd28-3daec93ead76/jetpack_5.0.2/l4t_35.1/drivers/Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0 [ 0.7094 ] MB2 Applet version 01.00.0000 [ 0.7119 ] File /media/jaloo/4b30e570-5953-4e3f-bd28-3daec93ead76/jetpack_5.0.2/l4t_35.1/drivers/Linux_for_Tegra/bootloader/cvm.bin open failed [ 0.7449 ] tegradevflash_v2 --oem platformdetails eeprom cvm /media/jaloo/4b30e570-5953-4e3f-bd28-3daec93ead76/jetpack_5.0.2/l4t_35.1/drivers/Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0 [ 0.7462 ] Error: Invalid option --chip [ 0.7464 ] [ 0.7464 ] Usage: tegradevflash_v2 [--instance ] [--pt ] [ 0.7464 ] [--mkdevimages [binonly sparse|unsparse fullbinpaths]] [ 0.7465 ] [--create ] [--dev [device]] [ 0.7465 ] [--download [load_address entry_point]] [ 0.7465 ] [--read ] [--write ] [--erase ] [ 0.7465 ] [--reboot ] [--oem ] [--iscpubl ] [ 0.7465 ] [--setverify ] [--verify ] [--ccgupdate ] [ 0.7465 ] [ 0.7465 ] --instance USB instance [ 0.7465 ] --pt Partition layout [ 0.7465 ] --mkdevimages Create boot-device images [ 0.7465 ] --create Reareate and write all partitions as per specified Partition layout [ 0.7465 ] --dev Specify device to flash. Use with --create option [ 0.7465 ] --download download image into memory [ 0.7465 ] --read Read a partition into file [ 0.7465 ] --write Write a partition with data from file [ 0.7465 ] --erase Erase a partition [ 0.7465 ] --reboot Reboot the device or put device in recovery [ 0.7465 ] --oem Run Oem Command [ 0.7465 ] --iscpubl Check if cpubl is running [ 0.7465 ] --setverify Set partition verification [ 0.7466 ] --verify Verify partition [ 0.7466 ] --ccgupdate Update CCG FW [ 0.7466 ] [ 0.7466 ] [ 0.7466 ] Error: Return value 4 Command tegradevflash_v2 --oem platformdetails eeprom cvm /media/jaloo/4b30e570-5953-4e3f-bd28-3daec93ead76/jetpack_5.0.2/l4t_35.1/drivers/Linux_for_Tegra/bootloader/cvm.bin --chip 0x23 0 Reading board information failed.