$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 ************************************ * * * 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/dipak/sources_orin/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: 2.1 # User release: 0.0 ############################################################################### copying emc_fuse_dev_params(/home/dipak/sources_orin/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-br-bct-diag-boot.dts)... done. copying device_config(/home/dipak/sources_orin/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-device-p3767-0000.dts)... done. copying misc_config(/home/dipak/sources_orin/Linux_for_Tegra/bootloader/t186ref/BCT/tegra234-mb1-bct-misc-p3767-0000.dts)... done. ./tegraflash.py --chip 0x23 --applet "/home/dipak/sources_orin/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.0110 ] tegrarcm_v2 --chip 0x23 0 --ismb2applet [ 0.0118 ] File rcm_state open failed [ 0.0122 ] ERROR: failed to read rcm_state [ 0.0122 ] [ 0.0130 ] tegrasign_v3.py --key None --getmode mode.txt [ 0.0132 ] Assuming zero filled SBK key [ 0.0126 ] Pre-processing config: tegra234-mb1-bct-device-p3767-0000.dts [ 0.0219 ] Pre-processing config: tegra234-mb1-bct-misc-p3767-0000.dts [ 0.0400 ] Parsing partition layout [ 0.0415 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp [ 0.0445 ] Kernel DTB used: None [ 0.0446 ] WARNING: dce base dtb is not provided [ 0.0446 ] Parsing partition layout [ 0.0459 ] tegraparser_v2 --pt readinfo_t234_min_prod.xml.tmp [ 0.0480 ] Creating list of images to be signed [ 0.0502 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --list images_list.xml zerosbk [ 0.0517 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin [ 0.0533 ] Header already present for mb1_t234_prod_aligned_sigheader.bin [ 0.0539 ] MB1: Nvheader already present is mb1_t234_prod_aligned.bin [ 0.0672 ] Header already present for mb1_t234_prod_aligned_sigheader.bin [ 0.0675 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin [ 0.0715 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin [ 0.0719 ] adding BCH for mb2_t234_aligned.bin [ 0.0744 ] MB1: Nvheader already present is psc_bl1_t234_prod_aligned.bin [ 0.0889 ] Header already present for psc_bl1_t234_prod_aligned_sigheader.bin [ 0.0894 ] adding BCH for mb2_t234_aligned.bin [ 0.1047 ] Filling MB1 storage info [ 0.1047 ] Parsing dev params for multi chains [ 0.1148 ] Generating br-bct [ 0.1162 ] Updating dev and MSS params in BR BCT [ 0.1162 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0 [ 0.1174 ] Updating bl info [ 0.1181 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin [ 0.1187 ] WARNING: boot chain is not completed. set to 0 [ 0.1193 ] Generating signatures [ 0.1201 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1203 ] Assuming zero filled SBK key [ 0.1325 ] Warning: pub_key.key is not found [ 0.1321 ] Parsing dev params for multi chains [ 0.1322 ] Generating br-bct [ 0.1332 ] Updating dev and MSS params in BR BCT [ 0.1333 ] tegrabct_v2 --dev_param tegra234-br-bct-diag-boot_cpp.dtb --brbct br_bct.cfg --chip 0x23 0 [ 0.1344 ] Updating bl info [ 0.1356 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updateblinfo readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml [ 0.1368 ] WARNING: boot chain is not completed. set to 0 [ 0.1380 ] Get Signed section of bct [ 0.1395 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --listbct bct_list.xml [ 0.1407 ] Signing BCT [ 0.1415 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1417 ] Assuming zero filled SBK key [ 0.1449 ] Sha saved in br_bct_BR.sha [ 0.1452 ] Warning: pub_key.key is not found [ 0.1445 ] Updating BCT with signature [ 0.1454 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesig bct_list_signed.xml [ 0.1460 ] Offset :4608 Len :3584 [ 0.1464 ] Generating SHA2 Hash [ 0.1472 ] tegrasign_v3.py --key None --list bct_list.xml --sha sha512 [ 0.1474 ] Assuming zero filled SBK key [ 0.1474 ] Assuming zero filled SBK key [ 0.1528 ] Sha saved in br_bct_BR.sha [ 0.1526 ] Updating BCT with SHA2 Hash [ 0.1541 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x23 0 --updatesha bct_list_signed.xml [ 0.1557 ] Offset :4608 Len :3584 [ 0.1563 ] Offset :68 Len :8124 [ 0.1567 ] Generating coldboot mb1-bct [ 0.1584 ] 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.1597 ] MB1-BCT version: 0.9 [ 0.1600 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1602 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1605 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1607 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1611 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1611 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1611 ] ERROR: /misc/vmon/vdd_soc/int/ is not supported [ 0.1611 ] ERROR: /misc/vmon/vdd_soc/int/ is not supported [ 0.1611 ] ERROR: /misc/vmon/vdd_cpu/int/ is not supported [ 0.1611 ] ERROR: /misc/vmon/vdd_cpu/int/ is not supported [ 0.1611 ] [ 0.1611 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb [ 0.1611 ] Added Platform Config 9 data with size :- 100 [ 0.1611 ] [ 0.1611 ] Updating mb1-bct with firmware information [ 0.1621 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo readinfo_t234_min_prod.xml.bin [ 0.1656 ] tegrahost_v2 --chip 0x23 0 --align mb1_cold_boot_bct_MB1_aligned.bct [ 0.1692 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk [ 0.1725 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct [ 0.1726 ] [ 0.1738 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.1740 ] Assuming zero filled SBK key [ 0.1827 ] Warning: pub_key.key is not found [ 0.1836 ] 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.1856 ] Generating recovery mb1-bct [ 0.1874 ] 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.1891 ] MB1-BCT version: 0.9 [ 0.1894 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1899 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1905 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_UNUSED5/ is not supported [ 0.1912 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1912 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1912 ] ERROR: carveout /misc/carveout/aux_info@CARVEOUT_MCE_COVERAGE/ is not supported [ 0.1912 ] ERROR: /misc/vmon/vdd_soc/int/ is not supported [ 0.1912 ] ERROR: /misc/vmon/vdd_soc/int/ is not supported [ 0.1912 ] ERROR: /misc/vmon/vdd_cpu/int/ is not supported [ 0.1912 ] ERROR: /misc/vmon/vdd_cpu/int/ is not supported [ 0.1912 ] [ 0.1913 ] Parsing config file :tegra234-mb1-bct-device-p3767-0000_cpp.dtb [ 0.1913 ] Added Platform Config 9 data with size :- 100 [ 0.1913 ] [ 0.1914 ] Updating mb1-bct with firmware information [ 0.1946 ] tegrabct_v2 --chip 0x23 0 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo readinfo_t234_min_prod.xml.bin [ 0.2004 ] tegrahost_v2 --chip 0x23 0 --align mb1_bct_MB1_aligned.bct [ 0.2059 ] tegrahost_v2 --chip 0x23 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk [ 0.2092 ] adding BCH for mb1_bct_MB1_aligned.bct [ 0.2093 ] [ 0.2105 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512 [ 0.2108 ] Assuming zero filled SBK key [ 0.2161 ] Warning: pub_key.key is not found [ 0.2184 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk [ 0.2218 ] Error: Skip generating mem_bct because sdram_config is not defined [ 0.2219 ] Error: Skip generating mem_bct because sdram_config is not defined [ 0.2219 ] Copying signatures [ 0.2242 ] tegrahost_v2 --chip 0x23 0 --partitionlayout readinfo_t234_min_prod.xml.bin --updatesig images_list_signed.xml [ 0.2314 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list [ 0.2316 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from images_list [ 0.2317 ] Boot Rom communication [ 0.2333 ] 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.2347 ] BR_CID: 0x80012344705DD3570400000015FE8100 [ 0.2593 ] Sending bct_br [ 0.2594 ] 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. Error: failed to generate images Cleaning up...