$ sudo ./flash.sh -k EBT -L ~/NetBSD-u-boot/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/NetBSD-u-boot/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 :EBT with u-boot-dtb.bin *** ./tegraflash.py --bl cboot.bin --bldtb tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb --chip 0x21 --applet nvtboot_recovery.bin --cfg flash.xml --bct P2180_A00_LP4_DSC_204Mhz.cfg --bct P2180_A00_LP4_DSC_204Mhz.cfg --cfg flash.xml --cmd "sign; write EBT ./signed/u-boot-dtb.bin.encrypt;" 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.0254 ] Generating RCM messages [ 0.0361 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0 [ 0.0388 ] RCM 0 is saved as rcm_0.rcm [ 0.0398 ] RCM 1 is saved as rcm_1.rcm [ 0.0458 ] List of rcm files are saved in rcm_list.xml [ 0.0506 ] [ 0.0507 ] Signing RCM messages [ 0.0712 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0801 ] Assuming zero filled SBK key [ 0.1176 ] [ 0.1176 ] Copying signature to RCM mesages [ 0.1199 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml [ 0.1424 ] [ 0.1424 ] Parsing partition layout [ 0.1495 ] tegraparser --pt flash.xml.tmp [ 0.1776 ] [ 0.1777 ] Creating list of images to be signed [ 0.1852 ] tegrahost --chip 0x21 --partitionlayout flash.xml.bin --list images_list.xml [ 0.2118 ] [ 0.2118 ] Generating signatures [ 0.2134 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.2222 ] Assuming zero filled SBK key [ 0.2951 ] [ 0.2952 ] Generating br-bct [ 0.3115 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21 [ 0.3129 ] Copying Sdram info from 1 to 2 set [ 0.3249 ] Copying Sdram info from 2 to 3 set [ 0.3387 ] [ 0.3388 ] Updating boot device parameters [ 0.3405 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.xml.bin [ 0.3453 ] Warning: No sdram params [ 0.3609 ] [ 0.3609 ] Updating bl info [ 0.3681 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.3868 ] [ 0.3869 ] Updating secondary storage information into bct [ 0.3955 ] tegraparser --pt flash.xml.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct [ 0.4220 ] [ 0.4221 ] Get Signed section bct [ 0.4272 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml [ 0.4410 ] [ 0.4410 ] Signing BCT [ 0.4538 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.4634 ] Assuming zero filled SBK key [ 0.4792 ] [ 0.4793 ] Updating BCT with signature [ 0.4811 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml [ 0.5027 ] [ 0.5027 ] Copying signatures [ 0.5050 ] tegrahost --chip 0x21 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 0.5096 ] Run tegrabct to update tboot signature in bct [ 0.5463 ] [ 0.5464 ] Copying signed file in /home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/signed [ 0.7190 ] Generating RCM messages [ 0.7215 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0 [ 0.7242 ] RCM 0 is saved as rcm_0.rcm [ 0.7255 ] RCM 1 is saved as rcm_1.rcm [ 0.7307 ] List of rcm files are saved in rcm_list.xml [ 0.7369 ] [ 0.7370 ] Signing RCM messages [ 0.7392 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.7413 ] Assuming zero filled SBK key [ 0.7593 ] [ 0.7594 ] Copying signature to RCM mesages [ 0.7690 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml [ 0.7942 ] [ 0.7943 ] Boot Rom communication [ 0.7996 ] tegrarcm --chip 0x21 --rcm rcm_list_signed.xml [ 0.8014 ] BR_CID: 0x32101001641057800000000012068100 [ 0.8122 ] RCM version 0X210001 [ 0.8178 ] Boot Rom communication completed [ 1.8672 ] [ 1.8673 ] Parsing partition layout [ 1.8689 ] tegraparser --pt flash.xml.tmp [ 1.8826 ] [ 1.8827 ] Creating list of images to be signed [ 1.8843 ] tegrahost --chip 0x21 --partitionlayout flash.xml.bin --list images_list.xml [ 1.9111 ] [ 1.9112 ] Generating signatures [ 1.9136 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 1.9157 ] Assuming zero filled SBK key [ 2.0028 ] [ 2.0028 ] Send BCT from Host [ 2.0029 ] Generating br-bct [ 2.0046 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21 [ 2.0067 ] Copying Sdram info from 1 to 2 set [ 2.0141 ] Copying Sdram info from 2 to 3 set [ 2.0420 ] [ 2.0421 ] Updating boot device parameters [ 2.0503 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.xml.bin [ 2.0587 ] Warning: No sdram params [ 2.0748 ] [ 2.0748 ] Updating bl info [ 2.0822 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 2.1067 ] [ 2.1068 ] Updating secondary storage information into bct [ 2.1087 ] tegraparser --pt flash.xml.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct [ 2.1300 ] [ 2.1300 ] Get Signed section bct [ 2.1363 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml [ 2.1690 ] [ 2.1691 ] Signing BCT [ 2.1726 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 2.1792 ] Assuming zero filled SBK key [ 2.1948 ] [ 2.1949 ] Updating BCT with signature [ 2.1965 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml [ 2.2186 ] [ 2.2188 ] Sending BCTs [ 2.2205 ] tegrarcm --download bct P2180_A00_LP4_DSC_204Mhz.bct [ 2.2288 ] Applet version 00.01.0000 [ 2.3071 ] Sending bct [ 2.3074 ] [................................................] 100% [ 2.5066 ] [ 2.5067 ] Sending bootloader and pre-requisite binaries [ 2.5084 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb 0 [ 2.5111 ] Applet version 00.01.0000 [ 2.5881 ] Sending ebt [ 2.5921 ] [................................................] 100% [ 2.8035 ] Sending rp1 [ 2.8334 ] [................................................] 100% [ 3.0877 ] [ 3.0990 ] tegrarcm --boot recovery [ 3.1039 ] Applet version 00.01.0000 [ 3.2488 ] [ 3.2488 ] Writing partition [ 3.2550 ] tegradevflash --write EBT /home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/signed/u-boot-dtb.bin.encrypt [ 3.2570 ] Cboot version 00.01.0000 [ 3.9314 ] Writing partition EBT with /home/mutoh/jetpack/64_TX1/Linux_for_Tegra_64_tx1/bootloader/signed/u-boot-dtb.bin.encrypt [ 3.9376 ] [................................................] 100% [ 4.1586 ] *** The :EBT has been updated successfully. ***