sudo ./flash.sh -k DTB jetson-nano-emmc mmcblk0p1 [sudo] password for timon: ############################################################################### # L4T BSP Information: # R32 , REVISION: 2.3 ############################################################################### # Target Board Information: # Name: jetson-nano-emmc, Board Family: t210ref, SoC: Tegra 210, # OpMode: production, Boot Authentication: , ############################################################################### ./tegraflash.py --chip 0x21 --applet "/home/timon/Linux_for_Tegra/bootloader/nvtboot_recovery.bin" --skipuid --cmd "dump eeprom boardinfo cvm.bin" 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.0032 ] Generating RCM messages [ 0.0087 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm /home/timon/Linux_for_Tegra/bootloader/nvtboot_recovery.bin 0 0 [ 0.0102 ] RCM 0 is saved as rcm_0.rcm [ 0.0112 ] RCM 1 is saved as rcm_1.rcm [ 0.0112 ] List of rcm files are saved in rcm_list.xml [ 0.0112 ] [ 0.0112 ] Signing RCM messages [ 0.0126 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0139 ] Assuming zero filled SBK key [ 0.0235 ] [ 0.0236 ] Copying signature to RCM mesages [ 0.0252 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0274 ] [ 0.0274 ] Boot Rom communication [ 0.0289 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml --skipuid [ 0.0302 ] RCM version 0X210001 [ 0.0731 ] Boot Rom communication completed [ 1.0804 ] [ 1.0805 ] dump EEPROM info [ 1.0824 ] tegrarcm --oem platformdetails eeprom /home/timon/Linux_for_Tegra/bootloader/cvm.bin [ 1.0841 ] Applet version 00.01.0000 [ 1.0858 ] Saved platform info in /home/timon/Linux_for_Tegra/bootloader/cvm.bin [ 1.1634 ] Board ID(3448) version(400) copying bctfile(/home/timon/Linux_for_Tegra/bootloader/t210ref/BCT/P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg)... done. copying bootloader(/home/timon/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying initrd(/home/timon/Linux_for_Tegra/bootloader/l4t_initrd.img)... done. populating kernel to rootfs... done. populating initrd to rootfs... done. populating /home/timon/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb to rootfs... done. Making Boot image... done. Existing sosfile(/home/timon/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused. copying tegraboot(/home/timon/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done. copying cpu_bootloader(/home/timon/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. copying bpffile(/home/timon/Linux_for_Tegra/bootloader/t210ref/sc7entry-firmware.bin)... done. Existing badpagefile(/home/timon/Linux_for_Tegra/bootloader/badpage.bin) reused. copying wb0boot(/home/timon/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done. Existing tosfile(/home/timon/Linux_for_Tegra/bootloader/tos-mon-only.img) reused. Existing eksfile(/home/timon/Linux_for_Tegra/bootloader/eks.img) reused. copying dtbfile(/home/timon/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done. Copying nv_boot_control.conf to rootfs Existing tbcfile(/home/timon/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused. copying tbcdtbfile(/home/timon/Linux_for_Tegra/kernel/dtb/tegra210-p3448-0002-p3449-0000-b00.dtb)... done. copying cfgfile(/home/timon/Linux_for_Tegra/bootloader/t210ref/cfg/flash_l4t_t210_emmc_p3448.xml) to flash.xml... done. copying flasher(/home/timon/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done. Existing flashapp(/home/timon/Linux_for_Tegra/bootloader/tegraflash.py) reused. *** Updating [DTB] with tegra210-p3448-0002-p3449-0000-b00.dtb *** ./tegraflash.py --bl cboot.bin --bldtb tegra210-p3448-0002-p3449-0000-b00.dtb --chip 0x21 --applet nvtboot_recovery.bin --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --cfg flash.xml --cmd "sign; write DTB ./signed/tegra210-p3448-0002-p3449-0000-b00.dtb.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.0141 ] tegrasign --key None --getmode mode.txt [ 0.0157 ] Assuming zero filled SBK key [ 0.0160 ] [ 0.0161 ] Generating RCM messages [ 0.0199 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.0227 ] RCM 0 is saved as rcm_0.rcm [ 0.0228 ] RCM 1 is saved as rcm_1.rcm [ 0.0228 ] List of rcm files are saved in rcm_list.xml [ 0.0228 ] [ 0.0228 ] Signing RCM messages [ 0.0245 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.0260 ] Assuming zero filled SBK key [ 0.0367 ] [ 0.0367 ] Copying signature to RCM mesages [ 0.0389 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.0414 ] [ 0.0415 ] Parsing partition layout [ 0.0434 ] tegraparser --pt flash.xml.tmp [ 0.0456 ] [ 0.0457 ] Creating list of images to be signed [ 0.0509 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 0.0577 ] [ 0.0577 ] Generating signatures [ 0.0616 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.0729 ] Assuming zero filled SBK key [ 0.1756 ] [ 0.1756 ] Generating br-bct [ 0.1777 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 0.1817 ] Copying Sdram info from 0 to 1 set [ 0.1818 ] Copying Sdram info from 1 to 2 set [ 0.1818 ] Copying Sdram info from 2 to 3 set [ 0.1818 ] [ 0.1819 ] Updating boot device parameters [ 0.1838 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 0.1858 ] Warning: No sdram params [ 0.1858 ] [ 0.1858 ] Updating bl info [ 0.1877 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.1905 ] [ 0.1905 ] Updating secondary storage information into bct [ 0.1925 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 0.1944 ] [ 0.1945 ] Get Signed section of bct [ 0.1961 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 0.1987 ] [ 0.1988 ] Signing BCT [ 0.2019 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.2035 ] Assuming zero filled SBK key [ 0.2043 ] [ 0.2043 ] Updating BCT with signature [ 0.2063 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 0.2084 ] [ 0.2085 ] Copying signatures [ 0.2101 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml [ 0.2178 ] [ 0.2180 ] Copying signed file in /home/timon/Linux_for_Tegra/bootloader/signed [ 0.2332 ] Generating RCM messages [ 0.2414 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 0 --download rcm nvtboot_recovery.bin 0 0 [ 0.2431 ] RCM 0 is saved as rcm_0.rcm [ 0.2442 ] RCM 1 is saved as rcm_1.rcm [ 0.2449 ] List of rcm files are saved in rcm_list.xml [ 0.2449 ] [ 0.2450 ] Signing RCM messages [ 0.2469 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key [ 0.2491 ] Assuming zero filled SBK key [ 0.2598 ] [ 0.2598 ] Copying signature to RCM mesages [ 0.2643 ] tegrarcm --chip 0x21 0 --updatesig rcm_list_signed.xml [ 0.2680 ] [ 0.2681 ] Boot Rom communication [ 0.2700 ] tegrarcm --chip 0x21 0 --rcm rcm_list_signed.xml [ 0.2716 ] BootRom is not running [ 0.3159 ] [ 0.3159 ] Parsing partition layout [ 0.3177 ] tegraparser --pt flash.xml.tmp [ 0.3200 ] [ 0.3201 ] Creating list of images to be signed [ 0.3218 ] tegrahost --chip 0x21 0 --partitionlayout flash.xml.bin --list images_list.xml [ 0.3281 ] [ 0.3282 ] Generating signatures [ 0.3300 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key [ 0.3425 ] Assuming zero filled SBK key [ 0.4437 ] [ 0.4438 ] Send BCT from Host [ 0.4439 ] Generating br-bct [ 0.4465 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.cfg --chip 0x21 0 [ 0.4505 ] Copying Sdram info from 0 to 1 set [ 0.4506 ] Copying Sdram info from 1 to 2 set [ 0.4506 ] Copying Sdram info from 2 to 3 set [ 0.4506 ] [ 0.4506 ] Updating boot device parameters [ 0.4526 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatedevparam flash.xml.bin [ 0.4545 ] Warning: No sdram params [ 0.4545 ] [ 0.4546 ] Updating bl info [ 0.4565 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml [ 0.4592 ] [ 0.4592 ] Updating secondary storage information into bct [ 0.4621 ] tegraparser --pt flash.xml.bin --chip 0x21 0 --updatecustinfo P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 0.4641 ] [ 0.4642 ] Get Signed section of bct [ 0.4660 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --listbct bct_list.xml [ 0.4678 ] [ 0.4678 ] Signing BCT [ 0.4714 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key [ 0.4747 ] Assuming zero filled SBK key [ 0.4747 ] [ 0.4748 ] Updating BCT with signature [ 0.4768 ] tegrabct --bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct --chip 0x21 0 --updatesig bct_list_signed.xml [ 0.4788 ] [ 0.4789 ] Sending BCTs [ 0.4809 ] tegrarcm --download bct P3448_A00_4GB_Micron_4GB_lpddr4_204Mhz_P987.bct [ 0.4826 ] Applet version 00.01.0000 [ 0.4874 ] Sending bct [ 0.4876 ] [................................................] 100% [ 0.5608 ] [ 0.5609 ] Sending bootloader and pre-requisite binaries [ 0.5627 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-p3448-0002-p3449-0000-b00.dtb 0 [ 0.5645 ] Applet version 00.01.0000 [ 0.5665 ] Sending ebt [ 0.5668 ] [................................................] 100% [ 0.6721 ] Sending rp1 [ 0.6725 ] [................................................] 100% [ 0.7203 ] [ 0.7221 ] tegrarcm --boot recovery [ 0.7240 ] Applet version 00.01.0000 [ 0.7273 ] [ 0.7274 ] Writing partition [ 0.7295 ] tegradevflash --write DTB /home/timon/Linux_for_Tegra/bootloader/signed/tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt [ 0.7314 ] Cboot version 00.01.0000 [ 1.2643 ] Writing partition DTB with /home/timon/Linux_for_Tegra/bootloader/signed/tegra210-p3448-0002-p3449-0000-b00.dtb.encrypt [ 1.2655 ] [................................................] 100% [ 1.3027 ] [ 1.3028 ] Coldbooting the device [ 1.3048 ] tegradevflash --reboot coldboot [ 1.3063 ] Cboot version 00.01.0000 [ 1.3088 ] *** The [DTB] has been updated successfully. ***