$ sudo ./flash.sh -k LNX -L ~/u-boot-dtb.bin jetson-tx1 mmcblk0p1 copying bctfile(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/t210ref/BCT/P2180_A00_LP4_DSC_204Mhz.cfg)... done. copying bootloader(/home/mutoh/u-boot-dtb.bin)... done. populating kernel to rootfs... done. populating initrd to rootfs... done. populating extlinux.conf.emmc to rootfs... done. populating /home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb to rootfs... done. done. Making Boot image... done. copying bcffile(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/t210ref/cfg/board_config_p2597-devkit.xml)... done. Existing sosfile(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/t210ref/nvtboot.bin)... done. Existing bpffile(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/bpmp.bin) reused. copying wb0boot(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/tos.img) reused. Existing eksfile(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/eks.img) reused. copying dtbfile(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)... done. Existing tbcfile(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)... done. copying cfgfile(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/t210ref/cfg/gnu_linux_tegraboot_emmc_full.xml) to flash.xml... done. creating gpt(ppt.img)... *** GPT Parameters *** device size -------------- 31276924928 bootpart size ------------ 8388608 userpart size ------------ 31268536320 Erase Block Size --------- 2097152 sector size -------------- 4096 Partition Config file ---- flash.xml Visible partition flag --- GP1 Primary GPT output ------- PPT->ppt.img Secondary GPT output ----- GPT->gpt.img Target device name ------- none *** PARTITION LAYOUT(23 partitions) *** [ BCT] BH 0 8191 4.0MiB [ NVC] BH 8192 16383 4.0MiB nvtboot.bin [ PPT] UH 0 4095 2.0MiB [ GP1] UH 4096 8191 2.0MiB [ APP] UH 8192 29368319 14336.0MiB system.img [ TBC] UV 29368320 29372415 2.0MiB nvtboot_cpu.bin [ EBT] UV 29372416 29380607 4.0MiB u-boot-dtb.bin [ BPF] UV 29380608 29384703 2.0MiB bpmp.bin [ WB0] UV 29384704 29396991 6.0MiB warmboot.bin [ RP1] UV 29396992 29405183 4.0MiB tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb [ TOS] UV 29405184 29417471 6.0MiB tos.img [ EKS] UV 29417472 29421567 2.0MiB eks.img [ FX] UV 29421568 29425663 2.0MiB [ SOS] UV 29425664 29466623 20.0MiB [ EXI] UV 29466624 29597695 64.0MiB [ LNX] UV 29597696 29728767 64.0MiB boot.img [ DTB] UV 29728768 29736959 4.0MiB tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb [ NXT] UV 29736960 29741055 2.0MiB [ MXB] UV 29741056 29753343 6.0MiB [ MXP] UV 29753344 29765631 6.0MiB [ USP] UV 29765632 29769727 2.0MiB [ UDA] UV 29769728 61067263 15282.0MiB [ GPT] UH 61067264 61071359 2.0MiB copying flasher(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/tegraflash.py) reused. *** Updating :LNX with boot.img *** ./flash.sh: line 1617: [: -eq: unary operator expected ./tegraflash.py --bl cboot.bin --bldtb tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb --chip 0x21 --applet nvtboot_recovery.bin --bct P2180_A00_LP4_DSC_204Mhz.cfg --cfg flash.xml --cmd "write DTB tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb; write LNX 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.0195 ] Generating RCM messages [ 0.0230 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0 [ 0.0276 ] RCM 0 is saved as rcm_0.rcm [ 0.0286 ] RCM 1 is saved as rcm_1.rcm [ 0.0425 ] List of rcm files are saved in rcm_list.xml [ 0.0482 ] [ 0.0482 ] Signing RCM messages [ 0.0565 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0579 ] Assuming zero filled SBK key [ 0.0855 ] [ 0.0856 ] Copying signature to RCM mesages [ 0.0934 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml [ 0.1096 ] [ 0.1097 ] Boot Rom communication [ 0.1111 ] tegrarcm --chip 0x21 --rcm rcm_list_signed.xml [ 0.1126 ] BR_CID: 0x32101001641057800000000012068100 [ 0.1405 ] RCM version 0X210001 [ 0.1453 ] Boot Rom communication completed [ 1.1960 ] [ 1.1960 ] Parsing partition layout [ 1.1975 ] tegraparser --pt flash.xml.tmp [ 1.2058 ] [ 1.2059 ] Creating list of images to be signed [ 1.2079 ] tegrahost --chip 0x21 --partitionlayout flash.xml.bin --list images_list.xml [ 1.2185 ] [ 1.2185 ] Generating signatures [ 1.2199 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 1.2211 ] Assuming zero filled SBK key [ 1.2960 ] [ 1.2960 ] Send BCT from Host [ 1.2960 ] Generating br-bct [ 1.2975 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21 [ 1.3060 ] Copying Sdram info from 1 to 2 set [ 1.3126 ] Copying Sdram info from 2 to 3 set [ 1.3282 ] [ 1.3282 ] Updating boot device parameters [ 1.3297 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.xml.bin [ 1.3313 ] Warning: No sdram params [ 1.3558 ] [ 1.3559 ] Updating bl info [ 1.3572 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 1.3751 ] [ 1.3752 ] Updating secondary storage information into bct [ 1.3825 ] tegraparser --pt flash.xml.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct [ 1.4011 ] [ 1.4011 ] Get Signed section bct [ 1.4026 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml [ 1.4280 ] [ 1.4280 ] Signing BCT [ 1.4341 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 1.4357 ] Assuming zero filled SBK key [ 1.4583 ] [ 1.4583 ] Updating BCT with signature [ 1.4599 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml [ 1.4782 ] [ 1.4783 ] Sending BCTs [ 1.4799 ] tegrarcm --download bct P2180_A00_LP4_DSC_204Mhz.bct [ 1.4864 ] Applet version 00.01.0000 [ 1.5644 ] Sending bct [ 1.5647 ] [................................................] 100% [ 1.7611 ] [ 1.7611 ] Sending bootloader and pre-requisite binaries [ 1.7625 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb 0 [ 1.7641 ] Applet version 00.01.0000 [ 1.8430 ] Sending ebt [ 1.8437 ] [................................................] 100% [ 2.0568 ] Sending rp1 [ 2.0874 ] [................................................] 100% [ 2.3296 ] [ 2.3310 ] tegrarcm --boot recovery [ 2.3392 ] Applet version 00.01.0000 [ 2.4870 ] [ 2.4871 ] Writing partition [ 2.4884 ] tegradevflash --write DTB /home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb [ 2.4900 ] Cboot version 00.01.0000 [ 3.1571 ] Writing partition DTB with /home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb [ 3.1607 ] [................................................] 100% [ 3.3372 ] [ 3.3374 ] Generating RCM messages [ 3.3390 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0 [ 3.3420 ] RCM 0 is saved as rcm_0.rcm [ 3.3492 ] RCM 1 is saved as rcm_1.rcm [ 3.3510 ] List of rcm files are saved in rcm_list.xml [ 3.3655 ] [ 3.3655 ] Signing RCM messages [ 3.3684 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 3.3703 ] Assuming zero filled SBK key [ 3.3951 ] [ 3.3951 ] Copying signature to RCM mesages [ 3.3984 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml [ 3.4283 ] [ 3.4284 ] Boot Rom communication [ 3.4299 ] tegrarcm --chip 0x21 --rcm rcm_list_signed.xml [ 3.4314 ] BootRom is not running [ 3.4872 ] [ 3.4873 ] Parsing partition layout [ 3.4949 ] tegraparser --pt flash.xml.tmp [ 3.5128 ] [ 3.5129 ] Creating list of images to be signed [ 3.5141 ] tegrahost --chip 0x21 --partitionlayout flash.xml.bin --list images_list.xml [ 3.5454 ] [ 3.5455 ] Generating signatures [ 3.5471 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 3.5511 ] Assuming zero filled SBK key [ 3.6239 ] [ 3.6239 ] Send BCT from Host [ 3.6240 ] Generating br-bct [ 3.6302 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21 [ 3.6316 ] Copying Sdram info from 1 to 2 set [ 3.6343 ] Copying Sdram info from 2 to 3 set [ 3.6586 ] [ 3.6587 ] Updating boot device parameters [ 3.6600 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.xml.bin [ 3.6613 ] Warning: No sdram params [ 3.6754 ] [ 3.6754 ] Updating bl info [ 3.6835 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 3.7049 ] [ 3.7050 ] Updating secondary storage information into bct [ 3.7064 ] tegraparser --pt flash.xml.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct [ 3.7230 ] [ 3.7231 ] Get Signed section bct [ 3.7245 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml [ 3.7435 ] [ 3.7436 ] Signing BCT [ 3.7489 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 3.7568 ] Assuming zero filled SBK key [ 3.7878 ] [ 3.7878 ] Updating BCT with signature [ 3.7892 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml