烧录设备树时,卡机

你好,由于种种原因,后来不知道怎么在官网提问,不知道怎么回复了,所以没有及时回复。上次那个问题已经解决了。现在出现一个问题就是用如下命令烧录设备树:
sudo ./flash.sh -k DTB jetson-xavier-nx-devkit mmcblk0p1

出现如下提示,卡机了,找不到原因,但是可以单独烧录内核:
Uploading: image.png…
Uploading: 1670922138733.jpg…

不知道怎么解决这个问题,请指教,谢谢!

建議你提問的時候確認一下自己的圖片真的有送出來

還有提問的時候麻煩提供一下你燒錄的BSP版本
是devkit還是你自己打的底板

1 Like

你好,我使用的是32.7.1版本的BSP包,自己打的底板,使用如下命令:
sudo ./flash.sh -r -k DTB jetson-xavier-nx-devkit mmcblk0p1
烧录设备树时,打印信息如下:

tgq@tgq-vm:~/workspace/Linux_for_Tegra$ sudo ./flash.sh -r -k DTB jetson-xavier-nx-devkit mmcblk0p1
[sudo] tgq 的密码: 
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 7.1
###############################################################################
# Target Board Information:
# Name: jetson-xavier-nx-devkit, Board Family: t186ref, SoC: Tegra 194, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod.bin" --skipuid --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --bins "mb2_applet nvtboot_applet_t194.bin" --cmd "dump eeprom boardinfo cvm.bin;reboot recovery" 
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.0031 ] Generating RCM messages
[   0.0171 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.0180 ] Header already present for /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.0218 ] 
[   0.0314 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.0315 ] Assuming zero filled SBK key
[   0.0351 ] tegrasign_v3.py --file /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0352 ] Assuming zero filled SBK key
[   0.0477 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.0511 ] 
[   0.0546 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.0601 ] 
[   0.0622 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.0632 ] RCM 0 is saved as rcm_0.rcm
[   0.0660 ] RCM 1 is saved as rcm_1.rcm
[   0.0660 ] RCM 2 is saved as rcm_2.rcm
[   0.0660 ] List of rcm files are saved in rcm_list.xml
[   0.0660 ] 
[   0.0660 ] Signing RCM messages
[   0.0690 ] tegrasign_v3.py --getmontgomeryvalues montgomery.bin --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0691 ] Assuming zero filled SBK key
[   0.0759 ] Copying signature to RCM mesages
[   0.0786 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0800 ] 
[   0.0800 ] Boot Rom communication
[   0.0812 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.0820 ] RCM version 0X190001
[   0.1897 ] Boot Rom communication completed
[   1.2348 ] 
[   2.2389 ] tegrarcm_v2 --isapplet
[   2.2397 ] Applet version 01.00.0000
[   2.5197 ] 
[   2.5225 ] tegrarcm_v2 --ismb2
[   2.6683 ] 
[   2.6707 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194.bin
[   2.6716 ] 
[   2.6742 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194.bin zerosbk
[   2.6752 ] adding BCH for nvtboot_applet_t194.bin
[   2.6930 ] 
[   2.6967 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   2.6968 ] Assuming zero filled SBK key
[   2.7054 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_sigheader.bin.encrypt nvtboot_applet_t194_sigheader.bin.hash zerosbk
[   2.7103 ] 
[   2.7130 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   2.7144 ] Applet version 01.00.0000
[   2.9900 ] Sending mb2
[   2.9901 ] [................................................] 100%
[   3.0708 ] 
[   3.0736 ] tegrarcm_v2 --boot recovery
[   3.0743 ] Applet version 01.00.0000
[   3.3536 ] 
[   4.3587 ] tegrarcm_v2 --isapplet
[   4.5009 ] 
[   4.5035 ] tegrarcm_v2 --ismb2
[   4.5042 ] MB2 Applet version 01.00.0000
[   4.6410 ] 
[   4.6436 ] tegrarcm_v2 --ismb2
[   4.6443 ] MB2 Applet version 01.00.0000
[   4.7796 ] 
[   4.7823 ] Retrieving board information
[   4.7842 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   4.7848 ] MB2 Applet version 01.00.0000
[   5.1050 ] Saved platform info in chip_info.bin
[   5.1400 ] Chip minor revision: 2
[   5.1401 ] Bootrom revision: 0xf
[   5.1402 ] Ram code: 0x0
[   5.1402 ] Chip sku: 0xde
[   5.1403 ] Chip Sample: non es
[   5.1639 ] 
[   5.1642 ] Retrieving EEPROM data
[   5.1642 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/tgq/workspace/Linux_for_Tegra/bootloader/cvm.bin
[   5.1651 ] MB2 Applet version 01.00.0000
[   5.3554 ] Saved platform info in /home/tgq/workspace/Linux_for_Tegra/bootloader/cvm.bin
[   5.4548 ] 
[   5.4549 ] Rebooting to recovery mode
[   5.4576 ] tegrarcm_v2 --ismb2
[   5.4585 ] MB2 Applet version 01.00.0000
[   5.7313 ] 
[   5.7313 ] Rebooting to recovery mode
[   5.7325 ] tegrarcm_v2 --reboot recovery
[   5.7338 ] MB2 Applet version 01.00.0000
[   5.9575 ] 
Board ID(3668) version(300) sku(0001) revision(E.0)
copying bctfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying minratchet_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p3668.cfg)... done.
copying device_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-sd-l4t.cfg)... done.
copying misc_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi.cfg)... done.
Existing bootloader(/home/tgq/workspace/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/tgq/workspace/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
Making Boot image... done.
/home/tgq/workspace/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --cmd sign boot.img kernel
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.0005 ] Generating signature
[   0.0036 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0037 ] Assuming zero filled SBK key : not reading 
[   0.0036 ] Generating ratchet blob
[   0.0053 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0059 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0061 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0061 ] 
[   0.0062 ] header_magic: 414e4452
[   0.0083 ] tegrahost_v2 --chip 0x19 --align 1_boot.img
[   0.0092 ] 
[   0.0113 ] tegrahost_v2 --chip 0x19 0 --magicid KRNL --ratchet_blob ratchet_blob.bin --appendsigheader 1_boot.img zerosbk
[   0.0119 ] adding BCH for 1_boot.img
[   0.7325 ] 
[   0.7357 ] tegrasign_v3.py --key  --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[   0.7357 ] Assuming zero filled SBK key : not reading 
[   0.8303 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[   1.2377 ] 
[   1.2671 ] Signed file: /home/tgq/workspace/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 0x27bb800 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/tgq/workspace/Linux_for_Tegra/bootloader/temp_user_dir/boot_sigheader.img.encrypt
done.
Existing sosfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/tgq/workspace/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/tgq/workspace/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/tgq/workspace/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/tgq/workspace/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/tgq/workspace/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/tgq/workspace/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused.
copying bpfdtbfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb)... done.
Existing scefile(/home/tgq/workspace/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/tgq/workspace/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused.
Existing spefile(/home/tgq/workspace/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing wb0boot(/home/tgq/workspace/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused.
Existing eksfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/tgq/workspace/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/tgq/workspace/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --cmd sign kernel_tegra194-p3668-all-p3509-0000.dtb kernel_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.0004 ] Generating signature
[   0.0031 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0032 ] Assuming zero filled SBK key : not reading 
[   0.0031 ] Generating ratchet blob
[   0.0058 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0065 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0067 ] 
[   0.0068 ] header_magic: d00dfeed
[   0.0088 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0098 ] 
[   0.0119 ] tegrahost_v2 --chip 0x19 0 --magicid KDTB --ratchet_blob ratchet_blob.bin --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0126 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0160 ] 
[   0.0187 ] tegrasign_v3.py --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0188 ] Assuming zero filled SBK key : not reading 
[   0.0239 ] 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.0272 ] 
[   0.0275 ] Signed file: /home/tgq/workspace/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 0x31ee7 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/tgq/workspace/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
done.
Reusing existing system.img... 
done.
Existing tbcfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/tgq/workspace/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
copying cfgfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668.xml) to flash.xml... done.
Existing flasher(/home/tgq/workspace/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/tgq/workspace/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [DTB] with kernel_tegra194-p3668-all-p3509-0000.dtb ***
./tegraflash.py --bl nvtboot_recovery_cpu_t194.bin  --chip 0x19 --applet mb1_t194_prod.bin --sdram_config tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg,tegra194-memcfg-sw-override.cfg --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --device_config tegra19x-mb1-bct-device-qspi-p3668.cfg --misc_cold_boot_config tegra194-mb1-bct-misc-sd-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 --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg  flash.xml --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"  --odmdata 0xB8190000  --cmd "erase DTB; signwrite DTB kernel_tegra194-p3668-all-p3509-0000.dtb; 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.0061 ] Generating RCM messages
[   0.0091 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0098 ] Header already present for mb1_t194_prod.bin
[   0.0122 ] 
[   0.0153 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.0154 ] Assuming zero filled SBK key
[   0.0182 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0183 ] Assuming zero filled SBK key
[   0.0240 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.0273 ] 
[   0.0301 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0312 ] 
[   0.0331 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0337 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0340 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0341 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0341 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0341 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0341 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0341 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0341 ] 
[   0.0372 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.0392 ] RCM 0 is saved as rcm_0.rcm
[   0.0417 ] RCM 1 is saved as rcm_1.rcm
[   0.0417 ] RCM 2 is saved as rcm_2.rcm
[   0.0417 ] List of rcm files are saved in rcm_list.xml
[   0.0417 ] 
[   0.0417 ] Signing RCM messages
[   0.0453 ] tegrasign_v3.py --getmontgomeryvalues montgomery.bin --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0454 ] Assuming zero filled SBK key
[   0.0545 ] Copying signature to RCM mesages
[   0.0569 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0585 ] 
[   0.0585 ] Boot Rom communication
[   0.0611 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   0.0619 ] BR_CID: 0x880219116428a001180000000e0080c0
[   1.1257 ] RCM version 0X190001
[   1.2353 ] Boot Rom communication completed
[   2.2789 ] 
[   3.2847 ] tegrarcm_v2 --isapplet
[   3.2866 ] Applet version 01.00.0000
[   3.4433 ] 
[   3.4460 ] tegrasign_v3.py --getmode mode.txt --key None
[   3.4461 ] Assuming zero filled SBK key
[   3.4461 ] Parsing partition layout
[   3.4498 ] tegraparser_v2 --pt flash.xml.tmp
[   3.4549 ] 
[   3.4550 ] Creating list of images to be signed
[   3.4578 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   3.4591 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   3.4596 ] Header already present for mb1_t194_prod_sigheader.bin
[   3.4604 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   3.4625 ] Header already present for mb1_t194_prod_sigheader.bin
[   3.4630 ] adding BCH for spe_t194.bin
[   3.4656 ] adding BCH for spe_t194.bin
[   3.4678 ] adding BCH for nvtboot_t194.bin
[   3.4703 ] adding BCH for nvtboot_t194.bin
[   3.4753 ] Header already present for preboot_c10_prod_cr.bin
[   3.4797 ] Header already present for preboot_c10_prod_cr.bin
[   3.4800 ] Header already present for mce_c10_prod_cr.bin
[   3.4802 ] Header already present for mce_c10_prod_cr.bin
[   3.4808 ] adding BCH for mts_c10_prod_cr.bin
[   3.4873 ] adding BCH for mts_c10_prod_cr.bin
[   3.5491 ] Header already present for warmboot_t194_prod.bin
[   3.6073 ] Header already present for warmboot_t194_prod.bin
[   3.6075 ] adding BCH for xusb_sil_rel_fw
[   3.6086 ] adding BCH for xusb_sil_rel_fw
[   3.6107 ] adding BCH for cboot_t194.bin
[   3.6128 ] adding BCH for cboot_t194.bin
[   3.6208 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   3.6288 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   3.6319 ] adding BCH for tos-trusty_t194.img
[   3.6356 ] adding BCH for tos-trusty_t194.img
[   3.6438 ] adding BCH for eks.img
[   3.6505 ] adding BCH for eks.img
[   3.6507 ] adding BCH for adsp-fw.bin
[   3.6509 ] adding BCH for adsp-fw.bin
[   3.6522 ] adding BCH for camera-rtcpu-rce.img
[   3.6535 ] adding BCH for camera-rtcpu-rce.img
[   3.6579 ] adding BCH for bpmp_t194.bin
[   3.6629 ] adding BCH for bpmp_t194.bin
[   3.6782 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   3.6932 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   3.6993 ] adding BCH for boot.img
[   3.7369 ] adding BCH for boot.img
[   4.4433 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   5.1307 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   5.1550 ] 
[   5.1551 ] Filling MB1 storage info
[   5.1551 ] Generating br-bct
[   5.1585 ] Performing cfg overlay
[   5.1586 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[   5.1591 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71.cfg
[   5.2082 ] 
[   5.2084 ] Updating dev and MSS params in BR BCT
[   5.2085 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   5.2512 ] 
[   5.2512 ] Updating bl info
[   5.2539 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   5.2558 ] 
[   5.2559 ] Generating signatures
[   5.2592 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   5.2593 ] Assuming zero filled SBK key
[   5.5383 ] Send BCT from Host
[   5.5383 ] Generating br-bct
[   5.5413 ] Performing cfg overlay
[   5.5413 ] ['/home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71.cfg']
[   5.5414 ] Updating dev and MSS params in BR BCT
[   5.5415 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   5.5867 ] 
[   5.5868 ] Updating bl info
[   5.5900 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   5.5935 ] 
[   5.5936 ] Updating smd info
[   5.5960 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   5.5972 ] 
[   5.5973 ] Updating Odmdata
[   5.5999 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   5.6011 ] 
[   5.6012 ] Get Signed section of bct
[   5.6033 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   5.6047 ] 
[   5.6079 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   5.6095 ] Assuming zero filled SBK key
[   5.6524 ] 
[   5.6525 ] Updating BCT with signature
[   5.6560 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   5.6594 ] 
[   5.6595 ] Generating coldboot mb1-bct
[   5.6631 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71.cfg --misc tegra194-mb1-bct-misc-sd-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
[   5.6640 ] MB1-BCT version: 0x1

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

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

[   5.6740 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[   5.6743 ] Added Platform Config 2 data with size :- 24
[   5.6746 ] 
[   5.6746 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[   5.6746 ] Added Platform Config 4 data with size :- 348
[   5.6746 ] 
[   5.6746 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[   5.6746 ] Added Platform Config 3 data with size :- 92
[   5.6746 ] 
[   5.6746 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[   5.6746 ] Added Platform Config 5 data with size :- 128
[   5.6746 ] 
[   5.6747 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   5.6747 ] Added Platform Config 7 data with size :- 392
[   5.6747 ] 
[   5.6747 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   5.6747 ] Added Platform Config 9 data with size :- 40
[   5.6747 ] 
[   5.6747 ] Updating mb1-bct with firmware information
[   5.6777 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.6787 ] MB1-BCT version: 0x1
[   5.6792 ] 
[   5.6793 ] Updating mb1-bct with storage information
[   5.6817 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.6829 ] MB1-BCT version: 0x1
[   5.6838 ] 
[   5.6843 ] Updating mb1-bct with ratchet information
[   5.6885 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   5.6929 ] MB1-BCT version: 0x1
[   5.6935 ] FwIndex: 1, MinRatchetLevel: 0
[   5.6937 ] FwIndex: 2, MinRatchetLevel: 0
[   5.6939 ] FwIndex: 3, MinRatchetLevel: 0
[   5.6941 ] FwIndex: 4, MinRatchetLevel: 0
[   5.6942 ] FwIndex: 5, MinRatchetLevel: 0
[   5.6943 ] FwIndex: 6, MinRatchetLevel: 0
[   5.6944 ] FwIndex: 7, MinRatchetLevel: 0
[   5.6945 ] FwIndex: 11, MinRatchetLevel: 0
[   5.6947 ] FwIndex: 12, MinRatchetLevel: 0
[   5.6948 ] FwIndex: 13, MinRatchetLevel: 0
[   5.6951 ] FwIndex: 14, MinRatchetLevel: 0
[   5.6952 ] FwIndex: 15, MinRatchetLevel: 0
[   5.6953 ] FwIndex: 16, MinRatchetLevel: 0
[   5.6954 ] FwIndex: 17, MinRatchetLevel: 0
[   5.6956 ] FwIndex: 18, MinRatchetLevel: 0
[   5.6957 ] FwIndex: 19, MinRatchetLevel: 0
[   5.6959 ] FwIndex: 30, MinRatchetLevel: 0
[   5.6961 ] FwIndex: 31, MinRatchetLevel: 0
[   5.6962 ] FwIndex: 32, MinRatchetLevel: 0
[   5.6981 ] 
[   5.7019 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[   5.7042 ] 
[   5.7068 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   5.7080 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[   5.7089 ] 
[   5.7145 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.7147 ] Assuming zero filled SBK key
[   5.7217 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   5.7236 ] 
[   5.7237 ] Generating recovery mb1-bct
[   5.7270 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71.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
[   5.7283 ] MB1-BCT version: 0x1

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

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

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

[   5.7386 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[   5.7389 ] Added Platform Config 4 data with size :- 348
[   5.7389 ] 
[   5.7389 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[   5.7389 ] Added Platform Config 3 data with size :- 92
[   5.7389 ] 
[   5.7389 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[   5.7389 ] Added Platform Config 5 data with size :- 128
[   5.7389 ] 
[   5.7389 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   5.7389 ] Added Platform Config 7 data with size :- 392
[   5.7390 ] 
[   5.7390 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   5.7390 ] Added Platform Config 9 data with size :- 40
[   5.7390 ] 
[   5.7390 ] Updating mb1-bct with firmware information
[   5.7431 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.7457 ] MB1-BCT version: 0x1
[   5.7464 ] 
[   5.7465 ] Updating mb1-bct with storage information
[   5.7495 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.7503 ] MB1-BCT version: 0x1
[   5.7509 ] 
[   5.7509 ] Updating mb1-bct with ratchet information
[   5.7536 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   5.7548 ] MB1-BCT version: 0x1
[   5.7551 ] FwIndex: 1, MinRatchetLevel: 0
[   5.7553 ] FwIndex: 2, MinRatchetLevel: 0
[   5.7553 ] FwIndex: 3, MinRatchetLevel: 0
[   5.7553 ] FwIndex: 4, MinRatchetLevel: 0
[   5.7553 ] FwIndex: 5, MinRatchetLevel: 0
[   5.7553 ] FwIndex: 6, MinRatchetLevel: 0
[   5.7553 ] FwIndex: 7, MinRatchetLevel: 0
[   5.7553 ] FwIndex: 11, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 12, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 13, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 14, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 15, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 16, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 17, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 18, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 19, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 30, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 31, MinRatchetLevel: 0
[   5.7554 ] FwIndex: 32, MinRatchetLevel: 0
[   5.7555 ] 
[   5.7575 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[   5.7582 ] 
[   5.7616 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1.bct zerosbk
[   5.7628 ] adding BCH for mb1_bct_MB1.bct
[   5.7634 ] 
[   5.7669 ] tegrasign_v3.py --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.7670 ] Assuming zero filled SBK key
[   5.7714 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   5.7727 ] 
[   5.7728 ] Generating coldboot mem-bct
[   5.7759 ] tegrabct_v2 --chip 0x19 0 --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71.cfg --membct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_1.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_2.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_3.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_4.bct
[   5.7795 ] Packing sdram param for instance[0]
[   5.8204 ] Packing sdram param for instance[1]
[   5.8207 ] Packing sdram param for instance[2]
[   5.8207 ] Packing sdram param for instance[3]
[   5.8207 ] Packing sdram param for instance[4]
[   5.8208 ] Packing sdram param for instance[5]
[   5.8208 ] Packing sdram param for instance[6]
[   5.8208 ] Packing sdram param for instance[7]
[   5.8208 ] Packing sdram param for instance[8]
[   5.8208 ] Packing sdram param for instance[9]
[   5.8208 ] Packing sdram param for instance[10]
[   5.8208 ] Packing sdram param for instance[11]
[   5.8208 ] Packing sdram param for instance[12]
[   5.8208 ] Packing sdram param for instance[13]
[   5.8208 ] Packing sdram param for instance[14]
[   5.8208 ] Packing sdram param for instance[15]
[   5.8208 ] 
[   5.8209 ] Getting sector size from pt
[   5.8244 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   5.8268 ] 
[   5.8270 ] BlockSize read from layout is 200

[   5.8313 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_1.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_2.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_3.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_4.bct
[   5.8324 ] adding BCH for /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_1.bct
[   5.8345 ] 
[   5.8373 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[   5.8380 ] 
[   5.8403 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot.bct zerosbk
[   5.8409 ] Header already present for mem_coldboot.bct
[   5.8412 ] 
[   5.8439 ] tegrasign_v3.py --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.8440 ] Assuming zero filled SBK key
[   5.8493 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[   5.8511 ] 
[   5.8512 ] Generating recovery mem-bct
[   5.8533 ] tegrabct_v2 --chip 0x19 0 --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71.cfg --membct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_1.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_2.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_3.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/27154/tmp8f8pxyv71_4.bct
[   5.8539 ] Packing sdram param for instance[0]
[   5.8944 ] Packing sdram param for instance[1]
[   5.8946 ] Packing sdram param for instance[2]
[   5.8948 ] Packing sdram param for instance[3]
[   5.8951 ] Packing sdram param for instance[4]
[   5.8951 ] Packing sdram param for instance[5]
[   5.8951 ] Packing sdram param for instance[6]
[   5.8951 ] Packing sdram param for instance[7]
[   5.8951 ] Packing sdram param for instance[8]
[   5.8951 ] Packing sdram param for instance[9]
[   5.8951 ] Packing sdram param for instance[10]
[   5.8951 ] Packing sdram param for instance[11]
[   5.8951 ] Packing sdram param for instance[12]
[   5.8951 ] Packing sdram param for instance[13]
[   5.8951 ] Packing sdram param for instance[14]
[   5.8951 ] Packing sdram param for instance[15]
[   5.8951 ] 
[   5.8953 ] Reading ramcode from backup chip_info.bin file
[   5.8953 ] RAMCODE Read from Device: 0

[   5.8992 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[   5.9017 ] 
[   5.9042 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm.bct zerosbk
[   5.9054 ] adding BCH for mem_rcm.bct
[   5.9068 ] 
[   5.9114 ] tegrasign_v3.py --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.9115 ] Assuming zero filled SBK key
[   5.9162 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[   5.9180 ] 
[   5.9182 ] Sending BCTs
[   5.9200 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[   5.9207 ] Applet version 01.00.0000
[   6.3404 ] Sending bct_bootrom
[   6.3407 ] [................................................] 100%
[   6.3790 ] Sending bct_mb1
[   6.4071 ] [................................................] 100%
[   6.4481 ] Sending bct_mem
[   6.5218 ] [................................................] 100%
[   6.6561 ] 
[   6.6562 ] Generating blob
[   6.6592 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_cpu_t194.bin
[   6.6604 ] 
[   6.6632 ] tegrahost_v2 --chip 0x19 0 --magicid CPBL --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvtboot_recovery_cpu_t194.bin zerosbk
[   6.6639 ] adding BCH for blob_nvtboot_recovery_cpu_t194.bin
[   6.6683 ] 
[   6.6715 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_cpu_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   6.6716 ] Assuming zero filled SBK key
[   6.6762 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_t194_sigheader.bin.hash zerosbk
[   6.6801 ] 
[   6.6836 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_t194.bin
[   6.6887 ] 
[   6.6954 ] tegrahost_v2 --chip 0x19 0 --magicid MB2B --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvtboot_recovery_t194.bin zerosbk
[   6.6984 ] adding BCH for blob_nvtboot_recovery_t194.bin
[   6.7048 ] 
[   6.7083 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   6.7084 ] Assuming zero filled SBK key
[   6.7140 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_t194_sigheader.bin.encrypt blob_nvtboot_recovery_t194_sigheader.bin.hash zerosbk
[   6.7168 ] 
[   6.7181 ] tegrahost_v2 --chip 0x19 --align blob_preboot_c10_prod_cr.bin
[   6.7188 ] 
[   6.7211 ] tegrahost_v2 --chip 0x19 0 --magicid MTSP --appendsigheader blob_preboot_c10_prod_cr.bin zerosbk
[   6.7218 ] Header already present for blob_preboot_c10_prod_cr.bin
[   6.7220 ] 
[   6.7253 ] tegrasign_v3.py --key None --list blob_preboot_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   6.7254 ] Assuming zero filled SBK key
[   6.7300 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_preboot_c10_prod_cr_sigheader.bin.encrypt blob_preboot_c10_prod_cr_sigheader.bin.hash zerosbk
[   6.7312 ] 
[   6.7340 ] tegrahost_v2 --chip 0x19 --align blob_mce_c10_prod_cr.bin
[   6.7347 ] 
[   6.7371 ] tegrahost_v2 --chip 0x19 0 --magicid MTSM --appendsigheader blob_mce_c10_prod_cr.bin zerosbk
[   6.7386 ] Header already present for blob_mce_c10_prod_cr.bin
[   6.7402 ] 
[   6.7443 ] tegrasign_v3.py --key None --list blob_mce_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   6.7445 ] Assuming zero filled SBK key
[   6.7510 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mce_c10_prod_cr_sigheader.bin.encrypt blob_mce_c10_prod_cr_sigheader.bin.hash zerosbk
[   6.7534 ] 
[   6.7559 ] tegrahost_v2 --chip 0x19 --align blob_mts_c10_prod_cr.bin
[   6.7567 ] 
[   6.7589 ] tegrahost_v2 --chip 0x19 0 --magicid MTSB --appendsigheader blob_mts_c10_prod_cr.bin zerosbk
[   6.7596 ] adding BCH for blob_mts_c10_prod_cr.bin
[   6.8202 ] 
[   6.8252 ] tegrasign_v3.py --key None --list blob_mts_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   6.8253 ] Assuming zero filled SBK key
[   6.8400 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mts_c10_prod_cr_sigheader.bin.encrypt blob_mts_c10_prod_cr_sigheader.bin.hash zerosbk
[   6.8829 ] 
[   6.8866 ] tegrahost_v2 --chip 0x19 --align blob_bpmp_t194.bin
[   6.8896 ] 
[   6.8939 ] tegrahost_v2 --chip 0x19 0 --magicid BPMF --ratchet_blob ratchet_blob.bin --appendsigheader blob_bpmp_t194.bin zerosbk
[   6.8961 ] adding BCH for blob_bpmp_t194.bin
[   6.9149 ] 
[   6.9188 ] tegrasign_v3.py --key None --list blob_bpmp_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   6.9190 ] Assuming zero filled SBK key
[   6.9294 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_bpmp_t194_sigheader.bin.encrypt blob_bpmp_t194_sigheader.bin.hash zerosbk
[   6.9410 ] 
[   6.9468 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-a02-bpmp-p3668-a00.dtb
[   6.9481 ] 
[   6.9514 ] tegrahost_v2 --chip 0x19 0 --magicid BPMD --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra194-a02-bpmp-p3668-a00.dtb zerosbk
[   6.9546 ] adding BCH for blob_tegra194-a02-bpmp-p3668-a00.dtb
[   6.9623 ] 
[   6.9657 ] tegrasign_v3.py --key None --list blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   6.9658 ] Assuming zero filled SBK key
[   6.9739 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.hash zerosbk
[   6.9802 ] 
[   6.9832 ] tegrahost_v2 --chip 0x19 --align blob_spe_t194.bin
[   6.9855 ] 
[   6.9916 ] tegrahost_v2 --chip 0x19 0 --magicid SPEF --ratchet_blob ratchet_blob.bin --appendsigheader blob_spe_t194.bin zerosbk
[   6.9957 ] adding BCH for blob_spe_t194.bin
[   6.9977 ] 
[   7.0027 ] tegrasign_v3.py --key None --list blob_spe_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   7.0029 ] Assuming zero filled SBK key
[   7.0110 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_spe_t194_sigheader.bin.encrypt blob_spe_t194_sigheader.bin.hash zerosbk
[   7.0145 ] 
[   7.0182 ] tegrahost_v2 --chip 0x19 --align blob_tos-trusty_t194.img
[   7.0195 ] 
[   7.0236 ] tegrahost_v2 --chip 0x19 0 --magicid TOSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tos-trusty_t194.img zerosbk
[   7.0265 ] adding BCH for blob_tos-trusty_t194.img
[   7.0347 ] 
[   7.0474 ] tegrasign_v3.py --key None --list blob_tos-trusty_t194_sigheader.img_list.xml --pubkeyhash pub_key.key
[   7.0475 ] Assuming zero filled SBK key
[   7.0585 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tos-trusty_t194_sigheader.img.encrypt blob_tos-trusty_t194_sigheader.img.hash zerosbk
[   7.0669 ] 
[   7.0702 ] tegrahost_v2 --chip 0x19 --align blob_eks.img
[   7.0725 ] 
[   7.0765 ] tegrahost_v2 --chip 0x19 0 --magicid EKSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_eks.img zerosbk
[   7.0785 ] adding BCH for blob_eks.img
[   7.0787 ] 
[   7.0813 ] tegrasign_v3.py --key None --list blob_eks_sigheader.img_list.xml --pubkeyhash pub_key.key
[   7.0814 ] Assuming zero filled SBK key
[   7.0912 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[   7.0965 ] 
[   7.1030 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-p3668-all-p3509-0000.dtb
[   7.1043 ] 
[   7.1069 ] tegrahost_v2 --chip 0x19 0 --magicid CDTB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   7.1079 ] adding BCH for blob_tegra194-p3668-all-p3509-0000.dtb
[   7.1114 ] 
[   7.1152 ] tegrasign_v3.py --key None --list blob_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   7.1153 ] Assuming zero filled SBK key
[   7.1199 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk
[   7.1226 ] 
[   7.1249 ] tegrahost_v2 --chip 0x19 --generateblob blob.xml blob.bin
[   7.1255 ] number of images in blob are 11
[   7.1259 ] blobsize is 6010072
[   7.1261 ] Added binary blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt of size 264064
[   7.1281 ] Added binary blob_nvtboot_recovery_t194_sigheader.bin.encrypt of size 181152
[   7.1284 ] Added binary blob_preboot_c10_prod_cr_sigheader.bin.encrypt of size 24016
[   7.1288 ] Added binary blob_mce_c10_prod_cr_sigheader.bin.encrypt of size 143200
[   7.1292 ] Added binary blob_mts_c10_prod_cr_sigheader.bin.encrypt of size 3430416
[   7.1316 ] Added binary blob_bpmp_t194_sigheader.bin.encrypt of size 856352
[   7.1341 ] Added binary blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt of size 391408
[   7.1348 ] Added binary blob_spe_t194_sigheader.bin.encrypt of size 94960
[   7.1350 ] Added binary blob_tos-trusty_t194_sigheader.img.encrypt of size 410560
[   7.1353 ] Added binary blob_eks_sigheader.img.encrypt of size 5136
[   7.1356 ] Added binary blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt of size 208624
[   7.1385 ] 
[   7.1386 ] Sending bootloader and pre-requisite binaries
[   7.1420 ] tegrarcm_v2 --download blob blob.bin
[   7.1429 ] Applet version 01.00.0000
[   7.4226 ] Sending blob
[   7.4227 ] [................................................] 100%
[   8.8755 ] 
[   8.8799 ] tegrarcm_v2 --boot recovery
[   8.8818 ] Applet version 01.00.0000
[   9.1850 ] 
[  10.1898 ] tegrarcm_v2 --isapplet

你好,我使用如下命令
:sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1
进行全烧录时,打印信息如下

sudo  ./flash.sh  jetson-xavier-nx-devkit-emmc  mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 7.1
###############################################################################
# Target Board Information:
# Name: jetson-xavier-nx-devkit-emmc, Board Family: t186ref, SoC: Tegra 194, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
copying soft_fuses(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
./tegraflash.py --chip 0x19 --applet "/home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod.bin" --skipuid --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg --bins "mb2_applet nvtboot_applet_t194.bin" --cmd "dump eeprom boardinfo cvm.bin;reboot recovery" 
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.1166 ] Generating RCM messages
[   0.1380 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod.bin zerosbk
[   0.1393 ] Header already present for /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod.bin
[   0.1621 ] 
[   0.2820 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.2825 ] Assuming zero filled SBK key
[   0.2992 ] tegrasign_v3.py --file /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.2995 ] Assuming zero filled SBK key
[   0.3365 ] tegrahost_v2 --chip 0x19 0 --updatesigheader /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.hash zerosbk
[   0.3393 ] 
[   0.5771 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg.pdf sfuse.bin
[   0.6826 ] 
[   0.6859 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm /home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod_sigheader.bin 0 0
[   0.6865 ] RCM 0 is saved as rcm_0.rcm
[   0.6888 ] RCM 1 is saved as rcm_1.rcm
[   0.6888 ] RCM 2 is saved as rcm_2.rcm
[   0.6889 ] List of rcm files are saved in rcm_list.xml
[   0.6889 ] 
[   0.6889 ] Signing RCM messages
[   0.6911 ] tegrasign_v3.py --getmontgomeryvalues montgomery.bin --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.6911 ] Assuming zero filled SBK key
[   0.6976 ] Copying signature to RCM mesages
[   0.7000 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.7013 ] 
[   0.7014 ] Boot Rom communication
[   0.7039 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml --skipuid
[   0.7045 ] RCM version 0X190001
[   0.8161 ] Boot Rom communication completed
[   1.8561 ] 
[   2.8600 ] tegrarcm_v2 --isapplet
[   2.8606 ] Applet version 01.00.0000
[   3.0120 ] 
[   3.0146 ] tegrarcm_v2 --ismb2
[   3.1516 ] 
[   3.1544 ] tegrahost_v2 --chip 0x19 --align nvtboot_applet_t194.bin
[   3.1551 ] 
[   3.1575 ] tegrahost_v2 --chip 0x19 0 --magicid PLDT --appendsigheader nvtboot_applet_t194.bin zerosbk
[   3.1581 ] adding BCH for nvtboot_applet_t194.bin
[   3.2661 ] 
[   3.2795 ] tegrasign_v3.py --key None --list nvtboot_applet_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[   3.2796 ] Assuming zero filled SBK key
[   3.2839 ] tegrahost_v2 --chip 0x19 0 --updatesigheader nvtboot_applet_t194_sigheader.bin.encrypt nvtboot_applet_t194_sigheader.bin.hash zerosbk
[   3.2860 ] 
[   3.2883 ] tegrarcm_v2 --download mb2 nvtboot_applet_t194_sigheader.bin.encrypt
[   3.2889 ] Applet version 01.00.0000
[   3.5325 ] Sending mb2
[   3.5326 ] [................................................] 100%
[   3.6113 ] 
[   3.6139 ] tegrarcm_v2 --boot recovery
[   3.6145 ] Applet version 01.00.0000
[   3.9055 ] 
[   4.9130 ] tegrarcm_v2 --isapplet
[   5.1684 ] 
[   5.1709 ] tegrarcm_v2 --ismb2
[   5.1717 ] MB2 Applet version 01.00.0000
[   5.3031 ] 
[   5.3059 ] tegrarcm_v2 --ismb2
[   5.3065 ] MB2 Applet version 01.00.0000
[   5.5684 ] 
[   5.5707 ] Retrieving board information
[   5.5727 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   5.5734 ] MB2 Applet version 01.00.0000
[   5.9050 ] Saved platform info in chip_info.bin
[   5.9383 ] Chip minor revision: 2
[   5.9385 ] Bootrom revision: 0xf
[   5.9386 ] Ram code: 0x0
[   5.9387 ] Chip sku: 0xde
[   5.9387 ] Chip Sample: non es
[   5.9656 ] 
[   5.9658 ] Retrieving EEPROM data
[   5.9659 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/tgq/workspace/Linux_for_Tegra/bootloader/cvm.bin
[   5.9671 ] MB2 Applet version 01.00.0000
[   6.1637 ] Saved platform info in /home/tgq/workspace/Linux_for_Tegra/bootloader/cvm.bin
[   6.2572 ] 
[   6.2573 ] Rebooting to recovery mode
[   6.2595 ] tegrarcm_v2 --ismb2
[   6.2601 ] MB2 Applet version 01.00.0000
[   6.3931 ] 
[   6.3931 ] Rebooting to recovery mode
[   6.3952 ] tegrarcm_v2 --reboot recovery
[   6.3958 ] MB2 Applet version 01.00.0000
[   6.6131 ] 
Board ID(3668) version(300) sku(0001) revision(E.0)
Copy /home/tgq/workspace/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb to /home/tgq/workspace/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec
copying bctfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg)... done.
copying bctfile1(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-memcfg-sw-override.cfg)... done.
copying minratchet_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-ratchet-p3668.cfg)... done.
copying device_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-bct-device-qspi-p3668.cfg)... done.
copying misc_cold_boot_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-l4t.cfg)... done.
copying misc_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-misc-flash.cfg)... done.
copying pinmux_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-pinmux-p3668-a01.cfg)... done.
copying gpioint_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg)... done.
copying pmic_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-pmic-p3668-0001-a00.cfg)... done.
copying pmc_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-padvoltage-p3668-a01.cfg)... done.
copying prod_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra19x-mb1-prod-p3668-0001-a00.cfg)... done.
copying scr_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying scr_cold_boot_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-scr-cbb-mini-p3668.cfg)... done.
copying bootrom_config(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-bct-reset-p3668-0001-a00.cfg)... done.
copying dev_params(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-br-bct-qspi.cfg)... done.
Existing bootloader(/home/tgq/workspace/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
copying initrd(/home/tgq/workspace/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
Making Boot image... done.
/home/tgq/workspace/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --cmd sign boot.img kernel
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.0004 ] Generating signature
[   0.0033 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0034 ] Assuming zero filled SBK key : not reading 
[   0.0032 ] Generating ratchet blob
[   0.0059 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0065 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0067 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0068 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0068 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0068 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0068 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0068 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0068 ] 
[   0.0068 ] header_magic: 414e4452
[   0.0089 ] tegrahost_v2 --chip 0x19 --align 1_boot.img
[   0.0095 ] 
[   0.0120 ] tegrahost_v2 --chip 0x19 0 --magicid KRNL --ratchet_blob ratchet_blob.bin --appendsigheader 1_boot.img zerosbk
[   0.0125 ] adding BCH for 1_boot.img
[   0.6984 ] 
[   0.7014 ] tegrasign_v3.py --key  --list 1_boot_sigheader.img_list.xml --pubkeyhash pub_key.key
[   0.7014 ] Assuming zero filled SBK key : not reading 
[   0.7849 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_boot_sigheader.img.encrypt 1_boot_sigheader.img.hash zerosbk
[   1.1890 ] 
[   1.2154 ] Signed file: /home/tgq/workspace/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 0x27bb800 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/tgq/workspace/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...
~/workspace/Linux_for_Tegra/bootloader/ramdisk_tmp ~/workspace/Linux_for_Tegra/bootloader ~/workspace/Linux_for_Tegra
30412 块
_BASE_KERNEL_VERSION=4.9.253-tegra
~/workspace/Linux_for_Tegra/bootloader/ramdisk_tmp/lib ~/workspace/Linux_for_Tegra/bootloader/ramdisk_tmp ~/workspace/Linux_for_Tegra/bootloader ~/workspace/Linux_for_Tegra
66029 块
Making Recovery image...
copying recdtbfile(/home/tgq/workspace/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb.rec)... done.
记录了20+0 的读入
记录了20+0 的写出
20 bytes copied, 0.000108132 s, 185 kB/s
Existing sosfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing tegraboot(/home/tgq/workspace/Linux_for_Tegra/bootloader/nvtboot_t194.bin) reused.
Existing cpu_bootloader(/home/tgq/workspace/Linux_for_Tegra/bootloader/nvtboot_cpu_t194.bin) reused.
Existing mb2blfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/nvtboot_recovery_t194.bin) reused.
Existing mtspreboot(/home/tgq/workspace/Linux_for_Tegra/bootloader/preboot_c10_prod_cr.bin) reused.
Existing mcepreboot(/home/tgq/workspace/Linux_for_Tegra/bootloader/mce_c10_prod_cr.bin) reused.
Existing mtsproper(/home/tgq/workspace/Linux_for_Tegra/bootloader/mts_c10_prod_cr.bin) reused.
Existing mb1file(/home/tgq/workspace/Linux_for_Tegra/bootloader/mb1_t194_prod.bin) reused.
Existing bpffile(/home/tgq/workspace/Linux_for_Tegra/bootloader/bpmp_t194.bin) reused.
copying bpfdtbfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/tegra194-a02-bpmp-p3668-a00.dtb)... done.
Existing scefile(/home/tgq/workspace/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing camerafw(/home/tgq/workspace/Linux_for_Tegra/bootloader/camera-rtcpu-rce.img) reused.
Existing spefile(/home/tgq/workspace/Linux_for_Tegra/bootloader/spe_t194.bin) reused.
Existing wb0boot(/home/tgq/workspace/Linux_for_Tegra/bootloader/warmboot_t194_prod.bin) reused.
Existing tosfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/tos-trusty_t194.img) reused.
Existing eksfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/eks.img) reused.
copying soft_fuses(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/BCT/tegra194-mb1-soft-fuses-l4t.cfg)... done.
copying dtbfile(/home/tgq/workspace/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
Copying nv_boot_control.conf to rootfs
/home/tgq/workspace/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --cmd sign kernel_tegra194-p3668-all-p3509-0000.dtb kernel_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.0004 ] Generating signature
[   0.0035 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0035 ] Assuming zero filled SBK key : not reading 
[   0.0034 ] Generating ratchet blob
[   0.0052 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0058 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0059 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0060 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0060 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0060 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0060 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0060 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0060 ] 
[   0.0061 ] header_magic: d00dfeed
[   0.0081 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0088 ] 
[   0.0111 ] tegrahost_v2 --chip 0x19 0 --magicid KDTB --ratchet_blob ratchet_blob.bin --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0117 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0150 ] 
[   0.0181 ] tegrasign_v3.py --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0182 ] Assuming zero filled SBK key : not reading 
[   0.0231 ] 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.0259 ] 
[   0.0262 ] Signed file: /home/tgq/workspace/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 0x31ee7 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/tgq/workspace/Linux_for_Tegra/bootloader/temp_user_dir/kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
done.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating kernel_tegra194-p3668-all-p3509-0000.dtb to rootfs... done.
Making system.img... 
	populating rootfs from /home/tgq/workspace/Linux_for_Tegra/rootfs ... 	populating /boot/extlinux/extlinux.conf ... done.
	generating sig file of Image ... /home/tgq/workspace/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --cmd sign ./boot/Image kernel
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.0005 ] Generating signature
[   0.0029 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0030 ] Assuming zero filled SBK key : not reading 
[   0.0029 ] Generating ratchet blob
[   0.0250 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0288 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0417 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0417 ] 
[   0.0517 ] header_magic: 5614
[   0.0773 ] tegrahost_v2 --chip 0x19 --align 1_Image
[   0.1115 ] 
[   0.1143 ] tegrahost_v2 --chip 0x19 0 --magicid KRNL --ratchet_blob ratchet_blob.bin --appendsigheader 1_Image zerosbk
[   0.1150 ] adding BCH for 1_Image
[   0.8839 ] 
[   0.8874 ] tegrasign_v3.py --key  --list 1_Image_sigheader_list.xml --pubkeyhash pub_key.key
[   0.8875 ] Assuming zero filled SBK key : not reading 
[   0.9790 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_sigheader.encrypt 1_Image_sigheader.hash zerosbk
[   1.3153 ] 
[   1.3484 ] Signed file: /home/tgq/workspace/Linux_for_Tegra/bootloader/mnt/Image_sigheader.encrypt
l4t_sign_image.sh: Generate header for Image_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x20d3008 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 ./boot/Image.sig
done.
done.
	generating sig file of kernel_tegra194-p3668-all-p3509-0000.dtb ... /home/tgq/workspace/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --cmd sign ./boot/dtb/kernel_tegra194-p3668-all-p3509-0000.dtb kernel_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.0005 ] Generating signature
[   0.0033 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0034 ] Assuming zero filled SBK key : not reading 
[   0.0033 ] Generating ratchet blob
[   0.0060 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0067 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0069 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0069 ] 
[   0.0171 ] header_magic: d00dfeed
[   0.0182 ] tegrahost_v2 --chip 0x19 --align 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0196 ] 
[   0.0225 ] tegrahost_v2 --chip 0x19 0 --magicid KDTB --ratchet_blob ratchet_blob.bin --appendsigheader 1_kernel_tegra194-p3668-all-p3509-0000.dtb zerosbk
[   0.0233 ] adding BCH for 1_kernel_tegra194-p3668-all-p3509-0000.dtb
[   0.0278 ] 
[   0.0307 ] tegrasign_v3.py --key  --list 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[   0.0308 ] Assuming zero filled SBK key : not reading 
[   0.0357 ] 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.0386 ] 
[   0.0390 ] Signed file: /home/tgq/workspace/Linux_for_Tegra/bootloader/mnt/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 0x31ee7 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 ./boot/dtb/kernel_tegra194-p3668-all-p3509-0000.dtb.sig
done.
done.
	generating sig file of initrd ... /home/tgq/workspace/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --cmd sign ./boot/initrd data
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.0004 ] Generating signature
[   0.0031 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0032 ] Assuming zero filled SBK key : not reading 
[   0.0032 ] header_magic: 1f8b0800
[   0.0060 ] tegrahost_v2 --chip 0x19 --align 1_initrd
[   0.0136 ] 
[   0.0160 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_initrd zerosbk
[   0.0167 ] adding BCH for 1_initrd
[   0.1621 ] 
[   0.1662 ] tegrasign_v3.py --key  --list 1_initrd_sigheader_list.xml --pubkeyhash pub_key.key
[   0.1662 ] Assuming zero filled SBK key : not reading 
[   0.1838 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_initrd_sigheader.encrypt 1_initrd_sigheader.hash zerosbk
[   0.2481 ] 
[   0.2535 ] Signed file: /home/tgq/workspace/Linux_for_Tegra/bootloader/mnt/initrd_sigheader.encrypt
l4t_sign_image.sh: Generate header for initrd_sigheader.encrypt
l4t_sign_image.sh: chip 0x19: add 0x6e72d6 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 ./boot/initrd.sig
done.
done.
	generating sig file of extlinux.conf ... /home/tgq/workspace/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key  --cmd sign ./boot/extlinux/extlinux.conf data
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.0005 ] Generating signature
[   0.0033 ] tegrasign_v3.py --getmode mode.txt --key 
[   0.0034 ] Assuming zero filled SBK key : not reading 
[   0.0032 ] header_magic: 54494d45
[   0.0061 ] tegrahost_v2 --chip 0x19 --align 1_extlinux.conf
[   0.0070 ] 
[   0.0090 ] tegrahost_v2 --chip 0x19 0 --magicid DATA --appendsigheader 1_extlinux.conf zerosbk
[   0.0101 ] adding BCH for 1_extlinux.conf
[   0.0102 ] 
[   0.0132 ] tegrasign_v3.py --key  --list 1_extlinux_sigheader.conf_list.xml --pubkeyhash pub_key.key
[   0.0133 ] Assuming zero filled SBK key : not reading 
[   0.0180 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_extlinux_sigheader.conf.encrypt 1_extlinux_sigheader.conf.hash zerosbk
[   0.0189 ] 
[   0.0191 ] Signed file: /home/tgq/workspace/Linux_for_Tegra/bootloader/mnt/extlinux_sigheader.conf.encrypt
l4t_sign_image.sh: Generate header for extlinux_sigheader.conf.encrypt
l4t_sign_image.sh: chip 0x19: add 0x350 to offset  0x8 in sig file
l4t_sign_image.sh: Generate 16-byte-size-aligned base file for extlinux_sigheader.conf.encrypt
l4t_sign_image.sh: the sign header is saved at ./boot/extlinux/extlinux.conf.sig
done.
done.
	Sync'ing system.img ... done.
	Converting RAW image to Sparse image... done.
system.img built successfully. 
Existing tbcfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/cboot_t194.bin) reused.
copying tbcdtbfile(/home/tgq/workspace/Linux_for_Tegra/kernel/dtb/tegra194-p3668-all-p3509-0000.dtb)... done.
copying cfgfile(/home/tgq/workspace/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc_p3668.xml) to flash.xml... done.
Existing flasher(/home/tgq/workspace/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu_t194.bin) reused.
Existing flashapp(/home/tgq/workspace/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 "flash; reboot" --soft_fuses tegra194-mb1-soft-fuses-l4t.cfg  --cfg flash.xml --chip 0x19 --minratchet_config tegra194-mb1-bct-ratchet-p3668.cfg --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"   
saving flash command in /home/tgq/workspace/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/tgq/workspace/Linux_for_Tegra/bootloader/flash_win.bat
*** Flashing target device started. ***
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.0296 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.0296 ] Assuming zero filled SBK key
[   0.0027 ] Generating RCM messages
[   0.0053 ] tegrahost_v2 --chip 0x19 0 --magicid MB1B --appendsigheader mb1_t194_prod.bin zerosbk
[   0.0060 ] Header already present for mb1_t194_prod.bin
[   0.0093 ] 
[   0.0389 ] tegrasign_v3.py --getmode mode.txt --key None
[   0.0390 ] Assuming zero filled SBK key
[   0.0414 ] tegrasign_v3.py --file mb1_t194_prod_sigheader.bin --key None --length 1136 --offset 2960 --pubkeyhash pub_key.key
[   0.0415 ] Assuming zero filled SBK key
[   0.0203 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_t194_prod_sigheader.bin mb1_t194_prod_sigheader.hash zerosbk
[   0.0235 ] 
[   0.0309 ] tegrabct_v2 --chip 0x19 0 --sfuse tegra194-mb1-soft-fuses-l4t.cfg sfuse.bin
[   0.0387 ] 
[   0.0420 ] tegrabct_v2 --chip 0x19 0 --ratchet_blob ratchet_blob.bin --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   0.0427 ] FwIndex: 1, MinRatchetLevel: 0
[   0.0429 ] FwIndex: 2, MinRatchetLevel: 0
[   0.0429 ] FwIndex: 3, MinRatchetLevel: 0
[   0.0429 ] FwIndex: 4, MinRatchetLevel: 0
[   0.0429 ] FwIndex: 5, MinRatchetLevel: 0
[   0.0429 ] FwIndex: 6, MinRatchetLevel: 0
[   0.0429 ] FwIndex: 7, MinRatchetLevel: 0
[   0.0430 ] FwIndex: 11, MinRatchetLevel: 0
[   0.0430 ] FwIndex: 12, MinRatchetLevel: 0
[   0.0430 ] FwIndex: 13, MinRatchetLevel: 0
[   0.0430 ] FwIndex: 14, MinRatchetLevel: 0
[   0.0430 ] FwIndex: 15, MinRatchetLevel: 0
[   0.0430 ] FwIndex: 16, MinRatchetLevel: 0
[   0.0430 ] FwIndex: 17, MinRatchetLevel: 0
[   0.0430 ] FwIndex: 18, MinRatchetLevel: 0
[   0.0431 ] FwIndex: 19, MinRatchetLevel: 0
[   0.0431 ] FwIndex: 30, MinRatchetLevel: 0
[   0.0431 ] FwIndex: 31, MinRatchetLevel: 0
[   0.0431 ] FwIndex: 32, MinRatchetLevel: 0
[   0.0431 ] 
[   0.0624 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x19 0 --sfuses sfuse.bin --download rcm mb1_t194_prod_sigheader.bin 0 0
[   0.0635 ] RCM 0 is saved as rcm_0.rcm
[   0.0685 ] RCM 1 is saved as rcm_1.rcm
[   0.0686 ] RCM 2 is saved as rcm_2.rcm
[   0.0687 ] List of rcm files are saved in rcm_list.xml
[   0.0688 ] 
[   0.0688 ] Signing RCM messages
[   0.0992 ] tegrasign_v3.py --getmontgomeryvalues montgomery.bin --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0993 ] Assuming zero filled SBK key
[   0.0780 ] Copying signature to RCM mesages
[   0.0802 ] tegrarcm_v2 --chip 0x19 0 --updatesig rcm_list_signed.xml
[   0.0816 ] 
[   0.0817 ] Parsing partition layout
[   0.0925 ] tegraparser_v2 --pt flash.xml.tmp
[   0.0969 ] 
[   0.0971 ] Reading ramcode from backup chip_info.bin file
[   0.1022 ] RAMCODE Read from Device: 0

[   0.1023 ] Disable BPMP dtb trim, using default dtb
[   0.1023 ] 
[   0.1023 ] Creating list of images to be signed
[   0.1056 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --ratchet_blob ratchet_blob.bin --list images_list.xml zerosbk
[   0.1063 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.1069 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.1075 ] MB1: Nvheader already present is mb1_t194_prod.bin
[   0.1096 ] Header already present for mb1_t194_prod_sigheader.bin
[   0.1100 ] adding BCH for spe_t194.bin
[   0.1128 ] adding BCH for spe_t194.bin
[   0.1141 ] adding BCH for nvtboot_t194.bin
[   0.1261 ] adding BCH for nvtboot_t194.bin
[   0.1290 ] Header already present for preboot_c10_prod_cr.bin
[   0.1352 ] Header already present for preboot_c10_prod_cr.bin
[   0.1356 ] Header already present for mce_c10_prod_cr.bin
[   0.1357 ] Header already present for mce_c10_prod_cr.bin
[   0.1370 ] adding BCH for mts_c10_prod_cr.bin
[   0.1565 ] adding BCH for mts_c10_prod_cr.bin
[   0.2129 ] Header already present for warmboot_t194_prod.bin
[   0.2742 ] Header already present for warmboot_t194_prod.bin
[   0.2748 ] adding BCH for xusb_sil_rel_fw
[   0.2768 ] adding BCH for xusb_sil_rel_fw
[   0.2790 ] adding BCH for cboot_t194.bin
[   0.2813 ] adding BCH for cboot_t194.bin
[   0.2888 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   0.2966 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb
[   0.2997 ] adding BCH for tos-trusty_t194.img
[   0.3230 ] adding BCH for tos-trusty_t194.img
[   0.3291 ] adding BCH for eks.img
[   0.3569 ] adding BCH for eks.img
[   0.3570 ] adding BCH for adsp-fw.bin
[   0.3699 ] adding BCH for adsp-fw.bin
[   0.3713 ] adding BCH for camera-rtcpu-rce.img
[   0.3743 ] adding BCH for camera-rtcpu-rce.img
[   0.3784 ] adding BCH for bpmp_t194.bin
[   0.4163 ] adding BCH for bpmp_t194.bin
[   0.4300 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   0.5028 ] adding BCH for tegra194-a02-bpmp-p3668-a00.dtb
[   0.5103 ] adding BCH for boot.img
[   0.5458 ] adding BCH for boot.img
[   1.2238 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   1.9187 ] adding BCH for kernel_tegra194-p3668-all-p3509-0000.dtb
[   1.9219 ] adding BCH for recovery.img
[   2.4222 ] adding BCH for tegra194-p3668-all-p3509-0000.dtb.rec
[   3.2191 ] 
[   3.2191 ] Filling MB1 storage info
[   3.2191 ] Generating br-bct
[   3.2220 ] Performing cfg overlay
[   3.2220 ] ['tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg', 'tegra194-memcfg-sw-override.cfg']
[   3.2222 ] sw_memcfg_overlay.pl -c tegra194-mb1-bct-memcfg-p3668-0001-a00.cfg -s tegra194-memcfg-sw-override.cfg -o /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1.cfg
[   3.8061 ] 
[   3.8063 ] Updating dev and MSS params in BR BCT
[   3.8063 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   3.8661 ] 
[   3.8661 ] Updating bl info
[   3.8692 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin
[   3.8709 ] 
[   3.8710 ] Generating signatures
[   3.9003 ] tegrasign_v3.py --key None --list images_list.xml --pubkeyhash pub_key.key
[   3.9004 ] Assuming zero filled SBK key
[   4.2615 ] Generating br-bct
[   4.2649 ] Performing cfg overlay
[   4.2649 ] ['/home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1.cfg']
[   4.2650 ] Updating dev and MSS params in BR BCT
[   4.2650 ] tegrabct_v2 --dev_param tegra194-br-bct-qspi.cfg --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1.cfg --brbct br_bct.cfg --sfuse tegra194-mb1-soft-fuses-l4t.cfg --chip 0x19 0
[   4.3167 ] 
[   4.3167 ] Updating bl info
[   4.3196 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   4.3221 ] 
[   4.3221 ] Updating smd info
[   4.3247 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 --updatesmdinfo flash.xml.bin
[   4.3263 ] 
[   4.3264 ] Updating Odmdata
[   4.3298 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatefields Odmdata =0xB8190000
[   4.3311 ] 
[   4.3312 ] Get Signed section of bct
[   4.3337 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --listbct bct_list.xml
[   4.3348 ] 
[   4.3376 ] tegrasign_v3.py --key None --list bct_list.xml --pubkeyhash pub_key.key --getmontgomeryvalues montgomery.bin
[   4.3383 ] Assuming zero filled SBK key
[   5.0747 ] 
[   5.0747 ] Updating BCT with signature
[   5.0774 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x19 0 --updatesig bct_list_signed.xml
[   5.0786 ] 
[   5.0787 ] Generating coldboot mb1-bct
[   5.0905 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_cold_boot_bct.cfg --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1.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
[   5.0918 ] MB1-BCT version: 0x1

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

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

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

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

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

[   5.1358 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[   5.1360 ] Added Platform Config 5 data with size :- 128
[   5.1360 ] 
[   5.1360 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   5.1360 ] Added Platform Config 7 data with size :- 392
[   5.1360 ] 
[   5.1360 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   5.1360 ] Added Platform Config 9 data with size :- 40
[   5.1360 ] 
[   5.1361 ] Updating mb1-bct with firmware information
[   5.1393 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.1400 ] MB1-BCT version: 0x1
[   5.1405 ] 
[   5.1405 ] Updating mb1-bct with storage information
[   5.1428 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.1439 ] MB1-BCT version: 0x1
[   5.1443 ] 
[   5.1444 ] Updating mb1-bct with ratchet information
[   5.1473 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_cold_boot_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   5.1487 ] MB1-BCT version: 0x1
[   5.1490 ] FwIndex: 1, MinRatchetLevel: 0
[   5.1492 ] FwIndex: 2, MinRatchetLevel: 0
[   5.1493 ] FwIndex: 3, MinRatchetLevel: 0
[   5.1493 ] FwIndex: 4, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 5, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 6, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 7, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 11, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 12, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 13, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 14, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 15, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 16, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 17, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 18, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 19, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 30, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 31, MinRatchetLevel: 0
[   5.1494 ] FwIndex: 32, MinRatchetLevel: 0
[   5.1495 ] 
[   5.1521 ] tegrahost_v2 --chip 0x19 --align mb1_cold_boot_bct_MB1.bct
[   5.1529 ] 
[   5.1553 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   5.1559 ] adding BCH for mb1_cold_boot_bct_MB1.bct
[   5.1565 ] 
[   5.1865 ] tegrasign_v3.py --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.1865 ] Assuming zero filled SBK key
[   5.1643 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   5.1655 ] 
[   5.1656 ] Generating recovery mb1-bct
[   5.1686 ] tegrabct_v2 --chip 0x19 0 --mb1bct mb1_bct.cfg --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1.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
[   5.1693 ] MB1-BCT version: 0x1

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

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

[   5.1788 ] Parsing config file :tegra19x-mb1-padvoltage-p3668-a01.cfg 
[   5.1794 ] Added Platform Config 2 data with size :- 24
[   5.1797 ] 
[   5.1797 ] Parsing config file :tegra194-mb1-bct-pmic-p3668-0001-a00.cfg 
[   5.1797 ] Added Platform Config 4 data with size :- 348
[   5.1797 ] 
[   5.1797 ] Parsing config file :tegra194-mb1-bct-reset-p3668-0001-a00.cfg 
[   5.1797 ] Added Platform Config 3 data with size :- 92
[   5.1797 ] 
[   5.1797 ] Parsing config file :tegra19x-mb1-prod-p3668-0001-a00.cfg 
[   5.1797 ] Added Platform Config 5 data with size :- 128
[   5.1797 ] 
[   5.1797 ] Parsing config file :tegra194-mb1-bct-gpioint-p3668-0001-a00.cfg 
[   5.1797 ] Added Platform Config 7 data with size :- 392
[   5.1797 ] 
[   5.1797 ] Parsing config file :tegra19x-mb1-bct-device-qspi-p3668.cfg 
[   5.1797 ] Added Platform Config 9 data with size :- 40
[   5.1797 ] 
[   5.1798 ] Updating mb1-bct with firmware information
[   5.1825 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   5.1833 ] MB1-BCT version: 0x1
[   5.1838 ] 
[   5.1838 ] Updating mb1-bct with storage information
[   5.1864 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   5.1871 ] MB1-BCT version: 0x1
[   5.1875 ] 
[   5.1876 ] Updating mb1-bct with ratchet information
[   5.1904 ] tegrabct_v2 --chip 0x19 --mb1bct mb1_bct_MB1.bct --minratchet tegra194-mb1-bct-ratchet-p3668.cfg
[   5.1912 ] MB1-BCT version: 0x1
[   5.1915 ] FwIndex: 1, MinRatchetLevel: 0
[   5.1918 ] FwIndex: 2, MinRatchetLevel: 0
[   5.1918 ] FwIndex: 3, MinRatchetLevel: 0
[   5.1918 ] FwIndex: 4, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 5, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 6, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 7, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 11, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 12, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 13, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 14, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 15, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 16, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 17, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 18, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 19, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 30, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 31, MinRatchetLevel: 0
[   5.1919 ] FwIndex: 32, MinRatchetLevel: 0
[   5.1919 ] 
[   5.1943 ] tegrahost_v2 --chip 0x19 --align mb1_bct_MB1.bct
[   5.1951 ] 
[   5.1973 ] tegrahost_v2 --chip 0x19 0 --magicid MBCT --ratchet_blob ratchet_blob.bin --appendsigheader mb1_bct_MB1.bct zerosbk
[   5.1980 ] adding BCH for mb1_bct_MB1.bct
[   5.1987 ] 
[   5.2285 ] tegrasign_v3.py --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.2286 ] Assuming zero filled SBK key
[   5.2063 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   5.2076 ] 
[   5.2076 ] Generating coldboot mem-bct
[   5.2103 ] tegrabct_v2 --chip 0x19 0 --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1.cfg --membct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_1.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_2.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_3.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_4.bct
[   5.2111 ] Packing sdram param for instance[0]
[   5.2503 ] Packing sdram param for instance[1]
[   5.2505 ] Packing sdram param for instance[2]
[   5.2506 ] Packing sdram param for instance[3]
[   5.2506 ] Packing sdram param for instance[4]
[   5.2506 ] Packing sdram param for instance[5]
[   5.2506 ] Packing sdram param for instance[6]
[   5.2506 ] Packing sdram param for instance[7]
[   5.2506 ] Packing sdram param for instance[8]
[   5.2506 ] Packing sdram param for instance[9]
[   5.2506 ] Packing sdram param for instance[10]
[   5.2506 ] Packing sdram param for instance[11]
[   5.2506 ] Packing sdram param for instance[12]
[   5.2506 ] Packing sdram param for instance[13]
[   5.2506 ] Packing sdram param for instance[14]
[   5.2506 ] Packing sdram param for instance[15]
[   5.2506 ] 
[   5.2507 ] Getting sector size from pt
[   5.2532 ] tegraparser_v2 --getsectorsize flash.xml.bin sector_info.bin
[   5.2540 ] 
[   5.2541 ] BlockSize read from layout is 200

[   5.2561 ] tegrahost_v2 --chip 0x19 0 --blocksize 512 --magicid MEMB --addsigheader_multi /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_1.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_2.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_3.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_4.bct
[   5.2568 ] adding BCH for /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_1.bct
[   5.2588 ] 
[   5.2612 ] tegrahost_v2 --chip 0x19 --align mem_coldboot.bct
[   5.2619 ] 
[   5.2641 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_coldboot.bct zerosbk
[   5.2648 ] Header already present for mem_coldboot.bct
[   5.2651 ] 
[   5.2943 ] tegrasign_v3.py --key None --list mem_coldboot_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.2943 ] Assuming zero filled SBK key
[   5.2721 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_coldboot_sigheader.bct.encrypt mem_coldboot_sigheader.bct.hash zerosbk
[   5.2734 ] 
[   5.2735 ] Generating recovery mem-bct
[   5.2761 ] tegrabct_v2 --chip 0x19 0 --sdram /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1.cfg --membct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_1.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_2.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_3.bct /home/tgq/workspace/Linux_for_Tegra/bootloader/24385/tmpnyx44a5e1_4.bct
[   5.2770 ] Packing sdram param for instance[0]
[   5.3167 ] Packing sdram param for instance[1]
[   5.3171 ] Packing sdram param for instance[2]
[   5.3173 ] Packing sdram param for instance[3]
[   5.3173 ] Packing sdram param for instance[4]
[   5.3173 ] Packing sdram param for instance[5]
[   5.3173 ] Packing sdram param for instance[6]
[   5.3173 ] Packing sdram param for instance[7]
[   5.3173 ] Packing sdram param for instance[8]
[   5.3173 ] Packing sdram param for instance[9]
[   5.3173 ] Packing sdram param for instance[10]
[   5.3173 ] Packing sdram param for instance[11]
[   5.3173 ] Packing sdram param for instance[12]
[   5.3174 ] Packing sdram param for instance[13]
[   5.3174 ] Packing sdram param for instance[14]
[   5.3174 ] Packing sdram param for instance[15]
[   5.3174 ] 
[   5.3191 ] tegrahost_v2 --chip 0x19 --align mem_rcm.bct
[   5.3200 ] 
[   5.3221 ] tegrahost_v2 --chip 0x19 0 --magicid MEMB --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm.bct zerosbk
[   5.3227 ] adding BCH for mem_rcm.bct
[   5.3236 ] 
[   5.3532 ] tegrasign_v3.py --key None --list mem_rcm_sigheader.bct_list.xml --pubkeyhash pub_key.key
[   5.3533 ] Assuming zero filled SBK key
[   5.3310 ] tegrahost_v2 --chip 0x19 0 --updatesigheader mem_rcm_sigheader.bct.encrypt mem_rcm_sigheader.bct.hash zerosbk
[   5.3323 ] 
[   5.3324 ] Copying signatures
[   5.3350 ] tegrahost_v2 --chip 0x19 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   6.7827 ] 
[   6.7828 ] Boot Rom communication
[   6.7852 ] tegrarcm_v2 --chip 0x19 0 --rcm rcm_list_signed.xml
[   6.7860 ] BR_CID: 0x880219116428a001180000000e0080c0
[   7.0864 ] RCM version 0X190001
[   7.1988 ] Boot Rom communication completed
[   8.2379 ] 
[   9.2459 ] tegrarcm_v2 --isapplet
[   9.2497 ] Applet version 01.00.0000
[   9.5302 ] 
[   9.5302 ] Sending BCTs
[   9.5328 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[   9.5335 ] Applet version 01.00.0000
[   9.7970 ] Sending bct_bootrom
[   9.7972 ] [................................................] 100%
[   9.8314 ] Sending bct_mb1
[   9.8579 ] [................................................] 100%
[   9.8931 ] Sending bct_mem
[   9.9628 ] [................................................] 100%
[  10.0964 ] 
[  10.0964 ] Generating blob
[  10.0991 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_cpu_t194.bin
[  10.0999 ] 
[  10.1021 ] tegrahost_v2 --chip 0x19 0 --magicid CPBL --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvtboot_recovery_cpu_t194.bin zerosbk
[  10.1028 ] adding BCH for blob_nvtboot_recovery_cpu_t194.bin
[  10.1070 ] 
[  10.1373 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_cpu_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.1374 ] Assuming zero filled SBK key
[  10.1162 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_t194_sigheader.bin.hash zerosbk
[  10.1194 ] 
[  10.1222 ] tegrahost_v2 --chip 0x19 --align blob_nvtboot_recovery_t194.bin
[  10.1231 ] 
[  10.1261 ] tegrahost_v2 --chip 0x19 0 --magicid MB2B --ratchet_blob ratchet_blob.bin --appendsigheader blob_nvtboot_recovery_t194.bin zerosbk
[  10.1270 ] adding BCH for blob_nvtboot_recovery_t194.bin
[  10.1496 ] 
[  10.1802 ] tegrasign_v3.py --key None --list blob_nvtboot_recovery_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.1802 ] Assuming zero filled SBK key
[  10.1580 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_nvtboot_recovery_t194_sigheader.bin.encrypt blob_nvtboot_recovery_t194_sigheader.bin.hash zerosbk
[  10.1613 ] 
[  10.1651 ] tegrahost_v2 --chip 0x19 --align blob_preboot_c10_prod_cr.bin
[  10.1660 ] 
[  10.1680 ] tegrahost_v2 --chip 0x19 0 --magicid MTSP --appendsigheader blob_preboot_c10_prod_cr.bin zerosbk
[  10.1687 ] Header already present for blob_preboot_c10_prod_cr.bin
[  10.1690 ] 
[  10.1991 ] tegrasign_v3.py --key None --list blob_preboot_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.1992 ] Assuming zero filled SBK key
[  10.1770 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_preboot_c10_prod_cr_sigheader.bin.encrypt blob_preboot_c10_prod_cr_sigheader.bin.hash zerosbk
[  10.1780 ] 
[  10.1790 ] tegrahost_v2 --chip 0x19 --align blob_mce_c10_prod_cr.bin
[  10.1801 ] 
[  10.1830 ] tegrahost_v2 --chip 0x19 0 --magicid MTSM --appendsigheader blob_mce_c10_prod_cr.bin zerosbk
[  10.1837 ] Header already present for blob_mce_c10_prod_cr.bin
[  10.1850 ] 
[  10.2150 ] tegrasign_v3.py --key None --list blob_mce_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.2151 ] Assuming zero filled SBK key
[  10.1929 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mce_c10_prod_cr_sigheader.bin.encrypt blob_mce_c10_prod_cr_sigheader.bin.hash zerosbk
[  10.1959 ] 
[  10.1989 ] tegrahost_v2 --chip 0x19 --align blob_mts_c10_prod_cr.bin
[  10.1996 ] 
[  10.2019 ] tegrahost_v2 --chip 0x19 0 --magicid MTSB --appendsigheader blob_mts_c10_prod_cr.bin zerosbk
[  10.2027 ] adding BCH for blob_mts_c10_prod_cr.bin
[  10.2598 ] 
[  10.2898 ] tegrasign_v3.py --key None --list blob_mts_c10_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.2899 ] Assuming zero filled SBK key
[  10.2737 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_mts_c10_prod_cr_sigheader.bin.encrypt blob_mts_c10_prod_cr_sigheader.bin.hash zerosbk
[  10.3074 ] 
[  10.3107 ] tegrahost_v2 --chip 0x19 --align blob_bpmp_t194.bin
[  10.3114 ] 
[  10.3135 ] tegrahost_v2 --chip 0x19 0 --magicid BPMF --ratchet_blob ratchet_blob.bin --appendsigheader blob_bpmp_t194.bin zerosbk
[  10.3143 ] adding BCH for blob_bpmp_t194.bin
[  10.3284 ] 
[  10.3587 ] tegrasign_v3.py --key None --list blob_bpmp_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.3588 ] Assuming zero filled SBK key
[  10.3376 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_bpmp_t194_sigheader.bin.encrypt blob_bpmp_t194_sigheader.bin.hash zerosbk
[  10.3462 ] 
[  10.3496 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-a02-bpmp-p3668-a00.dtb
[  10.3506 ] 
[  10.3525 ] tegrahost_v2 --chip 0x19 0 --magicid BPMD --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra194-a02-bpmp-p3668-a00.dtb zerosbk
[  10.3532 ] adding BCH for blob_tegra194-a02-bpmp-p3668-a00.dtb
[  10.3597 ] 
[  10.3895 ] tegrasign_v3.py --key None --list blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[  10.3896 ] Assuming zero filled SBK key
[  10.3675 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.hash zerosbk
[  10.3717 ] 
[  10.3804 ] tegrahost_v2 --chip 0x19 --align blob_spe_t194.bin
[  10.3815 ] 
[  10.3844 ] tegrahost_v2 --chip 0x19 0 --magicid SPEF --ratchet_blob ratchet_blob.bin --appendsigheader blob_spe_t194.bin zerosbk
[  10.3851 ] adding BCH for blob_spe_t194.bin
[  10.3867 ] 
[  10.4166 ] tegrasign_v3.py --key None --list blob_spe_t194_sigheader.bin_list.xml --pubkeyhash pub_key.key
[  10.4167 ] Assuming zero filled SBK key
[  10.3945 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_spe_t194_sigheader.bin.encrypt blob_spe_t194_sigheader.bin.hash zerosbk
[  10.3966 ] 
[  10.3994 ] tegrahost_v2 --chip 0x19 --align blob_tos-trusty_t194.img
[  10.4001 ] 
[  10.4022 ] tegrahost_v2 --chip 0x19 0 --magicid TOSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tos-trusty_t194.img zerosbk
[  10.4030 ] adding BCH for blob_tos-trusty_t194.img
[  10.4095 ] 
[  10.4395 ] tegrasign_v3.py --key None --list blob_tos-trusty_t194_sigheader.img_list.xml --pubkeyhash pub_key.key
[  10.4395 ] Assuming zero filled SBK key
[  10.4184 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tos-trusty_t194_sigheader.img.encrypt blob_tos-trusty_t194_sigheader.img.hash zerosbk
[  10.4234 ] 
[  10.4263 ] tegrahost_v2 --chip 0x19 --align blob_eks.img
[  10.4278 ] 
[  10.4304 ] tegrahost_v2 --chip 0x19 0 --magicid EKSB --ratchet_blob ratchet_blob.bin --appendsigheader blob_eks.img zerosbk
[  10.4311 ] adding BCH for blob_eks.img
[  10.4312 ] 
[  10.4605 ] tegrasign_v3.py --key None --list blob_eks_sigheader.img_list.xml --pubkeyhash pub_key.key
[  10.4605 ] Assuming zero filled SBK key
[  10.4536 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[  10.4592 ] 
[  10.4655 ] tegrahost_v2 --chip 0x19 --align blob_tegra194-p3668-all-p3509-0000.dtb
[  10.4683 ] 
[  10.4722 ] tegrahost_v2 --chip 0x19 0 --magicid CDTB --ratchet_blob ratchet_blob.bin --appendsigheader blob_tegra194-p3668-all-p3509-0000.dtb zerosbk
[  10.4738 ] adding BCH for blob_tegra194-p3668-all-p3509-0000.dtb
[  10.4784 ] 
[  10.5083 ] tegrasign_v3.py --key None --list blob_tegra194-p3668-all-p3509-0000_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[  10.5084 ] Assuming zero filled SBK key
[  10.4862 ] tegrahost_v2 --chip 0x19 0 --updatesigheader blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.hash zerosbk
[  10.4889 ] 
[  10.4911 ] tegrahost_v2 --chip 0x19 --generateblob blob.xml blob.bin
[  10.4917 ] number of images in blob are 11
[  10.4921 ] blobsize is 6010072
[  10.4922 ] Added binary blob_nvtboot_recovery_cpu_t194_sigheader.bin.encrypt of size 264064
[  10.4945 ] Added binary blob_nvtboot_recovery_t194_sigheader.bin.encrypt of size 181152
[  10.4949 ] Added binary blob_preboot_c10_prod_cr_sigheader.bin.encrypt of size 24016
[  10.4953 ] Added binary blob_mce_c10_prod_cr_sigheader.bin.encrypt of size 143200
[  10.4957 ] Added binary blob_mts_c10_prod_cr_sigheader.bin.encrypt of size 3430416
[  10.4965 ] Added binary blob_bpmp_t194_sigheader.bin.encrypt of size 856352
[  10.4987 ] Added binary blob_tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt of size 391408
[  10.4991 ] Added binary blob_spe_t194_sigheader.bin.encrypt of size 94960
[  10.4994 ] Added binary blob_tos-trusty_t194_sigheader.img.encrypt of size 410560
[  10.4998 ] Added binary blob_eks_sigheader.img.encrypt of size 5136
[  10.5003 ] Added binary blob_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt of size 208624
[  10.5027 ] 
[  10.5028 ] Sending bootloader and pre-requisite binaries
[  10.5062 ] tegrarcm_v2 --download blob blob.bin
[  10.5072 ] Applet version 01.00.0000
[  10.7809 ] Sending blob
[  10.7810 ] [................................................] 100%
[  12.2012 ] 
[  12.2039 ] tegrarcm_v2 --boot recovery
[  12.2046 ] Applet version 01.00.0000
[  12.4895 ] 
[  13.4921 ] tegrarcm_v2 --isapplet
[  13.9718 ] 
[  13.9745 ] tegrarcm_v2 --ismb2
[  14.2426 ] 
[  14.2524 ] tegradevflash_v2 --iscpubl
[  14.2533 ] Bootloader version 01.00.0000
[  14.4104 ] Bootloader version 01.00.0000
[  14.4659 ] 
[  14.4659 ] Retrieving storage infomation
[  14.4686 ] tegrarcm_v2 --oem platformdetails storage storage_info.bin
[  14.4693 ] Applet is not running on device. Continue with Bootloader
[  14.7936 ] 
[  14.8010 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[  14.8060 ] Bootloader version 01.00.0000
[  14.9769 ] Saved platform info in storage_info.bin
[  15.0327 ] 
[  15.0328 ] Flashing the device
[  15.0354 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
[  15.0367 ] 
[  15.0394 ] tegradevflash_v2 --pt flash.xml.bin --create
[  15.0405 ] Bootloader version 01.00.0000
[  15.1986 ] Erasing spi: 0 ......... [Done]
[  74.2433 ] Writing partition secondary_gpt with gpt_secondary_3_0.bin
[  74.2440 ] [................................................] 100%

[  74.4189 ] Erasing sdmmc_user: 3 ......... [Done]
[  75.2076 ] Writing partition master_boot_record with mbr_1_3.bin
[  75.2078 ] [................................................] 100%
[  75.2428 ] Writing partition primary_gpt with gpt_primary_1_3.bin
[  75.2728 ] [................................................] 100%
[  75.3072 ] Writing partition secondary_gpt with gpt_secondary_1_3.bin
[  75.3477 ] [................................................] 100%

[  75.4244 ] Writing partition mb1 with mb1_t194_prod_sigheader.bin.encrypt
[  75.4247 ] [................................................] 100%
[  75.4879 ] Writing partition mb1_b with mb1_t194_prod_sigheader.bin.encrypt
[  77.1001 ] [................................................] 100%
[  77.1633 ] Writing partition spe-fw with spe_t194_sigheader.bin.encrypt
[  78.7797 ] [................................................] 100%
[  78.8204 ] Writing partition spe-fw_b with spe_t194_sigheader.bin.encrypt
[  79.4486 ] [................................................] 100%
[  79.4936 ] Writing partition mb2 with nvtboot_t194_sigheader.bin.encrypt
[  80.1252 ] [................................................] 100%
[  80.1775 ] Writing partition mb2_b with nvtboot_t194_sigheader.bin.encrypt
[  81.3527 ] [................................................] 100%
[  81.4069 ] Writing partition mts-preboot with preboot_c10_prod_cr_sigheader.bin.encrypt
[  82.5842 ] [................................................] 100%
[  82.6211 ] Writing partition mts-preboot_b with preboot_c10_prod_cr_sigheader.bin.encrypt
[  82.8112 ] [................................................] 100%
[  82.8458 ] Writing partition mts-mce with mce_c10_prod_cr_sigheader.bin.encrypt
[  83.0269 ] [................................................] 100%
[  83.0777 ] Writing partition mts-mce_b with mce_c10_prod_cr_sigheader.bin.encrypt
[  84.0105 ] [................................................] 100%
[  84.0568 ] Writing partition mts-proper with mts_c10_prod_cr_sigheader.bin.encrypt
[  84.9886 ] [................................................] 100%
[ 107.1678 ] Writing partition mts-proper_b with mts_c10_prod_cr_sigheader.bin.encrypt
[ 108.9985 ] [................................................] 100%
[ 129.2198 ] Writing partition sc7 with warmboot_t194_prod_sigheader.bin.encrypt
[ 131.0430 ] [................................................] 100%
[ 131.0839 ] Writing partition sc7_b with warmboot_t194_prod_sigheader.bin.encrypt
[ 131.5243 ] [................................................] 100%
[ 131.5623 ] Writing partition SMD with slot_metadata.bin
[ 132.0037 ] [................................................] 100%
[ 132.0520 ] Writing partition SMD_b with slot_metadata.bin
[ 132.0823 ] [................................................] 100%
[ 132.1148 ] Writing partition xusb-fw with xusb_sil_rel_fw_sigheader.encrypt
[ 132.1460 ] [................................................] 100%
[ 132.1946 ] Writing partition xusb-fw_b with xusb_sil_rel_fw_sigheader.encrypt
[ 133.0623 ] [................................................] 100%
[ 133.1103 ] Writing partition cpu-bootloader with cboot_t194_sigheader.bin.encrypt
[ 133.9800 ] [................................................] 100%
[ 134.0593 ] Writing partition cpu-bootloader_b with cboot_t194_sigheader.bin.encrypt
[ 137.0532 ] [................................................] 100%
[ 137.1375 ] Writing partition bootloader-dtb with tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
[ 140.1360 ] [................................................] 100%
[ 140.1900 ] Writing partition bootloader-dtb_b with tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
[ 141.5361 ] [................................................] 100%
[ 141.5914 ] Writing partition BMP with bmp.blob
[ 142.9372 ] [................................................] 100%
[ 143.0008 ] Writing partition BMP_b with bmp.blob
[ 143.9725 ] [................................................] 100%
[ 144.0198 ] Writing partition secure-os with tos-trusty_t194_sigheader.img.encrypt
[ 144.9927 ] [................................................] 100%
[ 145.0681 ] Writing partition secure-os_b with tos-trusty_t194_sigheader.img.encrypt
[ 147.6876 ] [................................................] 100%
[ 147.7628 ] Writing partition eks with eks_sigheader.img.encrypt
[ 150.3782 ] [................................................] 100%
[ 150.4123 ] Writing partition eks_b with eks_sigheader.img.encrypt
[ 150.4839 ] [................................................] 100%
[ 150.5174 ] Writing partition adsp-fw with adsp-fw_sigheader.bin.encrypt
[ 150.5859 ] [................................................] 100%
[ 150.6267 ] Writing partition adsp-fw_b with adsp-fw_sigheader.bin.encrypt
[ 151.1736 ] [................................................] 100%
[ 151.2152 ] Writing partition rce-fw with camera-rtcpu-rce_sigheader.img.encrypt
[ 151.7572 ] [................................................] 100%
[ 151.8195 ] Writing partition rce-fw_b with camera-rtcpu-rce_sigheader.img.encrypt
[ 153.5642 ] [................................................] 100%
[ 153.6253 ] Writing partition bpmp-fw with bpmp_t194_sigheader.bin.encrypt
[ 155.3714 ] [................................................] 100%
[ 155.5062 ] Writing partition bpmp-fw_b with bpmp_t194_sigheader.bin.encrypt
[ 160.9233 ] [................................................] 100%
[ 161.0459 ] Writing partition bpmp-fw-dtb with tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt
[ 166.4690 ] [................................................] 100%
[ 166.5351 ] Writing partition bpmp-fw-dtb_b with tegra194-a02-bpmp-p3668-a00_sigheader.dtb.encrypt
[ 169.0283 ] [................................................] 100%
[ 169.1044 ] Writing partition VER with qspi_bootblob_ver.txt
[ 171.6039 ] [................................................] 100%
[ 171.6521 ] Writing partition VER_b with qspi_bootblob_ver.txt
[ 171.6811 ] [................................................] 100%
[ 171.7174 ] Writing partition master_boot_record with mbr_1_3.bin
[ 171.7494 ] [................................................] 100%
[ 171.7836 ] Writing partition APP with system.img
[ 171.8106 ] [................................................] 100%
[ 950.9822 ] Writing partition kernel with boot_sigheader.img.encrypt
[ 951.0501 ] [................................................] 100%
[ 956.5693 ] Writing partition kernel_b with boot_sigheader.img.encrypt
[ 956.6113 ] [................................................] 100%
[ 962.2218 ] Writing partition kernel-dtb with kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
[ 962.2607 ] [................................................] 100%
[ 962.3191 ] Writing partition kernel-dtb_b with kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
[ 962.3659 ] [................................................] 100%
[ 962.4183 ] Writing partition recovery with recovery_sigheader.img.encrypt
[ 962.4614 ] [................................................] 100%
[ 969.0558 ] Writing partition recovery-dtb with tegra194-p3668-all-p3509-0000.dtb_sigheader.rec.encrypt
[ 969.0875 ] [................................................] 100%
[ 969.1438 ] Writing partition kernel-bootctrl with kernel_bootctrl.bin
[ 969.1903 ] [................................................] 100%
[ 969.2534 ] Writing partition kernel-bootctrl_b with kernel_bootctrl.bin
[ 969.2877 ] [................................................] 100%
[ 969.3538 ] 
[ 969.3573 ] tegradevflash_v2 --write BCT br_bct_BR.bct
[ 969.3582 ] Bootloader version 01.00.0000
[ 969.5158 ] Writing partition BCT with br_bct_BR.bct
[ 969.5161 ] [................................................] 100%
[ 969.7127 ] 
[ 969.7175 ] tegradevflash_v2 --write MB1_BCT mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 969.7182 ] Bootloader version 01.00.0000
[ 969.8871 ] Writing partition MB1_BCT with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 969.8879 ] [................................................] 100%
[ 970.1495 ] 
[ 970.1522 ] tegradevflash_v2 --write MB1_BCT_b mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 970.1529 ] Bootloader version 01.00.0000
[ 970.3116 ] Writing partition MB1_BCT_b with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 970.3122 ] [................................................] 100%
[ 970.5727 ] 
[ 970.5764 ] tegradevflash_v2 --write MEM_BCT mem_coldboot_sigheader.bct.encrypt
[ 970.5773 ] Bootloader version 01.00.0000
[ 970.7150 ] Writing partition MEM_BCT with mem_coldboot_sigheader.bct.encrypt
[ 970.7154 ] [................................................] 100%
[ 972.0520 ] 
[ 972.0548 ] tegradevflash_v2 --write MEM_BCT_b mem_coldboot_sigheader.bct.encrypt
[ 972.0556 ] Bootloader version 01.00.0000
[ 972.1926 ] Writing partition MEM_BCT_b with mem_coldboot_sigheader.bct.encrypt
[ 972.1932 ] [................................................] 100%
[ 973.5262 ] 
[ 973.5263 ] Flashing completed

[ 973.5263 ] Coldbooting the device
[ 973.5279 ] tegrarcm_v2 --ismb2
[ 973.6735 ] 
[ 973.6763 ] tegradevflash_v2 --reboot coldboot
[ 973.6774 ] Bootloader version 01.00.0000
[ 973.8411 ] 
*** The target t186ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.

Please provide the screenshot of error again.
We can’t see the picture.

Both of your flash logs provided above looks fine.

我截图的就是烧录设备树的日志,就是最后10行,显示没有烧录成功,没有进去,一直停留在100%那里,而不像烧录内核和全部烧录,烧录完了,最后会显示烧录成功的提示;我截图的就是用sudo ./flash.sh -r -k DTB jetson-xavier-nx-devkit mmcblk0p1命令烧录时的截图最后几行。

For xavier nx, please use “kernel-dtb” partition instead of “DTB”.

使用如下命令,是一样的现象:
sudo ./flash.sh -r -k kernel-dtb jetson-xavier-nx-devkit mmcblk0p1
烧录到最后,还是停留在“tegrarcm_v2 --isapplet”这里,无法烧录了。

Why you use " jetson-xavier-nx-devkit-emmc" when doing full flash but you changed to "jetson-xavier-nx-devkit " when you flash only single partition?

全部烧录是没有问题的,单独烧录内核也是没有问题的,就是单独烧录设备树,就无法烧录进去。
还需要请教一个问题,就是外部IIC芯片接在i2c-1总线上面,我在这个 /public/hardware/nvidia/platform/t19x/jakku/kernel-dts/common目录下的 tegra194-p3668-common.dtsi文件中添加i2c-1的节点,内容如下(我用 i2cdetect -l查询,是接在c240000地址上的):
i2c@c240000{
ic2-1@40 {
compatible = “nvidia,xxxx”;
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
};
};
目前驱动和设备时可以匹配的,但是不知道怎么配置这个引脚是复用引脚还是普通IO引脚,我用Jetson_Xavier_NX_Pinmux_Configuration配置引脚后,生成的设备树没有IIC的节点,我想问的是我的iic设备的节点要添加到哪个文件中,还是自己新建一个.dts文件,还是用Jetson_Xavier_NX_Pinmux_Configuration生成的.dtsi文件,以及我怎么写这个iic设备节点的内容,上述的写法是否正确?

我們一次只討論一個問題. 如果你有其他問題, 麻煩開新的topic.

而且我前面的提問你還沒有回覆.

我查了网上很多的资料,全部烧录系统的命令,和单独烧内核的命令,单独烧录设备树的命令都不一样的,我试了,只当烧录设备树时,烧录不进去。那么我请问下,全部烧录系统的命令,和单独烧录内核的命令,单独烧录设备树的命令,各是哪几条命令,可否列出来给我?

  1. 單獨燒錄partition跟全部燒錄的時候後面用的board config都會是一樣的.
    所謂的board config就是Linux_for_Tegra底下那一堆.conf 文件檔. 比方說jetson-xavier-nx-devkit-emmc就是jetson-xavier-nx-devkit-emmc.conf, jetson-xavier-nx-devkit就是 jetson-xavier-nx-devkit.conf
    每一個檔案都必須搭配各自的平台… 不能隨便亂換…
    比方說 jetson-xavier-nx-devkit-emmc 是給NX emmc module用的
    jetson-xavier-nx-devkit 是給NX sdcard module用的

我不太確定你所謂的上網很多資料到底是看了哪些. 這些資訊我們的developer guide就有寫了… 以下連結
https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/quick_start.html#

因為每個用戶在燒錄的時候使用的底板不一定跟你相同 他們的board config也會跟著換… 所以你才會覺得好像都不一樣…

  1. 並不需要所謂 "單燒內核"的命令. 因為kernel image預設是從rootfs讀的. 你要做的是把/boot/Image給換掉
    有另外一個partition "kernel"會作為backup, 但是預設不會從哪邊讀取. 如果你還是想要指令的話

sudo ./flash.sh -r -k kernel your_board_config mmclbk0p1

而所謂的單燒device tree的command 你已經會用了 但看來你的board config可能用錯了

好的,谢谢了!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.