$ sudo ./flash.sh -k EBT -L ~/NetBSD-u-boot/u-boot-dtb.bin jetson-tx1 mmcblk0p1|& tee flash.sh_NetBSD-uboot-dtb.bin.EBTwithR23.2.20180617.txt Warning: missing eksfile (bootloader/eks.img), continue... Warning: missing fbfile (bootloader/reserved_fb.xml), continue... copying bctfile(/home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/BCT/P2180_A00_LP4_DSC_204Mhz.cfg)... done. populating kernel to rootfs... done. populating initrd to rootfs... done. populating extlinux.conf.emmc to rootfs... done. populating /home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb to rootfs... done. done. copying bcffile(/home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/cfg/board_config_p2597-devkit.xml)... done. Existing sosfile(/home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/nvtboot.bin)... done. Existing bpffile(/home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/bpmp.bin) reused. copying wb0boot(/home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/tos.img) reused. copying dtbfile(/home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)... done. Existing tbcfile(/home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/nvtboot_cpu.bin) reused. copying cfgfile(/home/mutoh/jetpack/TX1/Linux_for_Tegra_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 [ FX] UV 29421568 29425663 2.0MiB [ SOS] UV 29425664 29466623 20.0MiB [ EXI] UV 29466624 29597695 64.0MiB [ LNX] UV 29597696 29728767 64.0MiB [ 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/TX1/Linux_for_Tegra_tx1/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/tegraflash.py) reused. *** Updating 8: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 --cmd "sign; write EBT ./signed/u-boot-dtb.bin.encrypt; reboot" 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.0023 ] Generating RCM messages [ 0.0088 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0 [ 0.0151 ] RCM 0 is saved as rcm_0.rcm [ 0.0165 ] RCM 1 is saved as rcm_1.rcm [ 0.0213 ] List of rcm files are saved in rcm_list.xml [ 0.0408 ] [ 0.0408 ] Signing RCM messages [ 0.0424 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.hash [ 0.0492 ] Assuming zero filled SBK key [ 0.0817 ] [ 0.0818 ] Copying signature to RCM mesages [ 0.0864 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml [ 0.1121 ] [ 0.1121 ] Parsing partition layout [ 0.1142 ] tegraparser --pt flash.xml [ 0.1331 ] [ 0.1331 ] Creating list of images to be signed [ 0.1346 ] tegrahost --chip 0x21 --partitionlayout flash.bin --list images_list.xml [ 0.1514 ] [ 0.1514 ] Generating signatures [ 0.1579 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.hash [ 0.1631 ] Assuming zero filled SBK key [ 0.2353 ] [ 0.2353 ] Parsing BCT [ 0.2395 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21 [ 0.2412 ] Copying Sdram info from 0 to 1 set [ 0.2463 ] Copying Sdram info from 1 to 2 set [ 0.2490 ] Copying Sdram info from 2 to 3 set [ 0.2608 ] [ 0.2609 ] Updating boot device parameters [ 0.2682 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.bin [ 0.2699 ] Warning: No sdram params [ 0.2936 ] [ 0.2936 ] Updating bl info [ 0.2952 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.bin --updatesig images_list_signed.xml [ 0.3126 ] [ 0.3126 ] Updating secondary storage information into bct [ 0.3144 ] tegraparser --pt flash.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct [ 0.3306 ] [ 0.3306 ] Get Signed section bct [ 0.3321 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml [ 0.3485 ] [ 0.3486 ] Signing BCT [ 0.3504 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.hash [ 0.3557 ] Assuming zero filled SBK key [ 0.3729 ] [ 0.3730 ] Updating BCT with signature [ 0.3816 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml [ 0.4036 ] [ 0.4037 ] Copying signatures [ 0.4050 ] tegrahost --chip 0x21 --partitionlayout flash.bin --updatesig images_list_signed.xml [ 0.4064 ] Run tegrabct to update tboot signature in bct [ 0.4286 ] [ 0.4287 ] Copying signed file in /home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/signed [ 0.4504 ] Generating RCM messages [ 0.4517 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0 [ 0.4533 ] RCM 0 is saved as rcm_0.rcm [ 0.4575 ] RCM 1 is saved as rcm_1.rcm [ 0.4609 ] List of rcm files are saved in rcm_list.xml [ 0.4730 ] [ 0.4730 ] Signing RCM messages [ 0.4805 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.hash [ 0.4822 ] Assuming zero filled SBK key [ 0.5199 ] [ 0.5199 ] Copying signature to RCM mesages [ 0.5214 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml [ 0.5460 ] [ 0.5460 ] Boot Rom communication [ 0.5478 ] tegrarcm --rcm rcm_list_signed.xml [ 0.5495 ] BR_CID: 0x32101001641057800000000012068100 [ 0.5816 ] RCM version 0X210001 [ 0.5863 ] Boot Rom communication completed [ 1.7045 ] [ 1.7046 ] Sending bootloader and pre-requisite binaries [ 1.7061 ] tegrarcm --download rp1 tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb 0 --download ebt cboot.bin 0 0 [ 1.7079 ] Applet version 00.01.0000 [ 1.7878 ] Sending rp1 [ 1.7882 ] [................................................] 100% [ 2.2781 ] Sending ebt [ 2.3104 ] [................................................] 100% [ 2.6796 ] [ 2.6841 ] tegrarcm --boot recovery [ 2.6862 ] Applet version 00.01.0000 [ 2.8364 ] [ 2.8365 ] Writing partition [ 2.8443 ] tegradevflash --write EBT /home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/signed/u-boot-dtb.bin.encrypt [ 2.8460 ] Cboot version 00.01.0000 [ 3.5949 ] Writing partition EBT with /home/mutoh/jetpack/TX1/Linux_for_Tegra_tx1/bootloader/signed/u-boot-dtb.bin.encrypt [ 3.5992 ] [................................................] 100% [ 4.0642 ] [ 4.0643 ] Coldbooting the device [ 4.0659 ] tegradevflash --reboot coldboot [ 4.0675 ] Cboot version 00.01.0000 [ 4.1848 ] *** The 8:EBT has been updated successfully. ***