Jetson XavierNX .ISO image

What would I have to do in that case?
Here is my entire output:

********************************************
     Jetson Disk Image Creation Tool     
********************************************
jetson-disk-image-creator.sh - creating signed images
~/Downloads/Linux_for_Tegra ~/Downloads/Linux_for_Tegra/tools
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.1
###############################################################################
Board ID(3668) version(000) sku() revision()
Copy /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec
copying bctfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying device_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi.cfg)... done.
Existing bootloader(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
	populating kernel to rootfs... done.
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign /home/cosmiac/Downloads/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.0136 ] Generating signature
[   0.0172 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0200 ] Assuming zero filled SBK key
[   0.0229 ] 
[   0.0235 ] header_magic: 5614
[   0.0272 ] tegrahost_v2 --chip 0x19 --align 1_Image
[   0.0308 ] 
[   0.0350 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_Image zerosbk
[   0.0402 ] adding BCH for 1_Image
[   2.2499 ] 
[   2.2599 ] tegrasign_v2 --key  --list 1_Image_sigheader_list.xml --pubkeyhash pub_key.key
[   2.2639 ] Assuming zero filled SBK key
[   2.4023 ] 
[   2.4068 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_sigheader.encrypt 1_Image_sigheader.hash zerosbk
[   3.6643 ] 
[   3.7979 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/Linux_for_Tegra/rootfs/boot/Image.sig
done.
	populating initrd to rootfs... done.
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign /home/cosmiac/Downloads/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.0126 ] Generating signature
[   0.0152 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0180 ] Assuming zero filled SBK key
[   0.0184 ] 
[   0.0190 ] header_magic: 1f8b0800
[   0.0223 ] tegrahost_v2 --chip 0x19 --align 1_initrd
[   0.0255 ] 
[   0.0286 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_initrd zerosbk
[   0.0320 ] adding BCH for 1_initrd
[   0.4959 ] 
[   0.5040 ] tegrasign_v2 --key  --list 1_initrd_sigheader_list.xml --pubkeyhash pub_key.key
[   0.5078 ] Assuming zero filled SBK key
[   0.5385 ] 
[   0.5428 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_initrd_sigheader.encrypt 1_initrd_sigheader.hash zerosbk
[   0.7901 ] 
[   0.8273 ] Signed file: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/initrd_sigheader.encrypt
l4t_sign_image.sh: Generate header for initrd_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x6e6ce8 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/cosmiac/Downloads/Linux_for_Tegra/rootfs/boot/initrd.sig
done.
	populating /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to rootfs... done.
Making Boot image... done.
/home/cosmiac/Downloads/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.0014 ] Generating signature
[   0.0040 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0068 ] Assuming zero filled SBK key
[   0.0073 ] 
[   0.0079 ] header_magic: 414e4452
[   0.0118 ] tegrahost_v2 --chip 0x19 --align 1_boot.img
[   0.0150 ] 
[   0.0180 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_boot.img zerosbk
[   0.0212 ] adding BCH for 1_boot.img
[   2.6842 ] 
[   2.6905 ] tegrasign_v2 --key  --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[   2.6943 ] Assuming zero filled SBK key
[   2.8699 ] 
[   2.8741 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[   4.4317 ] 
[   4.5890 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/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...
~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Downloads/Linux_for_Tegra/bootloader ~/Downloads/Linux_for_Tegra
30402 blocks
_BASE_KERNEL_VERSION=4.9.201-tegra
~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Downloads/Linux_for_Tegra/bootloader ~/Downloads/Linux_for_Tegra
65777 blocks
Making Recovery image...
copying recdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 0.000642709 s, 31.1 kB/s
Existing sosfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused.
copying bpfdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb)... done.
Existing scefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused.
Existing spefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing drameccfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/badpage.bin) reused.
Existing wb0boot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused.
Existing eksfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/cosmiac/Downloads/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.0017 ] Generating signature
[   0.0042 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0068 ] Assuming zero filled SBK key
[   0.0073 ] 
[   0.0079 ] header_magic: d00dfeed
[   0.0111 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0139 ] 
[   0.0168 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0198 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0341 ] 
[   0.0396 ] tegrasign_v2 --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0422 ] Assuming zero filled SBK key
[   0.0458 ] 
[   0.0505 ] 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.0616 ] 
[   0.0636 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/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.0017 ] Generating signature
[   0.0043 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0066 ] Assuming zero filled SBK key
[   0.0071 ] 
[   0.0077 ] header_magic: d00dfeed
[   0.0109 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0139 ] 
[   0.0170 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0200 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0349 ] 
[   0.0424 ] tegrasign_v2 --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0451 ] Assuming zero filled SBK key
[   0.0488 ] 
[   0.0534 ] 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.0649 ] 
[   0.0691 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
done.
Making system.img... 
	populating rootfs from /home/cosmiac/Downloads/Linux_for_Tegra/rootfs ... tar: tmp/.ICE-unix/9116: socket ignored
tar: tmp/.ICE-unix/7022: socket ignored
tar: tmp/.org.chromium.Chromium.txMbhF/SingletonSocket: socket ignored
tar: tmp/camsock: socket ignored
tar: tmp/nvscsock: socket ignored
tar: tmp/argus_socket: socket ignored
tar: var/lib/nvphs/nvphsd.ctl: socket ignored
done.
	populating /boot/extlinux/extlinux.conf ... 	Sync'ing system.img ... done.
	Converting RAW image to Sparse image... done.
system.img built successfully. 
Existing tbcfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
copying cfgfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668.xml) to flash.xml... done.
Existing flasher(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/cosmiac/Downloads/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 "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" --skipuid  --trim_bpmp_dtb 
saving flash command in /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/flash_win.bat
*** Sign and generate flashing ready partition images... *** 
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.0795 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0838 ] Assuming zero filled SBK key
[   0.1939 ] 
[   0.1950 ] Generating RCM messages
[   0.2392 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.2441 ] Header already present for mb1_t194_prod.bin
[   0.3519 ] 
[   0.3571 ] tegrasign_v2 --key None --getmode mode.txt
[   0.3605 ] Assuming zero filled SBK key
[   0.3629 ] 
[   0.3678 ] tegrasign_v2 --key None --file mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key
[   0.3729 ] Assuming zero filled SBK key
[   0.3753 ] 
[   0.3786 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.3991 ] 
[   0.4135 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.4721 ] 
[   0.5013 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.5068 ] RCM 0 is saved as rcm_0.rcm
[   0.5672 ] RCM 1 is saved as rcm_1.rcm
[   0.5682 ] RCM 2 is saved as rcm_2.rcm
[   0.5683 ] List of rcm files are saved in rcm_list.xml
[   0.5684 ] 
[   0.5686 ] Signing RCM messages
[   0.5721 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   0.5761 ] Assuming zero filled SBK key
[   0.5809 ] 
[   0.5811 ] Copying signature to RCM mesages
[   0.5842 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.5988 ] 
[   0.5990 ] Parsing partition layout
[   0.6113 ] tegraparser_v2 --pt flash.xml.tmp
[   0.6405 ] 
[   0.6408 ] Creating list of images to be signed
[   0.6460 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   0.6486 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.6618 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.6636 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.6708 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.6858 ] adding BCH for spe_t194.bin
[   0.7146 ] adding BCH for spe_t194.bin
[   0.7202 ] adding BCH for nvtboot_t194.bin
[   0.7317 ] adding BCH for nvtboot_t194.bin
[   0.7420 ] Header already present for preboot_c10_prod_cr.bin
[   0.7811 ] Header already present for preboot_c10_prod_cr.bin
[   0.7863 ] Header already present for mce_c10_prod_cr.bin
[   0.8075 ] Header already present for mce_c10_prod_cr.bin
[   0.8201 ] adding BCH for mts_c10_prod_cr.bin
[   0.8712 ] adding BCH for mts_c10_prod_cr.bin
[   1.1046 ] Header already present for warmboot_t194_prod.bin
[   1.3365 ] Header already present for warmboot_t194_prod.bin
[   1.3460 ] adding BCH for cboot_t194.bin
[   1.3580 ] adding BCH for cboot_t194.bin
[   1.3777 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   1.4039 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   1.4166 ] adding BCH for tos-trusty_t194.img
[   1.4314 ] adding BCH for tos-trusty_t194.img
[   1.4579 ] adding BCH for eks.img
[   1.4836 ] adding BCH for eks.img
[   1.4843 ] adding BCH for adsp-fw.bin
[   1.4870 ] adding BCH for adsp-fw.bin
[   1.4961 ] adding BCH for camera-rtcpu-rce.img
[   1.5022 ] adding BCH for camera-rtcpu-rce.img
[   1.5185 ] adding BCH for bpmp_t194.bin
[   1.5401 ] adding BCH for bpmp_t194.bin
[   1.6008 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   1.6628 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   1.6781 ] adding BCH for boot.img
[   1.7636 ] adding BCH for boot.img
[   4.4252 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   7.1654 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   7.1789 ] adding BCH for recovery.img
[   7.4337 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb.rec
[  10.5337 ] 
[  10.5340 ] Filling MB1 storage info
[  10.5341 ] Generating br-bct
[  10.5378 ] Performing cfg overlay
[  10.5379 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[  10.5391 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71.cfg
[  10.7085 ] 
[  10.7090 ] Updating dev and MSS params in BR BCT
[  10.7093 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[  10.8040 ] 
[  10.8043 ] Updating bl info
[  10.8079 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[  10.8149 ] 
[  10.8151 ] Generating signatures
[  10.8210 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[  10.8244 ] Assuming zero filled SBK key
[  11.5731 ] 
[  11.5732 ] Generating br-bct
[  11.5766 ] Performing cfg overlay
[  11.5767 ] ['/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71.cfg']
[  11.5768 ] Updating dev and MSS params in BR BCT
[  11.5770 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[  11.6738 ] 
[  11.6741 ] Updating bl info
[  11.6778 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[  11.6890 ] 
[  11.6894 ] Updating smd info
[  11.6927 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[  11.6973 ] 
[  11.6974 ] Updating Odmdata
[  11.7024 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[  11.7083 ] 
[  11.7085 ] Get Signed section of bct
[  11.7116 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[  11.7155 ] 
[  11.7192 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[  11.7220 ] Assuming zero filled SBK key
[  11.7238 ] 
[  11.7240 ] Updating BCT with signature
[  11.7271 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[  11.7311 ] 
[  11.7313 ] Generating coldboot mb1-bct
[  11.7370 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71.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
[  11.7400 ] MB1-BCT version: 0x1

[  11.7415 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[  11.7442 ] Added Platform Config 0 data with size :- 2496

[  11.7521 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg 
[  11.7540 ] Added Platform Config 1 data with size :- 19640

[  11.8080 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[  11.8115 ] Added Platform Config 2 data with size :- 24
[  11.8116 ] 
[  11.8116 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[  11.8117 ] Added Platform Config 4 data with size :- 348
[  11.8117 ] 
[  11.8117 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[  11.8119 ] Added Platform Config 3 data with size :- 92
[  11.8119 ] 
[  11.8120 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[  11.8121 ] Added Platform Config 5 data with size :- 128
[  11.8122 ] 
[  11.8122 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[  11.8123 ] Added Platform Config 7 data with size :- 392
[  11.8123 ] 
[  11.8124 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[  11.8125 ] Added Platform Config 9 data with size :- 40
[  11.8127 ] 
[  11.8129 ] Updating mb1-bct with firmware information
[  11.8168 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[  11.8197 ] MB1-BCT version: 0x1
[  11.8207 ] 
[  11.8208 ] Updating mb1-bct with storage information
[  11.8239 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[  11.8267 ] MB1-BCT version: 0x1
[  11.8279 ] 
[  11.8319 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[  11.8378 ] 
[  11.8412 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[  11.8443 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[  11.8474 ] 
[  11.8520 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  11.8550 ] Assuming zero filled SBK key
[  11.8561 ] 
[  11.8600 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[  11.8683 ] 
[  11.8687 ] Generating recovery mb1-bct
[  11.8726 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71.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
[  11.8755 ] MB1-BCT version: 0x1

[  11.8769 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[  11.8833 ] Added Platform Config 0 data with size :- 2496

[  11.8882 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg 
[  11.8992 ] Added Platform Config 1 data with size :- 19640

[  11.9339 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[  11.9402 ] Added Platform Config 2 data with size :- 24
[  11.9403 ] 
[  11.9403 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[  11.9403 ] Added Platform Config 4 data with size :- 348
[  11.9403 ] 
[  11.9404 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[  11.9404 ] Added Platform Config 3 data with size :- 92
[  11.9404 ] 
[  11.9404 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[  11.9405 ] Added Platform Config 5 data with size :- 128
[  11.9405 ] 
[  11.9405 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[  11.9406 ] Added Platform Config 7 data with size :- 392
[  11.9406 ] 
[  11.9406 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[  11.9407 ] Added Platform Config 9 data with size :- 40
[  11.9407 ] 
[  11.9408 ] Updating mb1-bct with firmware information
[  11.9444 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[  11.9477 ] MB1-BCT version: 0x1
[  11.9486 ] 
[  11.9488 ] Updating mb1-bct with storage information
[  11.9518 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[  11.9546 ] MB1-BCT version: 0x1
[  11.9559 ] 
[  11.9609 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[  11.9640 ] 
[  11.9681 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_bct_MB1.bct zerosbk
[  11.9724 ] adding BCH for mb1_bct_MB1.bct
[  11.9763 ] 
[  11.9807 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  11.9835 ] Assuming zero filled SBK key
[  11.9853 ] 
[  11.9895 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[  11.9955 ] 
[  11.9960 ] Generating coldboot mem-bct
[  12.0005 ] tegrabct_v2 --chip 0x19 0 --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71.cfg --membct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_4.bct
[  12.0039 ] Packing sdram param for instance[0]
[  12.0956 ] Packing sdram param for instance[1]
[  12.0968 ] Packing sdram param for instance[2]
[  12.0969 ] Packing sdram param for instance[3]
[  12.0970 ] Packing sdram param for instance[4]
[  12.0972 ] Packing sdram param for instance[5]
[  12.0972 ] Packing sdram param for instance[6]
[  12.0972 ] Packing sdram param for instance[7]
[  12.0972 ] Packing sdram param for instance[8]
[  12.0973 ] Packing sdram param for instance[9]
[  12.0974 ] Packing sdram param for instance[10]
[  12.0974 ] Packing sdram param for instance[11]
[  12.0975 ] Packing sdram param for instance[12]
[  12.0975 ] Packing sdram param for instance[13]
[  12.0976 ] Packing sdram param for instance[14]
[  12.0977 ] Packing sdram param for instance[15]
[  12.0978 ] 
[  12.0980 ] Getting sector size from pt
[  12.1008 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[  12.1043 ] 
[  12.1046 ] BlockSize read from layout is 200

[  12.1086 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_4.bct
[  12.1116 ] adding BCH for /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_1.bct
[  12.1239 ] 
[  12.1288 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[  12.1373 ] 
[  12.1408 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_coldboot.bct zerosbk
[  12.1438 ] Header already present for mem_coldboot.bct
[  12.1452 ] 
[  12.1497 ] tegrasign_v2 --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  12.1527 ] Assuming zero filled SBK key
[  12.1547 ] 
[  12.1615 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[  12.1661 ] 
[  12.1694 ] Generating recovery mem-bct
[  12.1730 ] tegrabct_v2 --chip 0x19 0 --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71.cfg --membct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/4684/tmp9xamlrq71_4.bct
[  12.1767 ] Packing sdram param for instance[0]
[  12.2695 ] Packing sdram param for instance[1]
[  12.2695 ] Packing sdram param for instance[2]
[  12.2696 ] Packing sdram param for instance[3]
[  12.2697 ] Packing sdram param for instance[4]
[  12.2698 ] Packing sdram param for instance[5]
[  12.2699 ] Packing sdram param for instance[6]
[  12.2699 ] Packing sdram param for instance[7]
[  12.2700 ] Packing sdram param for instance[8]
[  12.2700 ] Packing sdram param for instance[9]
[  12.2701 ] Packing sdram param for instance[10]
[  12.2702 ] Packing sdram param for instance[11]
[  12.2703 ] Packing sdram param for instance[12]
[  12.2704 ] Packing sdram param for instance[13]
[  12.2704 ] Packing sdram param for instance[14]
[  12.2704 ] Packing sdram param for instance[15]
[  12.2705 ] 
[  12.2711 ] Using default ramcode 0
[  12.2712 ] Generating BPMP dtb for ramcode - 0
[  12.4447 ] Old BPMP dtb size - 223168 bytes
[  12.4448 ] New BPMP dtb size - 168338 bytes
[  12.4451 ] 
[  12.4518 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[  12.4577 ] 
[  12.4614 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_rcm.bct zerosbk
[  12.4649 ] adding BCH for mem_rcm.bct
[  12.4704 ] 
[  12.4762 ] tegrasign_v2 --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  12.4794 ] Assuming zero filled SBK key
[  12.4809 ] 
[  12.4867 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[  12.4925 ] 
[  12.4929 ] Copying signatures
[  12.4963 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[  18.1045 ] 
[  18.1090 ] tegraparser_v2 --generategpt --pt flash.xml.bin
[  18.1126 ] End sector for APP, expected at: 33554398, actual: 51285799
[  18.1134 ] 
Error: Return value 4
Command tegraparser_v2 --generategpt --pt flash.xml.bin
~/Downloads/Linux_for_Tegra/tools
ERROR: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed/flash.xml.tmp not found

Thanks!

For starters, exactly how big is your new root filesystem?

$ sudo du -sch rootfs

Can you make sure that the process works with the standard root filesystem without any of your additions?

Hello! The customized version is 6.8 GB (removed unnecessary applications and only installed necessary modules I need). On the other hand, I was successful at using the jetson-disk-image-creator.sh and create a custom image from a fresh SD of 14GB without all my additions. So, the memory should not be a problem then because the image I am trying to customize and create as .img to put on the other xaviers is only 6.8 GB and the 14GB was successfully at creating its image .img although I didnt add any of my modules.
I am doing another test in a while, thanks for helping me with this!

********************************************
     Jetson Disk Image Creation Tool     
********************************************
jetson-disk-image-creator.sh - creating signed images
~/Downloads/Linux_for_Tegra ~/Downloads/Linux_for_Tegra/tools
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.1
###############################################################################
Board ID(3668) version(000) sku() revision()
creating dummy /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/badpage.bin
1+0 records in
1+0 records out
4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000918241 s, 4.5 MB/s
Copy /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec
copying bctfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying device_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi.cfg)... done.
Existing bootloader(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
	populating kernel to rootfs... done.
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign /home/cosmiac/Downloads/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.0132 ] Generating signature
[   0.0173 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0208 ] Assuming zero filled SBK key
[   0.0234 ] 
[   0.0241 ] header_magic: 5614
[   0.0295 ] tegrahost_v2 --chip 0x19 --align 1_Image
[   0.0345 ] 
[   0.0408 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_Image zerosbk
[   0.0436 ] adding BCH for 1_Image
[   2.2614 ] 
[   2.2738 ] tegrasign_v2 --key  --list 1_Image_sigheader_list.xml --pubkeyhash pub_key.key
[   2.2785 ] Assuming zero filled SBK key
[   2.4229 ] 
[   2.4269 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_sigheader.encrypt 1_Image_sigheader.hash zerosbk
[   3.7090 ] 
[   3.8400 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/Linux_for_Tegra/rootfs/boot/Image.sig
done.
	populating initrd to rootfs... done.
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign /home/cosmiac/Downloads/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.0125 ] Generating signature
[   0.0151 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0178 ] Assuming zero filled SBK key
[   0.0183 ] 
[   0.0189 ] header_magic: 1f8b0800
[   0.0220 ] tegrahost_v2 --chip 0x19 --align 1_initrd
[   0.0251 ] 
[   0.0283 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_initrd zerosbk
[   0.0316 ] adding BCH for 1_initrd
[   0.4987 ] 
[   0.5038 ] tegrasign_v2 --key  --list 1_initrd_sigheader_list.xml --pubkeyhash pub_key.key
[   0.5068 ] Assuming zero filled SBK key
[   0.5387 ] 
[   0.5431 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_initrd_sigheader.encrypt 1_initrd_sigheader.hash zerosbk
[   0.8084 ] 
[   0.8463 ] Signed file: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/initrd_sigheader.encrypt
l4t_sign_image.sh: Generate header for initrd_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x6e6ce8 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/cosmiac/Downloads/Linux_for_Tegra/rootfs/boot/initrd.sig
done.
	populating /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to rootfs... done.
Making Boot image... done.
/home/cosmiac/Downloads/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.0014 ] Generating signature
[   0.0043 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0074 ] Assuming zero filled SBK key
[   0.0079 ] 
[   0.0085 ] header_magic: 414e4452
[   0.0123 ] tegrahost_v2 --chip 0x19 --align 1_boot.img
[   0.0158 ] 
[   0.0197 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_boot.img zerosbk
[   0.0244 ] adding BCH for 1_boot.img
[   2.6962 ] 
[   2.7032 ] tegrasign_v2 --key  --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[   2.7070 ] Assuming zero filled SBK key
[   2.8802 ] 
[   2.8845 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[   4.4364 ] 
[   4.5962 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/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...
~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Downloads/Linux_for_Tegra/bootloader ~/Downloads/Linux_for_Tegra
30402 blocks
_BASE_KERNEL_VERSION=4.9.201-tegra
~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Downloads/Linux_for_Tegra/bootloader ~/Downloads/Linux_for_Tegra
65768 blocks
Making Recovery image...
copying recdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 0.000505945 s, 39.5 kB/s
Existing sosfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused.
copying bpfdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb)... done.
Existing scefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused.
Existing spefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing drameccfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/badpage.bin) reused.
Existing wb0boot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused.
Existing eksfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/cosmiac/Downloads/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.0017 ] Generating signature
[   0.0042 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0069 ] Assuming zero filled SBK key
[   0.0075 ] 
[   0.0081 ] header_magic: d00dfeed
[   0.0113 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0143 ] 
[   0.0174 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0208 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0345 ] 
[   0.0401 ] tegrasign_v2 --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0428 ] Assuming zero filled SBK key
[   0.0468 ] 
[   0.0515 ] 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.0624 ] 
[   0.0643 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/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.0017 ] Generating signature
[   0.0045 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0074 ] Assuming zero filled SBK key
[   0.0080 ] 
[   0.0086 ] header_magic: d00dfeed
[   0.0118 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0150 ] 
[   0.0183 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0220 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0358 ] 
[   0.0414 ] tegrasign_v2 --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0441 ] Assuming zero filled SBK key
[   0.0479 ] 
[   0.0532 ] 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.0643 ] 
[   0.0665 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
done.
Making system.img... 
	populating rootfs from /home/cosmiac/Downloads/Linux_for_Tegra/rootfs ... tar: 490fd486-af35-4236-aea5-f16fde9df9b5/tmp/.ICE-unix/6766: socket ignored
tar: 490fd486-af35-4236-aea5-f16fde9df9b5/tmp/.ICE-unix/7990: socket ignored
tar: 490fd486-af35-4236-aea5-f16fde9df9b5/tmp/camsock: socket ignored
tar: 490fd486-af35-4236-aea5-f16fde9df9b5/tmp/nvscsock: socket ignored
tar: 490fd486-af35-4236-aea5-f16fde9df9b5/tmp/argus_socket: socket ignored
tar: 490fd486-af35-4236-aea5-f16fde9df9b5/var/lib/nvphs/nvphsd.ctl: socket ignored
tar: tmp/.ICE-unix/6766: socket ignored
tar: tmp/.ICE-unix/7990: socket ignored
tar: tmp/camsock: socket ignored
tar: tmp/nvscsock: socket ignored
tar: tmp/argus_socket: socket ignored
tar: var/lib/nvphs/nvphsd.ctl: socket ignored
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/cosmiac/Downloads/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
copying cfgfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668.xml) to flash.xml... done.
Existing flasher(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/cosmiac/Downloads/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 "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" --skipuid  --trim_bpmp_dtb 
saving flash command in /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/flash_win.bat
*** Sign and generate flashing ready partition images... *** 
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.0681 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0737 ] Assuming zero filled SBK key
[   0.1605 ] 
[   0.1627 ] Generating RCM messages
[   0.1783 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.1865 ] Header already present for mb1_t194_prod.bin
[   0.2314 ] 
[   0.2355 ] tegrasign_v2 --key None --getmode mode.txt
[   0.2390 ] Assuming zero filled SBK key
[   0.2470 ] 
[   0.2504 ] tegrasign_v2 --key None --file mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key
[   0.2568 ] Assuming zero filled SBK key
[   0.2569 ] 
[   0.2606 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.2868 ] 
[   0.3116 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.3723 ] 
[   0.3913 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.3953 ] RCM 0 is saved as rcm_0.rcm
[   0.4334 ] RCM 1 is saved as rcm_1.rcm
[   0.4348 ] RCM 2 is saved as rcm_2.rcm
[   0.4359 ] List of rcm files are saved in rcm_list.xml
[   0.4383 ] 
[   0.4385 ] Signing RCM messages
[   0.4421 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   0.4458 ] Assuming zero filled SBK key
[   0.4483 ] 
[   0.4484 ] Copying signature to RCM mesages
[   0.4517 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.4668 ] 
[   0.4670 ] Parsing partition layout
[   0.4828 ] tegraparser_v2 --pt flash.xml.tmp
[   0.5266 ] 
[   0.5270 ] Creating list of images to be signed
[   0.5314 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   0.5358 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.5413 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.5464 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.5657 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.5787 ] adding BCH for spe_t194.bin
[   0.6086 ] adding BCH for spe_t194.bin
[   0.6233 ] adding BCH for nvtboot_t194.bin
[   0.6352 ] adding BCH for nvtboot_t194.bin
[   0.6519 ] Header already present for preboot_c10_prod_cr.bin
[   0.6755 ] Header already present for preboot_c10_prod_cr.bin
[   0.6932 ] Header already present for mce_c10_prod_cr.bin
[   0.6955 ] Header already present for mce_c10_prod_cr.bin
[   0.7008 ] adding BCH for mts_c10_prod_cr.bin
[   0.7347 ] adding BCH for mts_c10_prod_cr.bin
[   0.9638 ] Header already present for warmboot_t194_prod.bin
[   1.2265 ] Header already present for warmboot_t194_prod.bin
[   1.2446 ] adding BCH for cboot_t194.bin
[   1.2472 ] adding BCH for cboot_t194.bin
[   1.2626 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   1.3012 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   1.3216 ] adding BCH for tos-trusty_t194.img
[   1.3422 ] adding BCH for tos-trusty_t194.img
[   1.3692 ] adding BCH for eks.img
[   1.4024 ] adding BCH for eks.img
[   1.4032 ] adding BCH for adsp-fw.bin
[   1.4178 ] adding BCH for adsp-fw.bin
[   1.4286 ] adding BCH for camera-rtcpu-rce.img
[   1.4479 ] adding BCH for camera-rtcpu-rce.img
[   1.4695 ] adding BCH for bpmp_t194.bin
[   1.4954 ] adding BCH for bpmp_t194.bin
[   1.5521 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   1.6109 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   1.6337 ] adding BCH for boot.img
[   1.7185 ] adding BCH for boot.img
[   4.3859 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   7.1340 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   7.1507 ] adding BCH for recovery.img
[   7.3968 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb.rec
[  10.4855 ] 
[  10.4856 ] Filling MB1 storage info
[  10.4857 ] Generating br-bct
[  10.4894 ] Performing cfg overlay
[  10.4896 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[  10.4906 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg
[  10.6673 ] 
[  10.6678 ] Updating dev and MSS params in BR BCT
[  10.6681 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[  10.7621 ] 
[  10.7622 ] Updating bl info
[  10.7651 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[  10.7722 ] 
[  10.7725 ] Generating signatures
[  10.7767 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[  10.7795 ] Assuming zero filled SBK key
[  11.5687 ] 
[  11.5688 ] Generating br-bct
[  11.5725 ] Performing cfg overlay
[  11.5726 ] ['/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg']
[  11.5729 ] Updating dev and MSS params in BR BCT
[  11.5731 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[  11.6710 ] 
[  11.6712 ] Updating bl info
[  11.6752 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[  11.6849 ] 
[  11.6851 ] Updating smd info
[  11.6895 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[  11.6936 ] 
[  11.6938 ] Updating Odmdata
[  11.6972 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[  11.7020 ] 
[  11.7022 ] Get Signed section of bct
[  11.7070 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[  11.7109 ] 
[  11.7145 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[  11.7192 ] Assuming zero filled SBK key
[  11.7203 ] 
[  11.7204 ] Updating BCT with signature
[  11.7236 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[  11.7277 ] 
[  11.7279 ] Generating coldboot mb1-bct
[  11.7377 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.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
[  11.7406 ] MB1-BCT version: 0x1

[  11.7429 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[  11.7496 ] Added Platform Config 0 data with size :- 2496

[  11.7548 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg 
[  11.7661 ] Added Platform Config 1 data with size :- 19640

[  11.8039 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[  11.8057 ] Added Platform Config 2 data with size :- 24

[  11.8095 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[  11.8114 ] Added Platform Config 4 data with size :- 348

[  11.8129 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[  11.8148 ] Added Platform Config 3 data with size :- 92

[  11.8178 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[  11.8193 ] Added Platform Config 5 data with size :- 128
[  11.8207 ] 
[  11.8207 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[  11.8207 ] Added Platform Config 7 data with size :- 392
[  11.8208 ] 
[  11.8208 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[  11.8208 ] Added Platform Config 9 data with size :- 40
[  11.8208 ] 
[  11.8210 ] Updating mb1-bct with firmware information
[  11.8263 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[  11.8292 ] MB1-BCT version: 0x1
[  11.8306 ] 
[  11.8308 ] Updating mb1-bct with storage information
[  11.8354 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[  11.8382 ] MB1-BCT version: 0x1
[  11.8403 ] 
[  11.8433 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[  11.8463 ] 
[  11.8497 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[  11.8526 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[  11.8564 ] 
[  11.8613 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  11.8644 ] Assuming zero filled SBK key
[  11.8655 ] 
[  11.8722 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[  11.8772 ] 
[  11.8775 ] Generating recovery mb1-bct
[  11.8818 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.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
[  11.8847 ] MB1-BCT version: 0x1

[  11.8921 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[  11.8985 ] Added Platform Config 0 data with size :- 2496

[  11.9009 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg 
[  11.9025 ] Added Platform Config 1 data with size :- 19640

[  11.9497 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[  11.9513 ] Added Platform Config 2 data with size :- 24
[  11.9542 ] 
[  11.9543 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[  11.9544 ] Added Platform Config 4 data with size :- 348
[  11.9545 ] 
[  11.9546 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[  11.9547 ] Added Platform Config 3 data with size :- 92
[  11.9549 ] 
[  11.9550 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[  11.9551 ] Added Platform Config 5 data with size :- 128
[  11.9552 ] 
[  11.9553 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[  11.9554 ] Added Platform Config 7 data with size :- 392
[  11.9555 ] 
[  11.9557 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[  11.9558 ] Added Platform Config 9 data with size :- 40
[  11.9559 ] 
[  11.9562 ] Updating mb1-bct with firmware information
[  11.9590 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[  11.9619 ] MB1-BCT version: 0x1
[  11.9658 ] 
[  11.9659 ] Updating mb1-bct with storage information
[  11.9699 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[  11.9737 ] MB1-BCT version: 0x1
[  11.9752 ] 
[  11.9785 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[  11.9845 ] 
[  11.9900 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_bct_MB1.bct zerosbk
[  11.9929 ] adding BCH for mb1_bct_MB1.bct
[  11.9956 ] 
[  11.9997 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  12.0026 ] Assuming zero filled SBK key
[  12.0037 ] 
[  12.0074 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[  12.0137 ] 
[  12.0141 ] Generating coldboot mem-bct
[  12.0187 ] tegrabct_v2 --chip 0x19 0 --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg --membct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_4.bct
[  12.0217 ] Packing sdram param for instance[0]
[  12.1144 ] Packing sdram param for instance[1]
[  12.1146 ] Packing sdram param for instance[2]
[  12.1148 ] Packing sdram param for instance[3]
[  12.1149 ] Packing sdram param for instance[4]
[  12.1150 ] Packing sdram param for instance[5]
[  12.1151 ] Packing sdram param for instance[6]
[  12.1152 ] Packing sdram param for instance[7]
[  12.1153 ] Packing sdram param for instance[8]
[  12.1155 ] Packing sdram param for instance[9]
[  12.1156 ] Packing sdram param for instance[10]
[  12.1158 ] Packing sdram param for instance[11]
[  12.1161 ] Packing sdram param for instance[12]
[  12.1161 ] Packing sdram param for instance[13]
[  12.1162 ] Packing sdram param for instance[14]
[  12.1163 ] Packing sdram param for instance[15]
[  12.1164 ] 
[  12.1166 ] Getting sector size from pt
[  12.1205 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[  12.1245 ] 
[  12.1249 ] BlockSize read from layout is 200

[  12.1281 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_4.bct
[  12.1314 ] adding BCH for /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_1.bct
[  12.1395 ] 
[  12.1449 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[  12.1492 ] 
[  12.1530 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_coldboot.bct zerosbk
[  12.1564 ] Header already present for mem_coldboot.bct
[  12.1603 ] 
[  12.1645 ] tegrasign_v2 --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  12.1673 ] Assuming zero filled SBK key
[  12.1703 ] 
[  12.1750 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[  12.1802 ] 
[  12.1805 ] Generating recovery mem-bct
[  12.1852 ] tegrabct_v2 --chip 0x19 0 --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1.cfg --membct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/23978/tmp5opcfb5j1_4.bct
[  12.1891 ] Packing sdram param for instance[0]
[  12.2854 ] Packing sdram param for instance[1]
[  12.2854 ] Packing sdram param for instance[2]
[  12.2856 ] Packing sdram param for instance[3]
[  12.2857 ] Packing sdram param for instance[4]
[  12.2857 ] Packing sdram param for instance[5]
[  12.2857 ] Packing sdram param for instance[6]
[  12.2858 ] Packing sdram param for instance[7]
[  12.2859 ] Packing sdram param for instance[8]
[  12.2859 ] Packing sdram param for instance[9]
[  12.2860 ] Packing sdram param for instance[10]
[  12.2860 ] Packing sdram param for instance[11]
[  12.2861 ] Packing sdram param for instance[12]
[  12.2861 ] Packing sdram param for instance[13]
[  12.2862 ] Packing sdram param for instance[14]
[  12.2863 ] Packing sdram param for instance[15]
[  12.2863 ] 
[  12.2870 ] Using default ramcode 0
[  12.2870 ] Generating BPMP dtb for ramcode - 0
[  12.4527 ] Old BPMP dtb size - 223168 bytes
[  12.4528 ] New BPMP dtb size - 168338 bytes
[  12.4531 ] 
[  12.4592 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[  12.4655 ] 
[  12.4694 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_rcm.bct zerosbk
[  12.4729 ] adding BCH for mem_rcm.bct
[  12.4773 ] 
[  12.4820 ] tegrasign_v2 --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  12.4860 ] Assuming zero filled SBK key
[  12.4961 ] 
[  12.5010 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[  12.5073 ] 
[  12.5077 ] Copying signatures
[  12.5113 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[  18.1610 ] 
[  18.1659 ] tegraparser_v2 --generategpt --pt flash.xml.bin
[  18.1711 ] End sector for APP, expected at: 33554398, actual: 84793127
[  18.1722 ] 
Error: Return value 4
Command tegraparser_v2 --generategpt --pt flash.xml.bin
~/Downloads/Linux_for_Tegra/tools
ERROR: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed/flash.xml.tmp not found

I ran the ./apply_binaries.sh script before using the image-creator and still get same error output: flash.xml.tmp not found.
@WayneWWW by any chance do you have any recommendations or guidance as to why I might be getting this error or how to solve it?
Thank you!

Sorry that I didn’t catch up the status.

What’ve you tried so far? Is there any case that can work fine? And what is the failure case? It sounds like the APP partition is not large enough after you adding the applications to the rootfs.

Hi @WayneWWW, no worries thank you very much for replying!
So, I flashed the SD card of the Xavier with the jetson-disk-image-creator.sh without removing any applications and just added OpneCV and this was successful and created a new .img. The size of the rootfs in this case was 14GB. However, now that I tried again to add all my other packages and delete applications I do not need on my new customized .img, I get the error:

Error: Return value 4
Command tegraparser_v2 --generategpt --pt flash.xml.bin
~/Downloads/Linux_for_Tegra/tools
ERROR: /home/Downloads/Linux_for_Tegra/bootloader/signed/flash.xml.tmp not found

The custom image I want to crate is only ~6.8 GB.
What is the APP partition exactly? Sorry, I’m a beginner.
I will not remove the unnecessary applications (e.g. solitaire) now and see if that takes it.

Do you know if there is an image size limit it can create? If there is, how can I change it?

What is your method to put new application to your image?

There is a board config under Linux_for_Tegra/bootloader/t210ref/.

You have to adjust the APP partition size inside of it to match your file system size.

I am installing packages via the terminal most of them with sudo apt-get install and pip3 (including all the dependencies needed for the modules). I already edited the APP Partition size on the flash_l4t_t186_rootfs_ab.xml file and still get the same problem.

I edited lines 5 and 19: size APPSIZE

1. </partition>
2.       <partition name="APP" type="data">
3.            <allocation_policy> sequential </allocation_policy>
4.           <filesystem_type> basic </filesystem_type>
5.            <size> APPSIZE </size>
6.            <file_system_attribute> 0 </file_system_attribute>
7.            <allocation_attribute> 0x8 </allocation_attribute>
8.            <percent_reserved> 0 </percent_reserved>
9.            <align_boundary> 4096 </align_boundary>
10.            <unique_guid> APPUUID </unique_guid>
11.            <filename> APPFILE </filename>
12.            <description> **Required.** Contains the rootfs. This partition must be defined
13.              after `primary_GPT` so that it can be accessed as the fixed known special device
14.             `/dev/mmcblk0p1`. </description>
15.        </partition>
16.        <partition name="APP_b" type="data">
17.           <allocation_policy> sequential </allocation_policy>
18.            <filesystem_type> basic </filesystem_type>
19.           <size> APPSIZE </size>
20.            <file_system_attribute> 0 </file_system_attribute>
21.            <allocation_attribute> 0x8 </allocation_attribute>
            <percent_reserved> 0 </percent_reserved>
            <align_boundary> 4096 </align_boundary>
            <unique_guid> APPUUID_b </unique_guid>
            <filename> APPFILE_b </filename>
            <description> **Required.** Contains the rootfs. This partition must be defined
              after `primary_GPT` so that it can be accessed as the fixed known special device
              `/dev/mmcblk0p2`. </description>

I am not exactly sure where the APPSIZE value is coming from. Here is the full file:
flash_l4t_t186_rootfs_ab.xml (32.2 KB)

My question is where did you run apt get install?

The sdcrad-create script reads and create the card image based on the rootfs on your host.

I installed all the modules in my SD card in the Xavier then I took the SD card and copied the system into the rootfs directory in the /Linux_for_Tegra in my host computer, then ran the ./apply_binaries.sh script from the /Linux_for_Tegra and finally ran the jetson-image-creator.sh from the /tools dir.

grep APPSIZE under your Linux_for_Tegra and it shall tell the value for APPSIZE.

I ran it but grep APPSIZE does not give me anything. I do not know what is the problem. it seems like the tool is not generating the flash.xml.tmp file in the /signed directory and I’m not sure if it is because of the APP partition size. Is the above file * flash_l4t_t186_rootfs_ab.xml* the correct one to edit for the APPSIZE?
These are all the files under the /bootloader/t186ref/cfg

t186 is for TX2 series chip. t194 is for xaiver series. Your log will tell you which file is in use.

cfgfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668.xml) to flash.xml… done.

1 Like

Ah okay, sounds good thank you! I will try one more time by editing the APP size. By any chance do you know if I can edit the path of where I want my custom-sd-blob.img image to be saved after the jetson image creator tool is done? Like if I want it to be saved in my /home dir instead of the Linux_for_Tegra/tools dir (this is for disk space reasons).

I still obtain the same error even when I edit the APPSIZE to match my rootfs. If I could get past the flash.xml.tmp not found error, I think everything else would execute okay.
Should my entire sistem be copied to the rootfs directory? Are there system directories I can avoid copying to not have a large system root?

Do you think I can still get a custom .img if I utilize the flash.sh tool in the /Linux_for_Tegra having my Xavier in recovery mode instead for this tool?

please adjust the sector number in flash_l4t_t194_spi_sd_p3668.xml to match the sdcard size.

<device type= “sdcard” instance= “0” sector_size= “512” num_sectors= “33554432”>

1 Like

Ahh great! Thank you, WayneWWW, I will try today.

Hello @WayneWWW,

I have customized the num_sectors to match my sd card size as well as the APP partition size, I now get the following error:

sudo ./jetson-disk-image-creator.sh -o MLTosImg.img -b jetson-xavier-nx-devkit
********************************************
     Jetson Disk Image Creation Tool     
********************************************
jetson-disk-image-creator.sh - creating signed images
~/Downloads/Linux_for_Tegra ~/Downloads/Linux_for_Tegra/tools
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.2
###############################################################################
Board ID(3668) version(000) sku() revision()
Copy /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec
copying bctfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying device_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi.cfg)... done.
Existing bootloader(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
	populating kernel to rootfs... done.
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign /home/cosmiac/Downloads/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.0228 ] Generating signature
[   0.0264 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0298 ] Assuming zero filled SBK key
[   0.0329 ] 
[   0.0334 ] header_magic: 5614
[   0.0379 ] tegrahost_v2 --chip 0x19 --align 1_Image
[   0.0424 ] 
[   0.0472 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_Image zerosbk
[   0.0499 ] adding BCH for 1_Image
[   2.2718 ] 
[   2.2816 ] tegrasign_v2 --key  --list 1_Image_sigheader_list.xml --pubkeyhash pub_key.key
[   2.2849 ] Assuming zero filled SBK key
[   2.4230 ] 
[   2.4281 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_sigheader.encrypt 1_Image_sigheader.hash zerosbk
[   3.7345 ] 
[   3.8671 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/Linux_for_Tegra/rootfs/boot/Image.sig
done.
	populating initrd to rootfs... done.
/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tegraflash.py  --chip 0x19 --key  --cmd sign /home/cosmiac/Downloads/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.0147 ] Generating signature
[   0.0177 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0223 ] Assuming zero filled SBK key
[   0.0224 ] 
[   0.0231 ] header_magic: 1f8b0800
[   0.0261 ] tegrahost_v2 --chip 0x19 --align 1_initrd
[   0.0297 ] 
[   0.0327 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_initrd zerosbk
[   0.0354 ] adding BCH for 1_initrd
[   0.5116 ] 
[   0.5167 ] tegrasign_v2 --key  --list 1_initrd_sigheader_list.xml --pubkeyhash pub_key.key
[   0.5195 ] Assuming zero filled SBK key
[   0.5512 ] 
[   0.5557 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_initrd_sigheader.encrypt 1_initrd_sigheader.hash zerosbk
[   0.8106 ] 
[   0.8504 ] Signed file: /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/initrd_sigheader.encrypt
l4t_sign_image.sh: Generate header for initrd_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x6e6ebb 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/cosmiac/Downloads/Linux_for_Tegra/rootfs/boot/initrd.sig
done.
	populating /home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to rootfs... done.
Making Boot image... done.
/home/cosmiac/Downloads/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.0015 ] Generating signature
[   0.0053 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0084 ] Assuming zero filled SBK key
[   0.0089 ] 
[   0.0095 ] header_magic: 414e4452
[   0.0129 ] tegrahost_v2 --chip 0x19 --align 1_boot.img
[   0.0164 ] 
[   0.0192 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_boot.img zerosbk
[   0.0219 ] adding BCH for 1_boot.img
[   2.8368 ] 
[   2.8418 ] tegrasign_v2 --key  --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[   2.8448 ] Assuming zero filled SBK key
[   3.0127 ] 
[   3.0162 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[   4.5551 ] 
[   4.7142 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/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...
~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Downloads/Linux_for_Tegra/bootloader ~/Downloads/Linux_for_Tegra
30402 blocks
_BASE_KERNEL_VERSION=4.9.201-tegra
~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/Downloads/Linux_for_Tegra/bootloader/ramdisk_tmp ~/Downloads/Linux_for_Tegra/bootloader ~/Downloads/Linux_for_Tegra
65777 blocks
Making Recovery image...
copying recdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec)... done.
20+0 records in
20+0 records out
20 bytes copied, 0.000637811 s, 31.4 kB/s
Existing sosfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused.
copying bpfdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb)... done.
Existing scefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused.
Existing spefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing drameccfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/badpage.bin) reused.
Existing wb0boot(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused.
Existing eksfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/cosmiac/Downloads/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.0017 ] Generating signature
[   0.0053 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0077 ] Assuming zero filled SBK key
[   0.0082 ] 
[   0.0088 ] header_magic: d00dfeed
[   0.0119 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0152 ] 
[   0.0183 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0228 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0385 ] 
[   0.0441 ] tegrasign_v2 --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0466 ] Assuming zero filled SBK key
[   0.0505 ] 
[   0.0549 ] 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.0650 ] 
[   0.0709 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/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.0017 ] Generating signature
[   0.0042 ] tegrasign_v2 --key  --getmode mode.txt
[   0.0067 ] Assuming zero filled SBK key
[   0.0073 ] 
[   0.0078 ] header_magic: d00dfeed
[   0.0109 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0138 ] 
[   0.0169 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0208 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0349 ] 
[   0.0423 ] tegrasign_v2 --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0449 ] Assuming zero filled SBK key
[   0.0469 ] 
[   0.0511 ] 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.0629 ] 
[   0.0648 ] Signed file: /home/cosmiac/Downloads/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/cosmiac/Downloads/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
done.
Making system.img... 
	populating rootfs from /home/cosmiac/Downloads/Linux_for_Tegra/rootfs ... tar: tmp/argus_socket: socket ignored
tar: tmp/.org.chromium.Chromium.kawS1C/SingletonSocket: socket ignored
tar: tmp/camsock: socket ignored
tar: tmp/.ICE-unix/8311: socket ignored
tar: tmp/.ICE-unix/7088: socket ignored
tar: tmp/nvscsock: socket ignored
tar: var/lib/nvphs/nvphsd.ctl: socket ignored
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/cosmiac/Downloads/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/cosmiac/Downloads/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
copying cfgfile(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668.xml) to flash.xml... done.
Existing flasher(/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/cosmiac/Downloads/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 "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" --skipuid  --trim_bpmp_dtb 
saving flash command in /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/flash_win.bat
*** Sign and generate flashing ready partition images... *** 
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.0330 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0363 ] Assuming zero filled SBK key
[   0.0392 ] 
[   0.0455 ] Generating RCM messages
[   0.0507 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0539 ] Header already present for mb1_t194_prod.bin
[   0.0686 ] 
[   0.0719 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0753 ] Assuming zero filled SBK key
[   0.0760 ] 
[   0.0802 ] tegrasign_v2 --key None --file mb1_t194_prod_sigheader.bin --offset 2960 --length 1136 --pubkeyhash pub_key.key
[   0.0839 ] Assuming zero filled SBK key
[   0.0858 ] 
[   0.0894 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.1041 ] 
[   0.1085 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.1150 ] 
[   0.1219 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.1285 ] RCM 0 is saved as rcm_0.rcm
[   0.1364 ] RCM 1 is saved as rcm_1.rcm
[   0.1364 ] RCM 2 is saved as rcm_2.rcm
[   0.1365 ] List of rcm files are saved in rcm_list.xml
[   0.1365 ] 
[   0.1366 ] Signing RCM messages
[   0.1395 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   0.1428 ] Assuming zero filled SBK key
[   0.1453 ] 
[   0.1454 ] Copying signature to RCM mesages
[   0.1487 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.1561 ] 
[   0.1564 ] Parsing partition layout
[   0.1607 ] tegraparser_v2 --pt flash.xml.tmp
[   0.1672 ] 
[   0.1674 ] Creating list of images to be signed
[   0.1704 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   0.1735 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.1799 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.1903 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.1957 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.2010 ] adding BCH for spe_t194.bin
[   0.2052 ] adding BCH for spe_t194.bin
[   0.2102 ] adding BCH for nvtboot_t194.bin
[   0.2239 ] adding BCH for nvtboot_t194.bin
[   0.2352 ] Header already present for preboot_c10_prod_cr.bin
[   0.2503 ] Header already present for preboot_c10_prod_cr.bin
[   0.2528 ] Header already present for mce_c10_prod_cr.bin
[   0.2613 ] Header already present for mce_c10_prod_cr.bin
[   0.2669 ] adding BCH for mts_c10_prod_cr.bin
[   0.2920 ] adding BCH for mts_c10_prod_cr.bin
[   0.5155 ] Header already present for warmboot_t194_prod.bin
[   0.7621 ] Header already present for warmboot_t194_prod.bin
[   0.7691 ] adding BCH for cboot_t194.bin
[   0.7792 ] adding BCH for cboot_t194.bin
[   0.7871 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   0.8162 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   0.8303 ] adding BCH for tos-trusty_t194.img
[   0.8452 ] adding BCH for tos-trusty_t194.img
[   0.8702 ] adding BCH for eks.img
[   0.8975 ] adding BCH for eks.img
[   0.9004 ] adding BCH for adsp-fw.bin
[   0.9013 ] adding BCH for adsp-fw.bin
[   0.9061 ] adding BCH for camera-rtcpu-rce.img
[   0.9140 ] adding BCH for camera-rtcpu-rce.img
[   0.9294 ] adding BCH for bpmp_t194.bin
[   0.9553 ] adding BCH for bpmp_t194.bin
[   1.0114 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   1.0699 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   1.0898 ] adding BCH for boot.img
[   1.1799 ] adding BCH for boot.img
[   3.8470 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   6.8123 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   6.8320 ] adding BCH for recovery.img
[   7.2979 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb.rec
[  10.3969 ] 
[  10.3971 ] Filling MB1 storage info
[  10.3973 ] Generating br-bct
[  10.4009 ] Performing cfg overlay
[  10.4012 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[  10.4024 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1.cfg
[  10.5766 ] 
[  10.5770 ] Updating dev and MSS params in BR BCT
[  10.5771 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[  10.6723 ] 
[  10.6726 ] Updating bl info
[  10.6768 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[  10.6872 ] 
[  10.6874 ] Generating signatures
[  10.6911 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[  10.6945 ] Assuming zero filled SBK key
[  11.4958 ] 
[  11.4960 ] Generating br-bct
[  11.4993 ] Performing cfg overlay
[  11.4994 ] ['/home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1.cfg']
[  11.4994 ] Updating dev and MSS params in BR BCT
[  11.4996 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[  11.6012 ] 
[  11.6014 ] Updating bl info
[  11.6052 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[  11.6189 ] 
[  11.6190 ] Updating smd info
[  11.6227 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[  11.6269 ] 
[  11.6272 ] Updating Odmdata
[  11.6320 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[  11.6368 ] 
[  11.6369 ] Get Signed section of bct
[  11.6398 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[  11.6438 ] 
[  11.6480 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[  11.6509 ] Assuming zero filled SBK key
[  11.6517 ] 
[  11.6518 ] Updating BCT with signature
[  11.6548 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[  11.6594 ] 
[  11.6596 ] Generating coldboot mb1-bct
[  11.6654 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1.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
[  11.6680 ] MB1-BCT version: 0x1

[  11.6696 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[  11.6722 ] Added Platform Config 0 data with size :- 2496

[  11.6809 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg 
[  11.6870 ] Added Platform Config 1 data with size :- 19640

[  11.7327 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[  11.7361 ] Added Platform Config 2 data with size :- 24
[  11.7362 ] 
[  11.7363 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[  11.7364 ] Added Platform Config 4 data with size :- 348
[  11.7365 ] 
[  11.7366 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[  11.7367 ] Added Platform Config 3 data with size :- 92
[  11.7368 ] 
[  11.7369 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[  11.7370 ] Added Platform Config 5 data with size :- 128
[  11.7371 ] 
[  11.7372 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[  11.7373 ] Added Platform Config 7 data with size :- 392
[  11.7374 ] 
[  11.7375 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[  11.7393 ] Added Platform Config 9 data with size :- 40
[  11.7394 ] 
[  11.7395 ] Updating mb1-bct with firmware information
[  11.7430 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[  11.7470 ] MB1-BCT version: 0x1
[  11.7480 ] 
[  11.7482 ] Updating mb1-bct with storage information
[  11.7511 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[  11.7547 ] MB1-BCT version: 0x1
[  11.7574 ] 
[  11.7627 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[  11.7658 ] 
[  11.7688 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[  11.7717 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[  11.7741 ] 
[  11.7783 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  11.7813 ] Assuming zero filled SBK key
[  11.7823 ] 
[  11.7883 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[  11.7926 ] 
[  11.7930 ] Generating recovery mb1-bct
[  11.7982 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1.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
[  11.8010 ] MB1-BCT version: 0x1

[  11.8037 ] Parsing config file :tegra19x-mb1-pinmux-p3668-a01.cfg 
[  11.8101 ] Added Platform Config 0 data with size :- 2496

[  11.8150 ] Parsing config file :tegra194-mb1-bct-scr-cbb-mini-p3668.cfg 
[  11.8261 ] Added Platform Config 1 data with size :- 19640

[  11.8610 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[  11.8626 ] Added Platform Config 2 data with size :- 24

[  11.8637 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[  11.8657 ] Added Platform Config 4 data with size :- 348
[  11.8657 ] 
[  11.8658 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[  11.8658 ] Added Platform Config 3 data with size :- 92
[  11.8658 ] 
[  11.8658 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[  11.8659 ] Added Platform Config 5 data with size :- 128
[  11.8659 ] 
[  11.8659 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[  11.8660 ] Added Platform Config 7 data with size :- 392
[  11.8660 ] 
[  11.8660 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[  11.8660 ] Added Platform Config 9 data with size :- 40
[  11.8661 ] 
[  11.8662 ] Updating mb1-bct with firmware information
[  11.8697 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[  11.8735 ] MB1-BCT version: 0x1
[  11.8761 ] 
[  11.8763 ] Updating mb1-bct with storage information
[  11.8792 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[  11.8858 ] MB1-BCT version: 0x1
[  11.8878 ] 
[  11.8907 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[  11.8936 ] 
[  11.9010 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --appendsigheader mb1_bct_MB1.bct zerosbk
[  11.9049 ] adding BCH for mb1_bct_MB1.bct
[  11.9074 ] 
[  11.9138 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  11.9179 ] Assuming zero filled SBK key
[  11.9201 ] 
[  11.9235 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[  11.9277 ] 
[  11.9280 ] Generating coldboot mem-bct
[  11.9340 ] tegrabct_v2 --chip 0x19 0 --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1.cfg --membct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_4.bct
[  11.9375 ] Packing sdram param for instance[0]
[  12.0313 ] Packing sdram param for instance[1]
[  12.0314 ] Packing sdram param for instance[2]
[  12.0314 ] Packing sdram param for instance[3]
[  12.0315 ] Packing sdram param for instance[4]
[  12.0315 ] Packing sdram param for instance[5]
[  12.0316 ] Packing sdram param for instance[6]
[  12.0316 ] Packing sdram param for instance[7]
[  12.0316 ] Packing sdram param for instance[8]
[  12.0317 ] Packing sdram param for instance[9]
[  12.0317 ] Packing sdram param for instance[10]
[  12.0317 ] Packing sdram param for instance[11]
[  12.0318 ] Packing sdram param for instance[12]
[  12.0318 ] Packing sdram param for instance[13]
[  12.0318 ] Packing sdram param for instance[14]
[  12.0318 ] Packing sdram param for instance[15]
[  12.0319 ] 
[  12.0320 ] Getting sector size from pt
[  12.0350 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[  12.0387 ] 
[  12.0391 ] BlockSize read from layout is 200

[  12.0435 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_4.bct
[  12.0478 ] adding BCH for /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_1.bct
[  12.0553 ] 
[  12.0595 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[  12.0644 ] 
[  12.0673 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_coldboot.bct zerosbk
[  12.0702 ] Header already present for mem_coldboot.bct
[  12.0715 ] 
[  12.0753 ] tegrasign_v2 --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  12.0784 ] Assuming zero filled SBK key
[  12.0802 ] 
[  12.0837 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[  12.0883 ] 
[  12.0886 ] Generating recovery mem-bct
[  12.0934 ] tegrabct_v2 --chip 0x19 0 --sdram /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1.cfg --membct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_1.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_2.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_3.bct /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/1479/tmp1cuh1qld1_4.bct
[  12.0973 ] Packing sdram param for instance[0]
[  12.1903 ] Packing sdram param for instance[1]
[  12.1905 ] Packing sdram param for instance[2]
[  12.1907 ] Packing sdram param for instance[3]
[  12.1908 ] Packing sdram param for instance[4]
[  12.1910 ] Packing sdram param for instance[5]
[  12.1912 ] Packing sdram param for instance[6]
[  12.1913 ] Packing sdram param for instance[7]
[  12.1914 ] Packing sdram param for instance[8]
[  12.1915 ] Packing sdram param for instance[9]
[  12.1916 ] Packing sdram param for instance[10]
[  12.1917 ] Packing sdram param for instance[11]
[  12.1919 ] Packing sdram param for instance[12]
[  12.1920 ] Packing sdram param for instance[13]
[  12.1922 ] Packing sdram param for instance[14]
[  12.1923 ] Packing sdram param for instance[15]
[  12.1925 ] 
[  12.1929 ] Using default ramcode 0
[  12.1931 ] Generating BPMP dtb for ramcode - 0
[  12.3587 ] Old BPMP dtb size - 223168 bytes
[  12.3588 ] New BPMP dtb size - 168338 bytes
[  12.3591 ] 
[  12.3656 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[  12.3725 ] 
[  12.3760 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --appendsigheader mem_rcm.bct zerosbk
[  12.3807 ] adding BCH for mem_rcm.bct
[  12.3851 ] 
[  12.3920 ] tegrasign_v2 --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[  12.3951 ] Assuming zero filled SBK key
[  12.3977 ] 
[  12.4016 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[  12.4072 ] 
[  12.4077 ] Copying signatures
[  12.4111 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[  18.0807 ] 
[  18.0854 ] tegraparser_v2 --generategpt --pt flash.xml.bin
[  18.0904 ] 
[  18.0987 ] tegrahost_v2 --chip 0x19 --align nvtboot_recovery_t194.bin
[  18.1023 ] 
[  18.1057 ] tegrahost_v2 --chip 0x19 0 --magicid MB2B --appendsigheader nvtboot_recovery_t194.bin zerosbk
[  18.1098 ] adding BCH for nvtboot_recovery_t194.bin
[  18.1217 ] 
[  18.1265 ] tegrasign_v2 --key None --list nvtboot_recovery_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  18.1306 ] Assuming zero filled SBK key
[  18.1319 ] 
[  18.1360 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_recovery_t194_sigheader.bin.encrypt nvtboot_recovery_t194_sigheader.bin.hash zerosbk
[  18.1453 ] 
[  18.1488 ] tegrahost_v2 --chip 0x19 --align preboot_c10_prod_cr.bin
[  18.1522 ] 
[  18.1553 ] tegrahost_v2 --chip 0x19 0 --magicid MTSP --appendsigheader preboot_c10_prod_cr.bin zerosbk
[  18.1584 ] Header already present for preboot_c10_prod_cr.bin
[  18.1612 ] 
[  18.1652 ] tegrasign_v2 --key None --list preboot_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  18.1682 ] Assuming zero filled SBK key
[  18.1694 ] 
[  18.1755 ] tegrahost_v2 --chip 0x19 0 --updatesigheader preboot_c10_prod_cr_sigheader.bin.encrypt preboot_c10_prod_cr_sigheader.bin.hash zerosbk
[  18.1807 ] 
[  18.1837 ] tegrahost_v2 --chip 0x19 --align mce_c10_prod_cr.bin
[  18.1871 ] 
[  18.1907 ] tegrahost_v2 --chip 0x19 0 --magicid MTSM --appendsigheader mce_c10_prod_cr.bin zerosbk
[  18.1938 ] Header already present for mce_c10_prod_cr.bin
[  18.1997 ] 
[  18.2058 ] tegrasign_v2 --key None --list mce_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  18.2090 ] Assuming zero filled SBK key
[  18.2117 ] 
[  18.2156 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mce_c10_prod_cr_sigheader.bin.encrypt mce_c10_prod_cr_sigheader.bin.hash zerosbk
[  18.2249 ] 
[  18.2283 ] tegrahost_v2 --chip 0x19 --align mts_c10_prod_cr.bin
[  18.2318 ] 
[  18.2378 ] tegrahost_v2 --chip 0x19 0 --magicid MTSB --appendsigheader mts_c10_prod_cr.bin zerosbk
[  18.2409 ] adding BCH for mts_c10_prod_cr.bin
[  18.4650 ] 
[  18.4688 ] tegrasign_v2 --key None --list mts_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  18.4717 ] Assuming zero filled SBK key
[  18.4908 ] 
[  18.4959 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mts_c10_prod_cr_sigheader.bin.encrypt mts_c10_prod_cr_sigheader.bin.hash zerosbk
[  18.6187 ] 
[  18.6233 ] tegrahost_v2 --chip 0x19 --align bpmp_t194.bin
[  18.6280 ] 
[  18.6337 ] tegrahost_v2 --chip 0x19 0 --magicid BPMF --appendsigheader bpmp_t194.bin zerosbk
[  18.6370 ] adding BCH for bpmp_t194.bin
[  18.6961 ] 
[  18.7013 ] tegrasign_v2 --key None --list bpmp_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  18.7054 ] Assuming zero filled SBK key
[  18.7141 ] 
[  18.7179 ] tegrahost_v2 --chip 0x19 0 --updatesigheader bpmp_t194_sigheader.bin.encrypt bpmp_t194_sigheader.bin.hash zerosbk
[  18.7536 ] 
[  18.7588 ] tegrahost_v2 --chip 0x19 --align tegra194-a02-bpmp-p3668-a00.dtb
[  18.7624 ] 
[  18.7655 ] tegrahost_v2 --chip 0x19 0 --magicid BPMD --appendsigheader tegra194-a02-bpmp-p3668-a00.dtb zerosbk
[  18.7684 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[  18.7815 ] 
[  18.7874 ] tegrasign_v2 --key None --list tegra194-a02-bpmp-p3668-a00_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[  18.7912 ] Assuming zero filled SBK key
[  18.7951 ] 
[  18.7987 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt tegra194-a02-bpmp-p3668-a00_sigheader.dtb.hash zerosbk
[  18.8085 ] 
[  18.8119 ] tegrahost_v2 --chip 0x19 --align spe_t194.bin
[  18.8152 ] 
[  18.8213 ] tegrahost_v2 --chip 0x19 0 --magicid SPEF --appendsigheader spe_t194.bin zerosbk
[  18.8241 ] adding BCH for spe_t194.bin
[  18.8325 ] 
[  18.8362 ] tegrasign_v2 --key None --list spe_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  18.8389 ] Assuming zero filled SBK key
[  18.8417 ] 
[  18.8455 ] tegrahost_v2 --chip 0x19 0 --updatesigheader spe_t194_sigheader.bin.encrypt spe_t194_sigheader.bin.hash zerosbk
[  18.8542 ] 
[  18.8575 ] tegrahost_v2 --chip 0x19 --align tos-trusty_t194.img
[  18.8620 ] 
[  18.8653 ] tegrahost_v2 --chip 0x19 0 --magicid TOSB --appendsigheader tos-trusty_t194.img zerosbk
[  18.8682 ] adding BCH for tos-trusty_t194.img
[  18.8976 ] 
[  18.9021 ] tegrasign_v2 --key None --list tos-trusty_t194_sigheader.img_list.xml --pubkeyhash pub_key.key
[  18.9050 ] Assuming zero filled SBK key
[  18.9081 ] 
[  18.9145 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tos-trusty_t194_sigheader.img.encrypt tos-trusty_t194_sigheader.img.hash zerosbk
[  18.9327 ] 
[  18.9360 ] tegrahost_v2 --chip 0x19 --align eks.img
[  18.9390 ] 
[  18.9446 ] tegrahost_v2 --chip 0x19 0 --magicid EKSB --appendsigheader eks.img zerosbk
[  18.9483 ] adding BCH for eks.img
[  18.9491 ] 
[  18.9530 ] tegrasign_v2 --key None --list eks_sigheader.img_list.xml --pubkeyhash pub_key.key
[  18.9560 ] Assuming zero filled SBK key
[  18.9573 ] 
[  18.9619 ] tegrahost_v2 --chip 0x19 0 --updatesigheader eks_sigheader.img.encrypt eks_sigheader.img.hash zerosbk
[  18.9654 ] 
[  18.9685 ] tegrahost_v2 --chip 0x19 --align tegra194-p3668-all-p3509-0000.dtb
[  18.9715 ] 
[  18.9776 ] tegrahost_v2 --chip 0x19 0 --magicid CDTB --appendsigheader tegra194-p3668-all-p3509-0000.dtb zerosbk
[  18.9807 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[  18.9956 ] 
[  18.9995 ] tegrasign_v2 --key None --list tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[  19.0026 ] Assuming zero filled SBK key
[  19.0065 ] 
[  19.0120 ] tegrahost_v2 --chip 0x19 0 --updatesigheader tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk
[  19.0240 ] 
[  19.0273 ] tegrahost_v2 --chip 0x19 --align nvtboot_recovery_cpu_t194.bin
[  19.0306 ] 
[  19.0340 ] tegrahost_v2 --chip 0x19 0 --magicid CPBL --appendsigheader nvtboot_recovery_cpu_t194.bin zerosbk
[  19.0416 ] adding BCH for nvtboot_recovery_cpu_t194.bin
[  19.0592 ] 
[  19.0629 ] tegrasign_v2 --key None --list nvtboot_recovery_cpu_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  19.0657 ] Assuming zero filled SBK key
[  19.0701 ] 
[  19.0755 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_recovery_cpu_t194_sigheader.bin.encrypt nvtboot_recovery_cpu_t194_sigheader.bin.hash zerosbk
[  19.0924 ] 
[  19.0927 ] Copying signed file in /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed
[  19.8631 ] tegraparser_v2 --pt flash.xml.bin --generateflashindex /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed/flash.xml.tmp flash.idx
[  22.7086 ] 
~/Downloads/Linux_for_Tegra/tools
jetson-disk-image-creator.sh - creating MLTosImg.img of 483M...
0+0 records in
0+0 records out
0 bytes copied, 0.00127745 s, 0.0 kB/s
jetson-disk-image-creator.sh - create partitions
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 1
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 2
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 3
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 4
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 5
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 6
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 7
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 8
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 9
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 10
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Setting name!
partNum is 0
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
jetson-disk-image-creator.sh - write partitions
jetson-disk-image-creator.sh - writing /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed/boot_sigheader.img.encrypt
81220+0 records in
81220+0 records out
41584640 bytes (42 MB, 40 MiB) copied, 1.91492 s, 21.7 MB/s
jetson-disk-image-creator.sh - writing /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed/boot_sigheader.img.encrypt
81220+0 records in
81220+0 records out
41584640 bytes (42 MB, 40 MiB) copied, 1.86069 s, 22.3 MB/s
jetson-disk-image-creator.sh - writing /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
398+1 records in
398+1 records out
203920 bytes (204 kB, 199 KiB) copied, 0.0292258 s, 7.0 MB/s
jetson-disk-image-creator.sh - writing /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
398+1 records in
398+1 records out
203920 bytes (204 kB, 199 KiB) copied, 0.0297208 s, 6.9 MB/s
jetson-disk-image-creator.sh - writing /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed/recovery_sigheader.img.encrypt
96236+0 records in
96236+0 records out
49272832 bytes (49 MB, 47 MiB) copied, 2.19246 s, 22.5 MB/s
jetson-disk-image-creator.sh - writing /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/signed/tegra194-p3668-all-p3509-0000.dtb_sigheader.rec.encrypt
398+1 records in
398+1 records out
203920 bytes (204 kB, 199 KiB) copied, 0.0196171 s, 10.4 MB/s
jetson-disk-image-creator.sh - writing /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/kernel_bootctrl.bin
0+1 records in
0+1 records out
20 bytes copied, 0.012809 s, 1.6 kB/s
jetson-disk-image-creator.sh - writing /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/kernel_bootctrl.bin
0+1 records in
0+1 records out
20 bytes copied, 0.00779644 s, 2.6 kB/s
1+0 records in
1+0 records out
512 bytes copied, 0.000778387 s, 658 kB/s
jetson-disk-image-creator.sh - writing /home/cosmiac/Downloads/Linux_for_Tegra/bootloader/system.img.raw
dd: writing to '/dev/loop17p1': No space left on device
104312+0 records in
104311+0 records out
53407232 bytes (53 MB, 51 MiB) copied, 2.432 s, 22.0 MB/s

Does it mean is not finidng enough space in my host or in the SD Card or rootfs dir? I checked on my host and /dev/loop17p1 does not exist.
Thank you!

You are doing it over the host, so it is not possible due to the sdcard. It is just telling you the disk space is not enough. What is the number you write into xml file?

system.img.raw is the raw file that would be written to the sdcard. It is very likely that your disk space is not enough for it.