sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1 [sudo] password for shreyas: ############################################################################### # L4T BSP Information: # R34 , REVISION: 1.0 ############################################################################### # Target Board Information: # Name: jetson-xavier-nx-devkit-emmc, Board Family: t186ref, SoC: Tegra 194, # OpMode: production, Boot Authentication: NS, # Disk encryption: disabled , ############################################################################### copying soft_fuses(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done. ./tegraflash.py --chip 0x19 --applet "/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mb1_t194_prod.bin" --skipuid --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --bins "mb2_applet nvtboot_applet_t194.bin" --cmd "dump eeprom boardinfo 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.0149 ] Generating RCM messages [ 0.0171 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk [ 0.0181 ] Header already present for /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mb1_t194_prod.bin [ 0.0208 ] [ 0.0243 ] tegrasign_v3.py --key None --getmode mode.txt [ 0.0245 ] Assuming zero filled SBK key [ 0.0258 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin [ 0.0266 ] [ 0.0284 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0 [ 0.0299 ] RCM 0 is saved as rcm_0.rcm [ 0.0333 ] RCM 1 is saved as rcm_1.rcm [ 0.0333 ] RCM 2 is saved as rcm_2.rcm [ 0.0333 ] List of rcm files are saved in rcm_list.xml [ 0.0333 ] [ 0.0334 ] Signing RCM messages [ 0.0362 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key [ 0.0363 ] Assuming zero filled SBK key [ 0.0408 ] Warning: pub_key.key is not found [ 0.0397 ] Copying signature to RCM mesages [ 0.0414 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml [ 0.0426 ] [ 0.0426 ] Boot Rom communication [ 0.0433 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid [ 0.0438 ] RCM version 0X190001 [ 0.0726 ] Boot Rom communication completed [ 1.0898 ] [ 2.0954 ] tegrarcm_v2 --isapplet [ 2.0979 ] Applet version 01.00.0000 [ 2.1270 ] [ 2.1299 ] tegrarcm_v2 --ismb2 [ 2.1741 ] [ 2.1772 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194_aligned.bin [ 2.1781 ] [ 2.1802 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194_aligned.bin zerosbk [ 2.1811 ] adding BCH for nvtboot_applet_t194_aligned.bin [ 2.1838 ] [ 2.1878 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_aligned_sigheader.bin_list.xml [ 2.1879 ] Assuming zero filled SBK key [ 2.1920 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_aligned_sigheader.bin.encrypt nvtboot_applet_t194_aligned_sigheader.bin.hash zerosbk [ 2.1946 ] [ 2.1968 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt [ 2.1979 ] Applet version 01.00.0000 [ 2.2260 ] Sending mb2 [ 2.2261 ] [................................................] 100% [ 2.2420 ] [ 2.2445 ] tegrarcm_v2 --boot recovery [ 2.2455 ] Applet version 01.00.0000 [ 2.2777 ] [ 3.2817 ] tegrarcm_v2 --isapplet [ 3.3106 ] [ 3.3139 ] tegrarcm_v2 --ismb2 [ 3.3161 ] MB2 Applet version 01.00.0000 [ 3.3624 ] [ 3.3660 ] tegrarcm_v2 --ismb2 [ 3.3675 ] MB2 Applet version 01.00.0000 [ 3.4191 ] [ 3.4232 ] Retrieving board information [ 3.4272 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin [ 3.4295 ] MB2 Applet version 01.00.0000 [ 3.4651 ] Saved platform info in chip_info.bin [ 3.4696 ] Chip minor revision: 2 [ 3.4697 ] Bootrom revision: 0xf [ 3.4698 ] Ram code: 0x0 [ 3.4699 ] Chip sku: 0xde [ 3.4699 ] Chip Sample: non es [ 3.4703 ] [ 3.4705 ] Retrieving EEPROM data [ 3.4705 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/cvm.bin [ 3.4714 ] MB2 Applet version 01.00.0000 [ 3.5169 ] Saved platform info in /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/cvm.bin [ 3.5573 ] [ 3.5573 ] Rebooting to recovery mode [ 3.5597 ] tegrarcm_v2 --ismb2 [ 3.5608 ] MB2 Applet version 01.00.0000 [ 3.5904 ] [ 3.5905 ] Rebooting to recovery mode [ 3.5926 ] tegrarcm_v2 --reboot recovery [ 3.5944 ] MB2 Applet version 01.00.0000 [ 3.6460 ] Board ID(3668) version(200) sku(0001) revision(G.0) Copy /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb to /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb.rec copying bctfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done. copying bctfile1(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done. copying device_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done. copying misc_cold_boot_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done. copying misc_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done. copying pinmux_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done. copying gpioint_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done. copying pmic_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done. copying pmc_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done. copying prod_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done. copying scr_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done. copying scr_cold_boot_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done. copying bootrom_config(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done. copying dev_params(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi.cfg)... done. Existing bootloader(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused. copying initrd(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. Making Boot image... done. /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign boot.img kernel 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.0015 ] Generating signature [ 0.0047 ] tegrasign_v3.py --key --getmode mode.txt [ 0.0049 ] Assuming zero filled SBK key : not reading [ 0.0042 ] header_magic: 414e4452 [ 0.0683 ] tegrahost_v2 --chip 0x19 --align 1_boot_aligned.img [ 0.0691 ] [ 0.0708 ] tegrahost_v2 --chip 0x19 0 --magicid KRNL --appendsigheader 1_boot_aligned.img zerosbk [ 0.0714 ] adding BCH for 1_boot_aligned.img [ 0.7657 ] [ 0.7699 ] tegrasign_v3.py --key --list 1_boot_aligned_sigheader.img_list.xml [ 0.7701 ] Assuming zero filled SBK key : not reading [ 0.8487 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_aligned_sigheader.img.encrypt 1_boot_aligned_sigheader.img.hash zerosbk [ 1.2099 ] [ 1.3504 ] Signed file: /home/shreyas/Projects/Jetson_porting/Base_L4T/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 0x2826000 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/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt Making recovery ramdisk for recovery image... Re-generating recovery ramdisk for recovery image... ~/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader ~/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra 36137 blocks gzip: /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/kernel/Image: not in gzip format _BASE_KERNEL_VERSION=5.10.65-tegra 52378 blocks Making Recovery image... copying recdtbfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb.rec)... done. 20+0 records in 20+0 records out 20 bytes copied, 0.000135145 s, 148 kB/s Existing sosfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused. Existing tegraboot(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused. Existing cpu_bootloader(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused. Existing mb2blfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused. Existing mtspreboot(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused. Existing mcepreboot(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused. Existing mtsproper(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused. Existing mb1file(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused. Existing bpffile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/bpmp-2_t194.bin) reused. copying bpfdtbfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb)... done. Existing scefile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused. Existing camerafw(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/camera-rtcpu-t194-rce.img) reused. Existing apefile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/adsp-fw.bin) reused. Existing spefile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/spe_t194.bin) reused. Existing wb0boot(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused. Existing tosfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tos-optee_t194.img) reused. Existing eksfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/eks.img) reused. copying soft_fuses(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done. copying dtbfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb)... done. Copying nv_boot_control.conf to rootfs /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign kernel_tegra194-p3668-0001-p3509-0000.dtb kernel_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.0127 ] Generating signature [ 0.0167 ] tegrasign_v3.py --key --getmode mode.txt [ 0.0169 ] Assuming zero filled SBK key : not reading [ 0.0166 ] header_magic: d00dfeed [ 0.0190 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb [ 0.0199 ] [ 0.0218 ] tegrahost_v2 --chip 0x19 0 --magicid KDTB --appendsigheader 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb zerosbk [ 0.0225 ] adding BCH for 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb [ 0.0272 ] [ 0.0311 ] tegrasign_v3.py --key --list 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb_list.xml [ 0.0312 ] Assuming zero filled SBK key : not reading [ 0.0346 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.hash zerosbk [ 0.0386 ] [ 0.0404 ] Signed file: /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: chip 0x19: add 0x3dd73 to offset 0x8 in sig file l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: the signed file is /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt populating kernel to rootfs... done. populating initrd to rootfs... done. populating kernel_tegra194-p3668-0001-p3509-0000.dtb to rootfs... done. Making system.img... Setting "FDT /boot/dtb/kernel_tegra194-p3668-0001-p3509-0000.dtb" successfully in the extlinux.conf...done. populating rootfs from /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/rootfs ... populating /boot/extlinux/extlinux.conf ... done. generating sig file of Image ... /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign ./boot/Image kernel 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.0122 ] Generating signature [ 0.0159 ] tegrasign_v3.py --key --getmode mode.txt [ 0.0161 ] Assuming zero filled SBK key : not reading [ 0.0156 ] header_magic: 4d5a0091 [ 0.1401 ] tegrahost_v2 --chip 0x19 --align 1_Image_aligned [ 0.1416 ] [ 0.1435 ] tegrahost_v2 --chip 0x19 0 --magicid KRNL --appendsigheader 1_Image_aligned zerosbk [ 0.1441 ] adding BCH for 1_Image_aligned [ 0.7106 ] [ 0.7162 ] tegrasign_v3.py --key --list 1_Image_aligned_sigheader_list.xml [ 0.7163 ] Assuming zero filled SBK key : not reading [ 0.7863 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_aligned_sigheader.encrypt 1_Image_aligned_sigheader.hash zerosbk [ 1.0825 ] [ 1.1324 ] Signed file: /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mnt/Image_sigheader.encrypt l4t_sign_image.sh: Generate header for Image_sigheader.encrypt l4t_sign_image.sh: chip 0x19: add 0x2023a00 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 ./boot/Image.sig done. generating sig file of kernel_tegra194-p3668-0001-p3509-0000.dtb ... /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign ./boot/dtb/kernel_tegra194-p3668-0001-p3509-0000.dtb kernel_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.0118 ] Generating signature [ 0.0156 ] tegrasign_v3.py --key --getmode mode.txt [ 0.0158 ] Assuming zero filled SBK key : not reading [ 0.0158 ] header_magic: d00dfeed [ 0.0191 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb [ 0.0201 ] [ 0.0219 ] tegrahost_v2 --chip 0x19 0 --magicid KDTB --appendsigheader 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb zerosbk [ 0.0227 ] adding BCH for 1_kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb [ 0.0273 ] [ 0.0311 ] tegrasign_v3.py --key --list 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb_list.xml [ 0.0313 ] Assuming zero filled SBK key : not reading [ 0.0341 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.encrypt 1_kernel_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.hash zerosbk [ 0.0375 ] [ 0.0385 ] Signed file: /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mnt/kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: chip 0x19: add 0x3dd73 to offset 0x8 in sig file l4t_sign_image.sh: Generate 16-byte-size-aligned base file for kernel_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt l4t_sign_image.sh: the sign header is saved at ./boot/dtb/kernel_tegra194-p3668-0001-p3509-0000.dtb.sig done. generating sig file of initrd ... /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign ./boot/initrd data 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.0121 ] Generating signature [ 0.0163 ] tegrasign_v3.py --key --getmode mode.txt [ 0.0164 ] Assuming zero filled SBK key : not reading [ 0.0158 ] header_magic: 1f8b0800 [ 0.0477 ] tegrahost_v2 --chip 0x19 --align 1_initrd_aligned [ 0.0488 ] [ 0.0498 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_initrd_aligned zerosbk [ 0.0505 ] adding BCH for 1_initrd_aligned [ 0.1935 ] [ 0.1979 ] tegrasign_v3.py --key --list 1_initrd_aligned_sigheader_list.xml [ 0.1980 ] Assuming zero filled SBK key : not reading [ 0.2132 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_initrd_aligned_sigheader.encrypt 1_initrd_aligned_sigheader.hash zerosbk [ 0.2964 ] [ 0.3057 ] Signed file: /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mnt/initrd_sigheader.encrypt l4t_sign_image.sh: Generate header for initrd_sigheader.encrypt l4t_sign_image.sh: chip 0x19: add 0x80139e 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 ./boot/initrd.sig done. generating sig file of extlinux.conf ... /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign ./boot/extlinux/extlinux.conf data 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.0121 ] Generating signature [ 0.0156 ] tegrasign_v3.py --key --getmode mode.txt [ 0.0158 ] Assuming zero filled SBK key : not reading [ 0.0148 ] header_magic: 54494d45 [ 0.0169 ] tegrahost_v2 --chip 0x19 --align 1_extlinux_aligned.conf [ 0.0180 ] [ 0.0203 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_extlinux_aligned.conf zerosbk [ 0.0214 ] adding BCH for 1_extlinux_aligned.conf [ 0.0215 ] [ 0.0255 ] tegrasign_v3.py --key --list 1_extlinux_aligned_sigheader.conf_list.xml [ 0.0256 ] Assuming zero filled SBK key : not reading [ 0.0271 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_extlinux_aligned_sigheader.conf.encrypt 1_extlinux_aligned_sigheader.conf.hash zerosbk [ 0.0282 ] [ 0.0284 ] Signed file: /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/mnt/extlinux_sigheader.conf.encrypt l4t_sign_image.sh: Generate header for extlinux_sigheader.conf.encrypt l4t_sign_image.sh: chip 0x19: add 0x3d0 to offset 0x8 in sig file l4t_sign_image.sh: Generate 16-byte-size-aligned base file for extlinux_sigheader.conf.encrypt l4t_sign_image.sh: the sign header is saved at ./boot/extlinux/extlinux.conf.sig done. Sync'ing system.img ... done. Converting RAW image to Sparse image... done. system.img built successfully. Existing tbcfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/uefi_jetson.bin) reused. 131072+0 records in 131072+0 records out 67108864 bytes (67 MB, 64 MiB) copied, 0.1888 s, 355 MB/s Sync'ing esp.img ... done. copying tbcdtbfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/kernel/dtb/tegra194-p3668-0001-p3509-0000.dtb)... done. copying cfgfile(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc_p3668.xml) to flash.xml... done. Existing flasher(/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused. Existing flashapp(/home/shreyas/Projects/Jetson_porting/Base_L4T/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 --bldtb tegra194-p3668-0001-p3509-0000.dtb --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-2_t194.bin; bpmp_fw_dtb tegra194-a02-bpmp-p3668-a00.dtb; spe_fw spe_t194.bin; tlk tos-optee_t194.img; eks eks.img; bootloader_dtb tegra194-p3668-0001-p3509-0000.dtb" saving flash command in /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/flashcmd.txt saving Windows flash command to /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/flash_win.bat *** Flashing target device started. *** 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.0243 ] tegrasign_v3.py --key None --getmode mode.txt [ 0.0245 ] Assuming zero filled SBK key [ 0.0028 ] Generating RCM messages [ 0.0039 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk [ 0.0047 ] Header already present for mb1_t194_prod.bin [ 0.0077 ] [ 0.0318 ] tegrasign_v3.py --key None --getmode mode.txt [ 0.0320 ] Assuming zero filled SBK key [ 0.0123 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin [ 0.0155 ] [ 0.0178 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0 [ 0.0200 ] RCM 0 is saved as rcm_0.rcm [ 0.0242 ] RCM 1 is saved as rcm_1.rcm [ 0.0243 ] RCM 2 is saved as rcm_2.rcm [ 0.0243 ] List of rcm files are saved in rcm_list.xml [ 0.0243 ] [ 0.0244 ] Signing RCM messages [ 0.0543 ] tegrasign_v3.py --key None --list rcm_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key [ 0.0549 ] Assuming zero filled SBK key [ 0.0659 ] Warning: pub_key.key is not found [ 0.0440 ] Copying signature to RCM mesages [ 0.0474 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml [ 0.0550 ] [ 0.0551 ] odmdata (to decode) = 3088646144 [ 0.0552 ] Odmdata strings: PCIE_XBAR_8_1_1_0_1,UFS_DISABLED,NVHS_PCIE,enable-debug-console,enable-denver-wdt [ 0.0552 ] Bpmp odmdata config: {'pcie-xbar-config': [0, 1, 'PCIE_XBAR_8_1_1_0_1'], 'pcie-c0-endpoint-enable': [1, 0, ''], 'pcie-c4-endpoint-enable': [1, 0, ''], 'ufs-config': [0, 1, 'UFS_DISABLED'], 'sata-enable': [1, 0, ''], 'nvhs-owner': [0, 1, 'PCIE'], 'pcie-c5-endpoint-enable': [1, 0, '']} [ 0.5972 ] Change tegra194-p3668-0001-p3509-0000.dtb to tegra194-p3668-0001-p3509-0000_with_odm_overlay.dtb [ 0.5990 ] Change tegra194-p3668-0001-p3509-0000.dtb to tegra194-p3668-0001-p3509-0000_with_odm_overlay.dtb [ 0.6002 ] Parsing partition layout [ 0.6030 ] tegraparser_v2 --pt flash.xml.tmp [ 0.6057 ] [ 0.6058 ] Reading ramcode from backup chip_info.bin file [ 0.6060 ] RAMCODE Read from Device: 0 [ 0.6060 ] Disable BPMP dtb trim, using default dtb [ 0.6060 ] [ 0.6060 ] Creating list of images to be signed [ 0.6079 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk [ 0.6086 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin [ 0.6098 ] Header already present for mb1_t194_prod_aligned_sigheader.bin [ 0.6104 ] MB1: Nvheader already present is mb1_t194_prod_aligned.bin [ 0.6128 ] Header already present for mb1_t194_prod_aligned_sigheader.bin [ 0.6135 ] adding BCH for spe_t194_aligned.bin [ 0.6171 ] adding BCH for nvtboot_t194_aligned.bin [ 0.6229 ] Header already present for preboot_c10_prod_cr_aligned.bin [ 0.6268 ] Header already present for mce_c10_prod_cr_aligned.bin [ 0.6272 ] adding BCH for mts_c10_prod_cr_aligned.bin [ 0.6440 ] Header already present for warmboot_t194_prod_aligned.bin [ 0.7017 ] adding BCH for xusb_sil_rel_fw_aligned [ 0.7027 ] adding BCH for uefi_jetson_aligned.bin [ 0.7095 ] adding BCH for tegra194-p3668-0001-p3509-0000_with_odm_overlay_aligned.dtb [ 0.7618 ] adding BCH for tos-optee_t194_aligned.img [ 0.7683 ] adding BCH for eks_aligned.img [ 0.7778 ] adding BCH for adsp-fw_aligned.bin [ 0.7795 ] adding BCH for camera-rtcpu-t194-rce_aligned.img [ 0.7910 ] adding BCH for bpmp-2_t194_aligned.bin [ 0.8056 ] adding BCH for tegra194-a02-bpmp-p3668-a00_aligned.dtb [ 0.8230 ] adding BCH for spe_t194_aligned.bin [ 0.8295 ] adding BCH for nvtboot_t194_aligned.bin [ 0.8341 ] Header already present for preboot_c10_prod_cr_aligned.bin [ 0.8382 ] Header already present for mce_c10_prod_cr_aligned.bin [ 0.8387 ] adding BCH for mts_c10_prod_cr_aligned.bin [ 0.8470 ] Header already present for warmboot_t194_prod_aligned.bin [ 0.9061 ] adding BCH for xusb_sil_rel_fw_aligned [ 0.9067 ] adding BCH for uefi_jetson_aligned.bin [ 0.9140 ] adding BCH for tegra194-p3668-0001-p3509-0000_with_odm_overlay_aligned.dtb [ 0.9652 ] adding BCH for boot_aligned.img [ 1.0561 ] adding BCH for kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb [ 1.7138 ] adding BCH for tos-optee_t194_aligned.img [ 1.7188 ] adding BCH for eks_aligned.img [ 1.7298 ] adding BCH for adsp-fw_aligned.bin [ 1.7307 ] adding BCH for camera-rtcpu-t194-rce_aligned.img [ 1.7414 ] adding BCH for bpmp-2_t194_aligned.bin [ 1.7554 ] adding BCH for tegra194-a02-bpmp-p3668-a00_aligned.dtb [ 1.7731 ] adding BCH for boot_aligned.img [ 1.8991 ] adding BCH for kernel_tegra194-p3668-0001-p3509-0000_aligned.dtb [ 2.6187 ] adding BCH for recovery_aligned.img [ 2.7279 ] adding BCH for tegra194-p3668-0001-p3509-0000.dtb_aligned.rec [ 3.4522 ] [ 3.4522 ] Filling MB1 storage info [ 3.4522 ] Generating br-bct [ 3.4545 ] Performing cfg overlay [ 3.4545 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg'] [ 3.4548 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1.cfg [ 3.4976 ] [ 3.4977 ] Updating dev and MSS params in BR BCT [ 3.4977 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0 [ 3.5289 ] [ 3.5289 ] Updating bl info [ 3.5316 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin [ 3.5337 ] [ 3.5337 ] Generating signatures [ 3.5577 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key [ 3.5578 ] Assuming zero filled SBK key [ 3.8926 ] Warning: pub_key.key is not found [ 3.8707 ] Generating br-bct [ 3.8730 ] Performing cfg overlay [ 3.8730 ] ['/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1.cfg'] [ 3.8730 ] Updating dev and MSS params in BR BCT [ 3.8730 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0 [ 3.9039 ] [ 3.9040 ] Updating bl info [ 3.9078 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 3.9153 ] [ 3.9153 ] Updating smd info [ 3.9176 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin [ 3.9186 ] [ 3.9186 ] Updating Odmdata [ 3.9206 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000 [ 3.9216 ] [ 3.9217 ] Get Signed section of bct [ 3.9236 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml [ 3.9245 ] [ 3.9246 ] Signing BCT [ 3.9485 ] tegrasign_v3.py --key None --list bct_list.xml --getmontgomeryvalues montgomery.bin --pubkeyhash pub_key.key [ 3.9487 ] Assuming zero filled SBK key [ 3.9505 ] Warning: pub_key.key is not found [ 3.9285 ] Updating BCT with signature [ 3.9307 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml [ 3.9326 ] [ 3.9326 ] Generating coldboot mb1-bct [ 3.9359 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1.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 [ 3.9377 ] MB1-BCT version: 0x1 [ 3.9384 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg [ 3.9388 ] Added Platform Config 0 data with size :- 2496 [ 3.9503 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg [ 3.9505 ] Added Platform Config 1 data with size :- 19640 [ 4.0422 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg [ 4.0424 ] Added Platform Config 2 data with size :- 24 [ 4.0428 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg [ 4.0431 ] Added Platform Config 4 data with size :- 348 [ 4.0445 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg [ 4.0448 ] Added Platform Config 3 data with size :- 92 [ 4.0454 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg [ 4.0456 ] Added Platform Config 5 data with size :- 128 [ 4.0459 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg [ 4.0462 ] Added Platform Config 7 data with size :- 392 [ 4.0513 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg [ 4.0515 ] Added Platform Config 9 data with size :- 40 [ 4.0517 ] [ 4.0517 ] Updating mb1-bct with firmware information [ 4.0541 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin [ 4.0560 ] [ 4.0560 ] Updating mb1-bct with storage information [ 4.0590 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin [ 4.0610 ] [ 4.0641 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1_aligned.bct [ 4.0691 ] [ 4.0725 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1_aligned.bct zerosbk [ 4.0740 ] adding BCH for mb1_cold_boot_bct_MB1_aligned.bct [ 4.0748 ] [ 4.1001 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_aligned_sigheader.bct_list.xml [ 4.1004 ] Assuming zero filled SBK key [ 4.0888 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_aligned_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_aligned_sigheader.bct.hash zerosbk [ 4.0902 ] [ 4.0905 ] Generating recovery mb1-bct [ 4.0928 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1.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 [ 4.0936 ] MB1-BCT version: 0x1 [ 4.0940 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg [ 4.0942 ] Added Platform Config 0 data with size :- 2496 [ 4.1033 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg [ 4.1036 ] Added Platform Config 1 data with size :- 19640 [ 4.2012 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg [ 4.2014 ] Added Platform Config 2 data with size :- 24 [ 4.2016 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg [ 4.2019 ] Added Platform Config 4 data with size :- 348 [ 4.2033 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg [ 4.2035 ] Added Platform Config 3 data with size :- 92 [ 4.2042 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg [ 4.2044 ] Added Platform Config 5 data with size :- 128 [ 4.2046 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg [ 4.2049 ] Added Platform Config 7 data with size :- 392 [ 4.2098 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg [ 4.2100 ] Added Platform Config 9 data with size :- 40 [ 4.2102 ] [ 4.2102 ] Updating mb1-bct with firmware information [ 4.2127 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --recov --updatefwinfo flash.xml.bin [ 4.2149 ] [ 4.2150 ] Updating mb1-bct with storage information [ 4.2175 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin [ 4.2196 ] [ 4.2217 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1_aligned.bct [ 4.2266 ] [ 4.2301 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_bct_MB1_aligned.bct zerosbk [ 4.2319 ] adding BCH for mb1_bct_MB1_aligned.bct [ 4.2328 ] [ 4.2574 ] tegrasign_v3.py --key None --list mb1_bct_MB1_aligned_sigheader.bct_list.xml [ 4.2579 ] Assuming zero filled SBK key [ 4.2468 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_aligned_sigheader.bct.encrypt mb1_bct_MB1_aligned_sigheader.bct.hash zerosbk [ 4.2482 ] [ 4.2485 ] Generating coldboot mem-bct [ 4.2505 ] tegrabct_v2 --chip 0x19 0 --sdram /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1.cfg --membct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_1.bct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_2.bct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_3.bct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_4.bct [ 4.2513 ] Packing sdram param for instance[0] [ 4.2802 ] Packing sdram param for instance[1] [ 4.2804 ] Packing sdram param for instance[2] [ 4.2806 ] Packing sdram param for instance[3] [ 4.2806 ] Packing sdram param for instance[4] [ 4.2806 ] Packing sdram param for instance[5] [ 4.2806 ] Packing sdram param for instance[6] [ 4.2807 ] Packing sdram param for instance[7] [ 4.2807 ] Packing sdram param for instance[8] [ 4.2807 ] Packing sdram param for instance[9] [ 4.2807 ] Packing sdram param for instance[10] [ 4.2807 ] Packing sdram param for instance[11] [ 4.2807 ] Packing sdram param for instance[12] [ 4.2807 ] Packing sdram param for instance[13] [ 4.2807 ] Packing sdram param for instance[14] [ 4.2807 ] Packing sdram param for instance[15] [ 4.2807 ] [ 4.2807 ] Getting sector size from pt [ 4.2831 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin [ 4.2844 ] [ 4.2846 ] BlockSize read from layout is 200 [ 4.2867 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_1.bct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_2.bct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_3.bct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_4.bct [ 4.2877 ] adding BCH for /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_1.bct [ 4.2899 ] [ 4.2933 ] tegrahost_v2 --chip 0x19 --align mem_coldboot_aligned.bct [ 4.2947 ] [ 4.2960 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_coldboot_aligned.bct zerosbk [ 4.2969 ] Header already present for mem_coldboot_aligned.bct [ 4.2974 ] [ 4.3226 ] tegrasign_v3.py --key None --list mem_coldboot_aligned_sigheader.bct_list.xml [ 4.3230 ] Assuming zero filled SBK key [ 4.3093 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_aligned_sigheader.bct.encrypt mem_coldboot_aligned_sigheader.bct.hash zerosbk [ 4.3107 ] [ 4.3113 ] Generating recovery mem-bct [ 4.3133 ] tegrabct_v2 --chip 0x19 0 --sdram /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1.cfg --membct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_1.bct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_2.bct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_3.bct /home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/22507/tmp4_wi16zi1_4.bct [ 4.3142 ] Packing sdram param for instance[0] [ 4.3436 ] Packing sdram param for instance[1] [ 4.3437 ] Packing sdram param for instance[2] [ 4.3439 ] Packing sdram param for instance[3] [ 4.3440 ] Packing sdram param for instance[4] [ 4.3442 ] Packing sdram param for instance[5] [ 4.3442 ] Packing sdram param for instance[6] [ 4.3442 ] Packing sdram param for instance[7] [ 4.3442 ] Packing sdram param for instance[8] [ 4.3442 ] Packing sdram param for instance[9] [ 4.3442 ] Packing sdram param for instance[10] [ 4.3442 ] Packing sdram param for instance[11] [ 4.3442 ] Packing sdram param for instance[12] [ 4.3442 ] Packing sdram param for instance[13] [ 4.3442 ] Packing sdram param for instance[14] [ 4.3442 ] Packing sdram param for instance[15] [ 4.3442 ] [ 4.3474 ] tegrahost_v2 --chip 0x19 --align mem_rcm_aligned.bct [ 4.3488 ] [ 4.3510 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_rcm_aligned.bct zerosbk [ 4.3520 ] adding BCH for mem_rcm_aligned.bct [ 4.3531 ] [ 4.3791 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml [ 4.3795 ] Assuming zero filled SBK key [ 4.3656 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk [ 4.3690 ] [ 4.3694 ] Copying signatures [ 4.3715 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 5.8070 ] [ 5.8071 ] Boot Rom communication [ 5.8104 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml [ 5.8124 ] BR_CID: 0x88021911646498000c000000050080c0 [ 5.8403 ] RCM version 0X190001 [ 5.8407 ] Boot Rom communication completed [ 6.8568 ] [ 7.8629 ] tegrarcm_v2 --isapplet [ 7.8658 ] Applet version 01.00.0000 [ 7.8976 ] [ 7.8977 ] Sending BCTs [ 7.9015 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt [ 7.9031 ] Applet version 01.00.0000 [ 7.9499 ] Sending bct_bootrom [ 7.9501 ] [................................................] 100% [ 7.9517 ] Sending bct_mb1 [ 7.9565 ] [................................................] 100% [ 7.9606 ] Sending bct_mem [ 8.0086 ] [................................................] 100% [ 8.0453 ] [ 8.0454 ] Generating blob [ 8.0506 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_cpu_t194_aligned.bin [ 8.0537 ] [ 8.0563 ] tegrahost_v2 --chip 0x19 0 --magicid CPBL --appendsigheader blob_nvtboot_recovery_cpu_t194_aligned.bin zerosbk [ 8.0576 ] adding BCH for blob_nvtboot_recovery_cpu_t194_aligned.bin [ 8.0618 ] [ 8.0863 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_cpu_t194_aligned_sigheader.bin_list.xml [ 8.0865 ] Assuming zero filled SBK key [ 8.0696 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_cpu_t194_aligned_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_t194_aligned_sigheader.bin.hash zerosbk [ 8.0756 ] [ 8.0808 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_t194_aligned.bin [ 8.0827 ] [ 8.0841 ] tegrahost_v2 --chip 0x19 0 --magicid MB2B --appendsigheader blob_nvtboot_recovery_t194_aligned.bin zerosbk [ 8.0854 ] adding BCH for blob_nvtboot_recovery_t194_aligned.bin [ 8.0893 ] [ 8.1160 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_t194_aligned_sigheader.bin_list.xml [ 8.1164 ] Assuming zero filled SBK key [ 8.1000 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_t194_aligned_sigheader.bin.encrypt blob_nvtboot_recovery_t194_aligned_sigheader.bin.hash zerosbk [ 8.1028 ] [ 8.1056 ] tegrahost_v2 --chip 0x19 --align blob_preboot_c10_prod_cr_aligned.bin [ 8.1067 ] [ 8.1087 ] tegrahost_v2 --chip 0x19 0 --magicid MTSP --appendsigheader blob_preboot_c10_prod_cr_aligned.bin zerosbk [ 8.1097 ] Header already present for blob_preboot_c10_prod_cr_aligned.bin [ 8.1101 ] [ 8.1346 ] tegrasign_v3.py --key None --list blob_preboot_c10_prod_cr_aligned_sigheader.bin_list.xml [ 8.1349 ] Assuming zero filled SBK key [ 8.1187 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_preboot_c10_prod_cr_aligned_sigheader.bin.encrypt blob_preboot_c10_prod_cr_aligned_sigheader.bin.hash zerosbk [ 8.1205 ] [ 8.1231 ] tegrahost_v2 --chip 0x19 --align blob_mce_c10_prod_cr_aligned.bin [ 8.1240 ] [ 8.1260 ] tegrahost_v2 --chip 0x19 0 --magicid MTSM --appendsigheader blob_mce_c10_prod_cr_aligned.bin zerosbk [ 8.1269 ] Header already present for blob_mce_c10_prod_cr_aligned.bin [ 8.1284 ] [ 8.1537 ] tegrasign_v3.py --key None --list blob_mce_c10_prod_cr_aligned_sigheader.bin_list.xml [ 8.1541 ] Assuming zero filled SBK key [ 8.1399 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mce_c10_prod_cr_aligned_sigheader.bin.encrypt blob_mce_c10_prod_cr_aligned_sigheader.bin.hash zerosbk [ 8.1426 ] [ 8.1523 ] tegrahost_v2 --chip 0x19 --align blob_mts_c10_prod_cr_aligned.bin [ 8.1534 ] [ 8.1553 ] tegrahost_v2 --chip 0x19 0 --magicid MTSB --appendsigheader blob_mts_c10_prod_cr_aligned.bin zerosbk [ 8.1560 ] adding BCH for blob_mts_c10_prod_cr_aligned.bin [ 8.2180 ] [ 8.2426 ] tegrasign_v3.py --key None --list blob_mts_c10_prod_cr_aligned_sigheader.bin_list.xml [ 8.2428 ] Assuming zero filled SBK key [ 8.2312 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mts_c10_prod_cr_aligned_sigheader.bin.encrypt blob_mts_c10_prod_cr_aligned_sigheader.bin.hash zerosbk [ 8.2653 ] [ 8.2765 ] tegrahost_v2 --chip 0x19 --align blob_bpmp-2_t194_aligned.bin [ 8.2780 ] [ 8.2798 ] tegrahost_v2 --chip 0x19 0 --magicid BPMF --appendsigheader blob_bpmp-2_t194_aligned.bin zerosbk [ 8.2812 ] adding BCH for blob_bpmp-2_t194_aligned.bin [ 8.3019 ] [ 8.3290 ] tegrasign_v3.py --key None --list blob_bpmp-2_t194_aligned_sigheader.bin_list.xml [ 8.3295 ] Assuming zero filled SBK key [ 8.3212 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_bpmp-2_t194_aligned_sigheader.bin.encrypt blob_bpmp-2_t194_aligned_sigheader.bin.hash zerosbk [ 8.3307 ] [ 8.3375 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-a02-bpmp-p3668-a00_aligned.dtb [ 8.3396 ] [ 8.3457 ] tegrahost_v2 --chip 0x19 0 --magicid BPMD --appendsigheader blob_tegra194-a02-bpmp-p3668-a00_aligned.dtb zerosbk [ 8.3485 ] adding BCH for blob_tegra194-a02-bpmp-p3668-a00_aligned.dtb [ 8.3547 ] [ 8.3793 ] tegrasign_v3.py --key None --list blob_tegra194-a02-bpmp-p3668-a00_aligned_sigheader.dtb_list.xml [ 8.3795 ] Assuming zero filled SBK key [ 8.3620 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-a02-bpmp-p3668-a00_aligned_sigheader.dtb.encrypt blob_tegra194-a02-bpmp-p3668-a00_aligned_sigheader.dtb.hash zerosbk [ 8.3671 ] [ 8.3720 ] tegrahost_v2 --chip 0x19 --align blob_spe_t194_aligned.bin [ 8.3757 ] [ 8.3788 ] tegrahost_v2 --chip 0x19 0 --magicid SPEF --appendsigheader blob_spe_t194_aligned.bin zerosbk [ 8.3800 ] adding BCH for blob_spe_t194_aligned.bin [ 8.3818 ] [ 8.4060 ] tegrasign_v3.py --key None --list blob_spe_t194_aligned_sigheader.bin_list.xml [ 8.4062 ] Assuming zero filled SBK key [ 8.3884 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_spe_t194_aligned_sigheader.bin.encrypt blob_spe_t194_aligned_sigheader.bin.hash zerosbk [ 8.3902 ] [ 8.3935 ] tegrahost_v2 --chip 0x19 --align blob_tos-optee_t194_aligned.img [ 8.3945 ] [ 8.3969 ] tegrahost_v2 --chip 0x19 0 --magicid TOSB --appendsigheader blob_tos-optee_t194_aligned.img zerosbk [ 8.3982 ] adding BCH for blob_tos-optee_t194_aligned.img [ 8.4106 ] [ 8.4355 ] tegrasign_v3.py --key None --list blob_tos-optee_t194_aligned_sigheader.img_list.xml [ 8.4357 ] Assuming zero filled SBK key [ 8.4185 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tos-optee_t194_aligned_sigheader.img.encrypt blob_tos-optee_t194_aligned_sigheader.img.hash zerosbk [ 8.4250 ] [ 8.4297 ] tegrahost_v2 --chip 0x19 --align blob_eks_aligned.img [ 8.4314 ] [ 8.4347 ] tegrahost_v2 --chip 0x19 0 --magicid EKSB --appendsigheader blob_eks_aligned.img zerosbk [ 8.4390 ] adding BCH for blob_eks_aligned.img [ 8.4396 ] [ 8.4647 ] tegrasign_v3.py --key None --list blob_eks_aligned_sigheader.img_list.xml [ 8.4648 ] Assuming zero filled SBK key [ 8.4469 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_eks_aligned_sigheader.img.encrypt blob_eks_aligned_sigheader.img.hash zerosbk [ 8.4483 ] [ 8.4511 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-p3668-0001-p3509-0000_aligned.dtb [ 8.4519 ] [ 8.4539 ] tegrahost_v2 --chip 0x19 0 --magicid CDTB --appendsigheader blob_tegra194-p3668-0001-p3509-0000_aligned.dtb zerosbk [ 8.4548 ] adding BCH for blob_tegra194-p3668-0001-p3509-0000_aligned.dtb [ 8.4599 ] [ 8.4857 ] tegrasign_v3.py --key None --list blob_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb_list.xml [ 8.4859 ] Assuming zero filled SBK key [ 8.4684 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.encrypt blob_tegra194-p3668-0001-p3509-0000_aligned_sigheader.dtb.hash zerosbk [ 8.4718 ] [ 8.4777 ] tegrahost_v2 --chip 0x19 --generateblob blob.xml blob.bin [ 8.4804 ] number of images in blob are 11 [ 8.4810 ] blobsize is 6238680 [ 8.4811 ] Added binary blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt of size 238144 [ 8.4835 ] Added binary blob_nvtboot_recovery_t194_sigheader.bin.encrypt of size 173216 [ 8.4837 ] Added binary blob_preboot_c10_prod_cr_sigheader.bin.encrypt of size 24016 [ 8.4840 ] Added binary blob_mce_c10_prod_cr_sigheader.bin.encrypt of size 145184 [ 8.4842 ] Added binary blob_mts_c10_prod_cr_sigheader.bin.encrypt of size 3430416 [ 8.4854 ] Added binary blob_bpmp-2_t194_sigheader.bin.encrypt of size 1007392 [ 8.4863 ] Added binary blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt of size 337120 [ 8.4865 ] Added binary blob_spe_t194_sigheader.bin.encrypt of size 95232 [ 8.4867 ] Added binary blob_tos-optee_t194_sigheader.img.encrypt of size 525232 [ 8.4869 ] Added binary blob_eks_sigheader.img.encrypt of size 5136 [ 8.4871 ] Added binary blob_tegra194-p3668-0001-p3509-0000_sigheader.dtb.encrypt of size 257408 [ 8.4913 ] [ 8.4914 ] Sending bootloader and pre-requisite binaries [ 8.4943 ] tegrarcm_v2 --download blob blob.bin [ 8.4953 ] Applet version 01.00.0000 [ 8.5705 ] Sending blob [ 8.5706 ] [................................................] 100% [ 9.4642 ] [ 9.4687 ] tegrarcm_v2 --boot recovery [ 9.4712 ] Applet version 01.00.0000 [ 9.5063 ] [ 10.5131 ] tegrarcm_v2 --isapplet ^CTraceback (most recent call last): File "./tegraflash.py", line 1360, in tegraflash_run_commands() File "./tegraflash.py", line 1208, in tegraflash_run_commands interpreter.onecmd(command) File "/usr/lib/python3.6/cmd.py", line 217, in onecmd return func(arg) File "./tegraflash.py", line 261, in do_flash self.chip_inst.tegraflash_flash(exports) File "/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 367, in tegraflash_flash tegraflash_boot('recovery') File "/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 1416, in tegraflash_boot tegraflash_poll_applet_bl() File "/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 2610, in tegraflash_poll_applet_bl if check_ismb1() or check_ismb2() or check_iscpubl(): File "/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 2545, in check_ismb1 run_command(command) File "/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 218, in run_command log = print_process(process, enable_print) File "/home/shreyas/Projects/Jetson_porting/Base_L4T/Linux_for_Tegra/bootloader/tegraflash_internal.py", line 171, in print_process output = process.stdout.read(1) KeyboardInterrupt Failed flashing t186ref.