================================================================================ || Generate Massflash Image in the master host: || || Requires the Jetson connected in RCM mode. || ================================================================================ Generating massflash command without Jetson device connected: BOARDID=3668 BOARDSKU=0001 FAB=100 BOARDREV= FUSELEVEL=fuselevel_production +------------------------------------------------------------------------------- | Step 1: Generate Command File +------------------------------------------------------------------------------- ############################################################################### # L4T BSP Information: # R32 , REVISION: 5.0 ############################################################################### Board ID(3668) version(100) sku(0001) revision() Copy /home/test/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to /home/test/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec copying bctfile(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done. copying bctfile1(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done. copying device_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done. copying misc_cold_boot_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done. copying misc_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done. copying pinmux_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done. copying gpioint_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done. copying pmic_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done. copying pmc_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done. copying prod_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done. copying scr_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done. copying scr_cold_boot_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done. copying bootrom_config(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done. copying dev_params(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi.cfg)... done. Existing bootloader(/home/test/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused. copying initrd(/home/test/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. populating kernel to rootfs... done. /home/test/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign /home/test/Linux_for_Tegra/rootfs/boot/Image 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.0080 ] Generating signature [ 0.0103 ] tegrasign_v2 --key --getmode mode.txt [ 0.0117 ] Assuming zero filled SBK key [ 0.0140 ] [ 0.0142 ] header_magic: 5614 [ 0.0165 ] tegrahost_v2 --chip 0x19 --align 1_Image [ 0.0186 ] [ 0.0200 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_Image zerosbk [ 0.0211 ] adding BCH for 1_Image [ 1.0840 ] [ 1.0910 ] tegrasign_v2 --key --list 1_Image_sigheader_list.xml --pubkeyhash pub_key.key [ 1.0924 ] Assuming zero filled SBK key [ 1.1567 ] [ 1.1583 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_sigheader.encrypt 1_Image_sigheader.hash zerosbk [ 1.8025 ] [ 1.8469 ] Signed file: /home/test/Linux_for_Tegra/bootloader/Image_sigheader.encrypt l4t_sign_image.sh: Generate header for Image_sigheader.encrypt l4t_sign_image.sh: chip 0x19: add 0x20bf808 to offset 0x8 in sig file l4t_sign_image.sh: Generate 16-byte-size-aligned base file for Image_sigheader.encrypt l4t_sign_image.sh: the sign header is saved at /home/test/Linux_for_Tegra/rootfs/boot/Image.sig done. populating initrd to rootfs... done. /home/test/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign /home/test/Linux_for_Tegra/rootfs/boot/initrd 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.0037 ] Generating signature [ 0.0049 ] tegrasign_v2 --key --getmode mode.txt [ 0.0060 ] Assuming zero filled SBK key [ 0.0062 ] [ 0.0064 ] header_magic: 1f8b0800 [ 0.0076 ] tegrahost_v2 --chip 0x19 --align 1_initrd [ 0.0088 ] [ 0.0101 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_initrd zerosbk [ 0.0112 ] adding BCH for 1_initrd [ 0.2413 ] [ 0.2445 ] tegrasign_v2 --key --list 1_initrd_sigheader_list.xml --pubkeyhash pub_key.key [ 0.2462 ] Assuming zero filled SBK key [ 0.2628 ] [ 0.2653 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_initrd_sigheader.encrypt 1_initrd_sigheader.hash zerosbk [ 0.3838 ] [ 0.3960 ] Signed file: /home/test/Linux_for_Tegra/bootloader/initrd_sigheader.encrypt l4t_sign_image.sh: Generate header for initrd_sigheader.encrypt l4t_sign_image.sh: chip 0x19: add 0x6e6cb6 to offset 0x8 in sig file l4t_sign_image.sh: Generate 16-byte-size-aligned base file for initrd_sigheader.encrypt l4t_sign_image.sh: the sign header is saved at /home/test/Linux_for_Tegra/rootfs/boot/initrd.sig done. populating /home/test/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to rootfs... done. Making Boot image... done. /home/test/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign boot.img 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.0005 ] Generating signature [ 0.0017 ] tegrasign_v2 --key --getmode mode.txt [ 0.0028 ] Assuming zero filled SBK key [ 0.0030 ] [ 0.0032 ] header_magic: 414e4452 [ 0.0044 ] tegrahost_v2 --chip 0x19 --align 1_boot.img [ 0.0056 ] [ 0.0067 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_boot.img zerosbk [ 0.0078 ] adding BCH for 1_boot.img [ 1.3026 ] [ 1.3055 ] tegrasign_v2 --key --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key [ 1.3070 ] Assuming zero filled SBK key [ 1.3723 ] [ 1.3742 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk [ 2.3587 ] [ 2.4100 ] Signed file: /home/test/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt l4t_sign_image.sh: Generate header for boot_sigheader.img.encrypt l4t_sign_image.sh: chip 0x19: add 0x27a7800 to offset 0x8 in sig file l4t_sign_image.sh: Generate 16-byte-size-aligned base file for boot_sigheader.img.encrypt l4t_sign_image.sh: the signed file is /home/test/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt done. Making recovery ramdisk for recovery image... Re-generating recovery ramdisk for recovery image... ~/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Linux_for_Tegra/bootloader ~/Linux_for_Tegra _BASE_KERNEL_VERSION=4.9.201-tegra ~/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Linux_for_Tegra/bootloader ~/Linux_for_Tegra Making Recovery image... copying recdtbfile(/home/test/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec)... done. Existing sosfile(/home/test/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused. Existing tegraboot(/home/test/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused. Existing cpu_bootloader(/home/test/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused. Existing mb2blfile(/home/test/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused. Existing mtspreboot(/home/test/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused. Existing mcepreboot(/home/test/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused. Existing mtsproper(/home/test/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused. Existing mb1file(/home/test/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused. Existing bpffile(/home/test/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused. copying bpfdtbfile(/home/test/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb)... done. Existing scefile(/home/test/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused. Existing camerafw(/home/test/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused. Existing spefile(/home/test/Linux_for_Tegra/bootloader/spe_t194.bin) reused. Existing drameccfile(/home/test/Linux_for_Tegra/bootloader/dram-ecc.bin) reused. Existing badpagefile(/home/test/Linux_for_Tegra/bootloader/badpage.bin) reused. Existing wb0boot(/home/test/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused. Existing tosfile(/home/test/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused. Existing eksfile(/home/test/Linux_for_Tegra/bootloader/eks.img) reused. copying soft_fuses(/home/test/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done. copying dtbfile(/home/test/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done. Copying nv_boot_control.conf to rootfs /home/test/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign kernel_tegra194-p3668-all-p3509-0000.dtb 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.0006 ] Generating signature [ 0.0017 ] tegrasign_v2 --key --getmode mode.txt [ 0.0027 ] Assuming zero filled SBK key [ 0.0029 ] [ 0.0031 ] header_magic: d00dfeed [ 0.0044 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb [ 0.0055 ] [ 0.0067 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk [ 0.0078 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb [ 0.0181 ] [ 0.0206 ] tegrasign_v2 --key --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key [ 0.0216 ] Assuming zero filled SBK key [ 0.0224 ] [ 0.0241 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk [ 0.0291 ] [ 0.0299 ] Signed file: /home/test/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: chip 0x19: add 0x30c8e to offset 0x8 in sig file l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: the sign header is saved at kernel_tegra194-p3668-all-p3509-0000.dtb.sig done. /home/test/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign kernel_tegra194-p3668-all-p3509-0000.dtb 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.0006 ] Generating signature [ 0.0018 ] tegrasign_v2 --key --getmode mode.txt [ 0.0027 ] Assuming zero filled SBK key [ 0.0030 ] [ 0.0032 ] header_magic: d00dfeed [ 0.0044 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb [ 0.0055 ] [ 0.0067 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk [ 0.0077 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb [ 0.0180 ] [ 0.0205 ] tegrasign_v2 --key --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key [ 0.0217 ] Assuming zero filled SBK key [ 0.0228 ] [ 0.0245 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk [ 0.0292 ] [ 0.0299 ] Signed file: /home/test/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: chip 0x19: add 0x30c8e to offset 0x8 in sig file l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: the signed file is /home/test/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt done. Making system.img... populating rootfs from /home/test/Linux_for_Tegra/rootfs ... done. populating /boot/extlinux/extlinux.conf ... done. Sync'ing system.img ... done. Converting RAW image to Sparse image... done. system.img built successfully. Existing tbcfile(/home/test/Linux_for_Tegra/bootloader/cboot_t194.bin) reused. copying tbcdtbfile(/home/test/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done. copying cfgfile(/home/test/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc_p3668.xml) to flash.xml... done. Existing flasher(/home/test/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused. Existing flashapp(/home/test/Linux_for_Tegra/bootloader/tegraflash.py) reused. ./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg,tegra194-memcfg-sw-override.cfg --odmdata 0xB8190000 --applet mb1_t194_prod.bin --cmd "flash; reboot" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --cfg flash.xml --chip 0x19 --device_config tegra19x-mb1-bct-device-qspi-p3668.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p3668-a01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --pmic_config tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --pmc_config tegra19x-mb1-padvoltage-p3668-a01.cfg --prod_config tegra19x-mb1-prod-p3668-0001-a00.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --br_cmd_config tegra194-mb1-bct-reset-p3668-0001-a00.cfg --dev_params tegra194-br-bct-qspi.cfg --bin "mb2_bootloader nvtboot_recovery_t194.bin; mts_preboot preboot_c10_prod_cr.bin; mts_mce mce_c10_prod_cr.bin; mts_proper mts_c10_prod_cr.bin; bpmp_fw bpmp_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p3668-a00.dtb; spe_fw spe_t194.bin; tlk tos-trusty_t194.img; eks eks.img; bootloader_dtb tegra194-p3668-all-p3509-0000.dtb" --trim_bpmp_dtb saving flash command in /home/test/Linux_for_Tegra/bootloader/flashcmd.txt saving Windows flash command to /home/test/Linux_for_Tegra/bootloader/flash_win.bat *** no-flash flag enabled. Exiting now... *** +------------------------------------------------------------------------------- | Step 2: Sign Binaries +------------------------------------------------------------------------------- ./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin --sdram_config tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg,tegra194-memcfg-sw-override.cfg --odmdata 0xB8190000 --applet mb1_t194_prod.bin --cmd " sign" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --cfg flash.xml --chip 0x19 --device_config tegra19x-mb1-bct-device-qspi-p3668.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-l4t.cfg --misc_config tegra194-mb1-bct-misc-flash.cfg --pinmux_config tegra19x-mb1-pinmux-p3668-a01.cfg --gpioint_config tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --pmic_config tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --pmc_config tegra19x-mb1-padvoltage-p3668-a01.cfg --prod_config tegra19x-mb1-prod-p3668-0001-a00.cfg --scr_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --scr_cold_boot_config tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --br_cmd_config tegra194-mb1-bct-reset-p3668-0001-a00.cfg --dev_params tegra194-br-bct-qspi.cfg --bin "mb2_bootloader nvtboot_recovery_t194.bin; mts_preboot preboot_c10_prod_cr.bin; mts_mce mce_c10_prod_cr.bin; mts_proper mts_c10_prod_cr.bin; bpmp_fw bpmp_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p3668-a00.dtb; spe_fw spe_t194.bin; tlk tos-trusty_t194.img; eks eks.img; bootloader_dtb tegra194-p3668-all-p3509-0000.dtb" --trim_bpmp_dtb --keep --skipuid 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.0763 ] tegrasign_v2 --key None --getmode mode.txt [ 0.0784 ] Assuming zero filled SBK key [ 0.1069 ] [ 0.1078 ] Generating RCM messages [ 0.1125 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk [ 0.1156 ] Header already present for mb1_t194_prod.bin [ 0.1276 ] [ 0.1287 ] tegrasign_v2 --key None --getmode mode.txt [ 0.1298 ] Assuming zero filled SBK key [ 0.1302 ] [ 0.1317 ] tegrasign_v2 --key None --file mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key [ 0.1328 ] Assuming zero filled SBK key [ 0.1336 ] [ 0.1355 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk [ 0.1460 ] [ 0.1499 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin [ 0.1564 ] [ 0.1598 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0 [ 0.1617 ] RCM 0 is saved as rcm_0.rcm [ 0.1750 ] RCM 1 is saved as rcm_1.rcm [ 0.1750 ] RCM 2 is saved as rcm_2.rcm [ 0.1751 ] List of rcm files are saved in rcm_list.xml [ 0.1751 ] [ 0.1751 ] Signing RCM messages [ 0.1774 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin [ 0.1793 ] Assuming zero filled SBK key [ 0.1817 ] [ 0.1817 ] Copying signature to RCM mesages [ 0.1839 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml [ 0.1875 ] [ 0.1876 ] Parsing partition layout [ 0.1910 ] tegraparser_v2 --pt flash.xml.tmp [ 0.1967 ] [ 0.1967 ] Creating list of images to be signed [ 0.1980 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk [ 0.1991 ] MB1: Nvheader already present is mb1_t194_prod.bin [ 0.2001 ] Header already present for mb1_t194_prod_sigheader.bin [ 0.2014 ] MB1: Nvheader already present is mb1_t194_prod.bin [ 0.2079 ] Header already present for mb1_t194_prod_sigheader.bin [ 0.2087 ] adding BCH for spe_t194.bin [ 0.2172 ] adding BCH for spe_t194.bin [ 0.2203 ] adding BCH for nvtboot_t194.bin [ 0.2246 ] adding BCH for nvtboot_t194.bin [ 0.2302 ] Header already present for preboot_c10_prod_cr.bin [ 0.2396 ] Header already present for preboot_c10_prod_cr.bin [ 0.2401 ] Header already present for mce_c10_prod_cr.bin [ 0.2418 ] Header already present for mce_c10_prod_cr.bin [ 0.2445 ] adding BCH for mts_c10_prod_cr.bin [ 0.2622 ] adding BCH for mts_c10_prod_cr.bin [ 0.3742 ] Header already present for warmboot_t194_prod.bin [ 0.4874 ] Header already present for warmboot_t194_prod.bin [ 0.4886 ] adding BCH for cboot_t194.bin [ 0.4899 ] adding BCH for cboot_t194.bin [ 0.5067 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb [ 0.5204 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb [ 0.5266 ] adding BCH for tos-trusty_t194.img [ 0.5347 ] adding BCH for tos-trusty_t194.img [ 0.5469 ] adding BCH for eks.img [ 0.5611 ] adding BCH for eks.img [ 0.5612 ] adding BCH for adsp-fw.bin [ 0.5623 ] adding BCH for adsp-fw.bin [ 0.5648 ] adding BCH for camera-rtcpu-rce.img [ 0.5704 ] adding BCH for camera-rtcpu-rce.img [ 0.5789 ] adding BCH for bpmp_t194.bin [ 0.5924 ] adding BCH for bpmp_t194.bin [ 0.6195 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb [ 0.6493 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb [ 0.6564 ] adding BCH for boot.img [ 0.7037 ] adding BCH for boot.img [ 1.9867 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb [ 3.5369 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb [ 3.5470 ] adding BCH for recovery.img [ 3.6911 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb.rec [ 5.1819 ] [ 5.1820 ] Filling MB1 storage info [ 5.1820 ] Generating br-bct [ 5.1836 ] Performing cfg overlay [ 5.1837 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg'] [ 5.1843 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1.cfg [ 5.2625 ] [ 5.2627 ] Updating dev and MSS params in BR BCT [ 5.2628 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0 [ 5.3088 ] [ 5.3089 ] Updating bl info [ 5.3108 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin [ 5.3140 ] [ 5.3141 ] Generating signatures [ 5.3161 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key [ 5.3180 ] Assuming zero filled SBK key [ 5.6932 ] [ 5.6932 ] Generating br-bct [ 5.6948 ] Performing cfg overlay [ 5.6949 ] ['/home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1.cfg'] [ 5.6949 ] Updating dev and MSS params in BR BCT [ 5.6950 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0 [ 5.7413 ] [ 5.7413 ] Updating bl info [ 5.7428 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 5.7465 ] [ 5.7466 ] Updating smd info [ 5.7482 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin [ 5.7497 ] [ 5.7497 ] Updating Odmdata [ 5.7512 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000 [ 5.7535 ] [ 5.7536 ] Get Signed section of bct [ 5.7551 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml [ 5.7574 ] [ 5.7585 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin [ 5.7599 ] Assuming zero filled SBK key [ 5.7602 ] [ 5.7603 ] Updating BCT with signature [ 5.7614 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml [ 5.7636 ] [ 5.7637 ] Generating coldboot mb1-bct [ 5.7657 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1.cfg --misc tegra194-mb1-bct-misc-l4t.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg [ 5.7668 ] MB1-BCT version: 0x1 [ 5.7674 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg [ 5.7678 ] Added Platform Config 0 data with size :- 2496 [ 5.7709 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg [ 5.7714 ] Added Platform Config 1 data with size :- 19640 [ 5.7903 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg [ 5.7907 ] Added Platform Config 2 data with size :- 24 [ 5.7909 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg [ 5.7914 ] Added Platform Config 4 data with size :- 348 [ 5.7917 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg [ 5.7922 ] Added Platform Config 3 data with size :- 92 [ 5.7924 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg [ 5.7927 ] Added Platform Config 5 data with size :- 128 [ 5.7930 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg [ 5.7934 ] Added Platform Config 7 data with size :- 392 [ 5.7939 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg [ 5.7941 ] Added Platform Config 9 data with size :- 40 [ 5.7941 ] [ 5.7942 ] Updating mb1-bct with firmware information [ 5.7954 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin [ 5.7963 ] MB1-BCT version: 0x1 [ 5.7968 ] [ 5.7968 ] Updating mb1-bct with storage information [ 5.7981 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin [ 5.7991 ] MB1-BCT version: 0x1 [ 5.7996 ] [ 5.8008 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct [ 5.8020 ] [ 5.8033 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk [ 5.8042 ] adding BCH for mb1_cold_boot_bct_MB1.bct [ 5.8055 ] [ 5.8068 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key [ 5.8077 ] Assuming zero filled SBK key [ 5.8082 ] [ 5.8095 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk [ 5.8113 ] [ 5.8114 ] Generating recovery mb1-bct [ 5.8126 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1.cfg --misc tegra194-mb1-bct-misc-flash.cfg --scr tegra194-mb1-bct-scr-cbb-mini-p3668.cfg --pinmux tegra19x-mb1-pinmux-p3668-a01.cfg --pmc tegra19x-mb1-padvoltage-p3668-a01.cfg --pmic tegra194-mb1-bct-pmic-p3668-0001-a00.cfg --brcommand tegra194-mb1-bct-reset-p3668-0001-a00.cfg --prod tegra19x-mb1-prod-p3668-0001-a00.cfg --gpioint tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg --device tegra19x-mb1-bct-device-qspi-p3668.cfg [ 5.8135 ] MB1-BCT version: 0x1 [ 5.8140 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg [ 5.8144 ] Added Platform Config 0 data with size :- 2496 [ 5.8164 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg [ 5.8168 ] Added Platform Config 1 data with size :- 19640 [ 5.8340 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg [ 5.8344 ] Added Platform Config 2 data with size :- 24 [ 5.8346 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg [ 5.8350 ] Added Platform Config 4 data with size :- 348 [ 5.8353 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg [ 5.8356 ] Added Platform Config 3 data with size :- 92 [ 5.8359 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg [ 5.8362 ] Added Platform Config 5 data with size :- 128 [ 5.8365 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg [ 5.8368 ] Added Platform Config 7 data with size :- 392 [ 5.8371 ] [ 5.8371 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg [ 5.8371 ] Added Platform Config 9 data with size :- 40 [ 5.8371 ] [ 5.8372 ] Updating mb1-bct with firmware information [ 5.8385 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin [ 5.8395 ] MB1-BCT version: 0x1 [ 5.8400 ] [ 5.8400 ] Updating mb1-bct with storage information [ 5.8413 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin [ 5.8422 ] MB1-BCT version: 0x1 [ 5.8427 ] [ 5.8438 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct [ 5.8450 ] [ 5.8461 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_bct_MB1.bct zerosbk [ 5.8471 ] adding BCH for mb1_bct_MB1.bct [ 5.8482 ] [ 5.8495 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key [ 5.8505 ] Assuming zero filled SBK key [ 5.8509 ] [ 5.8524 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk [ 5.8541 ] [ 5.8542 ] Generating coldboot mem-bct [ 5.8552 ] tegrabct_v2 --chip 0x19 0 --sdram /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1.cfg --membct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_1.bct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_2.bct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_3.bct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_4.bct [ 5.8561 ] Packing sdram param for instance[0] [ 5.8941 ] Packing sdram param for instance[1] [ 5.8943 ] Packing sdram param for instance[2] [ 5.8946 ] Packing sdram param for instance[3] [ 5.8948 ] Packing sdram param for instance[4] [ 5.8950 ] Packing sdram param for instance[5] [ 5.8950 ] Packing sdram param for instance[6] [ 5.8950 ] Packing sdram param for instance[7] [ 5.8950 ] Packing sdram param for instance[8] [ 5.8950 ] Packing sdram param for instance[9] [ 5.8950 ] Packing sdram param for instance[10] [ 5.8951 ] Packing sdram param for instance[11] [ 5.8951 ] Packing sdram param for instance[12] [ 5.8951 ] Packing sdram param for instance[13] [ 5.8951 ] Packing sdram param for instance[14] [ 5.8951 ] Packing sdram param for instance[15] [ 5.8951 ] [ 5.8951 ] Getting sector size from pt [ 5.8964 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin [ 5.8978 ] [ 5.8980 ] BlockSize read from layout is 200 [ 5.8992 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_1.bct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_2.bct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_3.bct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_4.bct [ 5.9003 ] adding BCH for /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_1.bct [ 5.9041 ] [ 5.9054 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct [ 5.9065 ] [ 5.9077 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_coldboot.bct zerosbk [ 5.9088 ] Header already present for mem_coldboot.bct [ 5.9094 ] [ 5.9110 ] tegrasign_v2 --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key [ 5.9120 ] Assuming zero filled SBK key [ 5.9128 ] [ 5.9143 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk [ 5.9160 ] [ 5.9162 ] Generating recovery mem-bct [ 5.9173 ] tegrabct_v2 --chip 0x19 0 --sdram /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1.cfg --membct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_1.bct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_2.bct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_3.bct /home/test/Linux_for_Tegra/bootloader/1822/tmp7023j4n_1_4.bct [ 5.9183 ] Packing sdram param for instance[0] [ 5.9579 ] Packing sdram param for instance[1] [ 5.9582 ] Packing sdram param for instance[2] [ 5.9584 ] Packing sdram param for instance[3] [ 5.9586 ] Packing sdram param for instance[4] [ 5.9588 ] Packing sdram param for instance[5] [ 5.9591 ] Packing sdram param for instance[6] [ 5.9591 ] Packing sdram param for instance[7] [ 5.9591 ] Packing sdram param for instance[8] [ 5.9591 ] Packing sdram param for instance[9] [ 5.9591 ] Packing sdram param for instance[10] [ 5.9591 ] Packing sdram param for instance[11] [ 5.9591 ] Packing sdram param for instance[12] [ 5.9591 ] Packing sdram param for instance[13] [ 5.9591 ] Packing sdram param for instance[14] [ 5.9591 ] Packing sdram param for instance[15] [ 5.9592 ] [ 5.9593 ] Using default ramcode 0 [ 5.9594 ] Generating BPMP dtb for ramcode - 0 Error: Could not find dtc Keep temporary directory /home/test/Linux_for_Tegra/bootloader/1822 Error: Signing binaries failed.