Hello,
I want to extract the system image in TX2-4G,but inprocess of command extraction,there is an error when executing the bootloader progress bar.I want to know how to solve it.
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 3.1
###############################################################################
# Target Board Information:
# Name: jetson-tx2-4GB, Board Family: t186ref, SoC: Tegra 186,
# OpMode: production, Boot Authentication: NS,
###############################################################################
./tegraflash.py --chip 0x18 --applet "/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin" --skipuid --cmd "dump eeprom boardinfo cvm.bin"
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0032 ] Generating RCM messages
[ 0.0041 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0050 ] RCM 0 is saved as rcm_0.rcm
[ 0.0055 ] RCM 1 is saved as rcm_1.rcm
[ 0.0055 ] List of rcm files are saved in rcm_list.xml
[ 0.0055 ]
[ 0.0055 ] Signing RCM messages
[ 0.0064 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0075 ] Assuming zero filled SBK key
[ 0.0110 ]
[ 0.0110 ] Copying signature to RCM mesages
[ 0.0124 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.0142 ]
[ 0.0143 ] Boot Rom communication
[ 0.0156 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0168 ] RCM version 0X180001
[ 0.0180 ] Boot Rom communication completed
[ 1.0250 ]
[ 2.0286 ] tegrarcm_v2 --isapplet
[ 2.0306 ] Applet version 01.00.0000
[ 2.0533 ]
[ 2.0556 ] Retrieving EEPROM data
[ 2.0559 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/cvm.bin
[ 2.0578 ] Applet version 01.00.0000
[ 2.0735 ] Saved platform info in /home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/cvm.bin
[ 2.1465 ]
Board ID(3489) version(300) sku(0888) revision(N.0)
Copy /home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb to /home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb.rec
copying bctfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg)... done.
copying misc_config(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)... done.
copying pinmux_config(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg)... done.
copying pmic_config(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg)... done.
copying pmc_config(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg)... done.
copying prod_config(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg)... done.
copying scr_config(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)... done.
copying scr_cold_boot_config(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)... done.
copying bootrom_config(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg)... done.
copying dev_params(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)... done.
Existing bootloader(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying initrd(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/l4t_initrd.img)... done.
populating kernel to rootfs... done.
populating initrd to rootfs... done.
populating /home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb to rootfs... done.
Making Boot image... done.
20+0 records in
20+0 records out
20 bytes copied, 0.000374097 s, 53.5 kB/s
Existing sosfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)... done.
Existing cpu_bootloader(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
Existing mb2blfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-lightning-p3489-a00-00-te770m.dtb)... done.
Existing scefile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing spefile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/spe.bin) reused.
Existing drameccfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)... done.
Existing tosfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/tos-trusty.img) reused.
Existing eksfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb)... done.
Copying nv_boot_control.conf to rootfs
Skip generating system.img
Existing tbcfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb)... done.
copying cfgfile(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml... done.
Existing flasher(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Reading [APP] and storing to /home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/jingzheng.img ***
./tegraflash.py --bl nvtboot_recovery_cpu.bin --chip 0x18 --applet mb1_recovery_prod.bin --sdram_config P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --misc_config tegra186-mb1-bct-misc-si-l4t.cfg --pinmux_config tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg --pmic_config tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg --prod_config tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg --dev_params emmc.cfg --cfg flash.xml --bins "mb2_bootloader nvtboot_recovery.bin; mts_preboot preboot_d15_prod_cr.bin; mts_bootpack mce_mts_d15_prod_cr.bin; bpmp_fw bpmp.bin; bpmp_fw_dtb tegra186-a02-bpmp-lightning-p3489-a00-00-te770m.dtb; tlk tos-trusty.img; eks eks.img; bootloader_dtb tegra186-quill-p3489-0888-a00-00-base.dtb" --odmdata 0x1090000 --cmd "read APP /home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/jingzheng.img"
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
[ 0.0084 ] Generating RCM messages
[ 0.0091 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
[ 0.0098 ] RCM 0 is saved as rcm_0.rcm
[ 0.0101 ] RCM 1 is saved as rcm_1.rcm
[ 0.0101 ] List of rcm files are saved in rcm_list.xml
[ 0.0101 ]
[ 0.0101 ] Signing RCM messages
[ 0.0109 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0118 ] Assuming zero filled SBK key
[ 0.0146 ]
[ 0.0146 ] Copying signature to RCM mesages
[ 0.0156 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.0168 ]
[ 0.0169 ] Boot Rom communication
[ 0.0178 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[ 0.0186 ] BootRom is not running
[ 5.1401 ]
[ 6.1438 ] tegrarcm_v2 --isapplet
[ 6.1457 ] Applet version 01.00.0000
[ 6.1619 ]
[ 6.1644 ] tegrasign_v2 --key None --getmode mode.txt
[ 6.1663 ] Assuming zero filled SBK key
[ 6.1666 ]
[ 6.1668 ] Parsing partition layout
[ 6.1688 ] tegraparser_v2 --pt flash.xml.tmp
[ 6.1723 ]
[ 6.1724 ] Creating list of images to be signed
[ 6.1746 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 6.2159 ]
[ 6.2160 ] Generating signatures
[ 6.2170 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[ 6.2180 ] Assuming zero filled SBK key
[ 6.4461 ]
[ 6.4461 ] Reading BCT from device for further operations
[ 6.4461 ] Generating blob
[ 6.4469 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery_cpu.bin
[ 6.4476 ]
[ 6.4483 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[ 6.4492 ]
[ 6.4499 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 6.4505 ] Assuming zero filled SBK key
[ 6.4551 ]
[ 6.4560 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[ 6.4569 ]
[ 6.4577 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery.bin
[ 6.4586 ]
[ 6.4593 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[ 6.4601 ]
[ 6.4610 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 6.4616 ] Assuming zero filled SBK key
[ 6.4641 ]
[ 6.4650 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[ 6.4657 ]
[ 6.4665 ] tegrahost_v2 --chip 0x18 --align blob_preboot_d15_prod_cr.bin
[ 6.4671 ]
[ 6.4677 ] tegrahost_v2 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[ 6.4684 ]
[ 6.4691 ] tegrasign_v2 --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 6.4697 ] Assuming zero filled SBK key
[ 6.4714 ]
[ 6.4723 ] tegrahost_v2 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[ 6.4731 ]
[ 6.4740 ] tegrahost_v2 --chip 0x18 --align blob_mce_mts_d15_prod_cr.bin
[ 6.4748 ]
[ 6.4756 ] tegrahost_v2 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[ 6.4799 ]
[ 6.4811 ] tegrasign_v2 --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 6.4820 ] Assuming zero filled SBK key
[ 6.5284 ]
[ 6.5296 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[ 6.5325 ]
[ 6.5335 ] tegrahost_v2 --chip 0x18 --align blob_bpmp.bin
[ 6.5342 ]
[ 6.5348 ] tegrahost_v2 --appendsigheader blob_bpmp.bin zerosbk
[ 6.5364 ]
[ 6.5375 ] tegrasign_v2 --key None --list blob_bpmp_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 6.5384 ] Assuming zero filled SBK key
[ 6.5509 ]
[ 6.5522 ] tegrahost_v2 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[ 6.5537 ]
[ 6.5548 ] tegrahost_v2 --chip 0x18 --align blob_tegra186-a02-bpmp-lightning-p3489-a00-00-te770m.dtb
[ 6.5556 ]
[ 6.5562 ] tegrahost_v2 --appendsigheader blob_tegra186-a02-bpmp-lightning-p3489-a00-00-te770m.dtb zerosbk
[ 6.5573 ]
[ 6.5581 ] tegrasign_v2 --key None --list blob_tegra186-a02-bpmp-lightning-p3489-a00-00-te770m_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[ 6.5588 ] Assuming zero filled SBK key
[ 6.5665 ]
[ 6.5678 ] tegrahost_v2 --updatesigheader blob_tegra186-a02-bpmp-lightning-p3489-a00-00-te770m_sigheader.dtb.encrypt blob_tegra186-a02-bpmp-lightning-p3489-a00-00-te770m_sigheader.dtb.hash zerosbk
[ 6.5692 ]
[ 6.5704 ] tegrahost_v2 --chip 0x18 --align blob_tos-trusty.img
[ 6.5715 ]
[ 6.5725 ] tegrahost_v2 --appendsigheader blob_tos-trusty.img zerosbk
[ 6.5739 ]
[ 6.5751 ] tegrasign_v2 --key None --list blob_tos-trusty_sigheader.img_list.xml --pubkeyhash pub_key.key
[ 6.5761 ] Assuming zero filled SBK key
[ 6.5836 ]
[ 6.5848 ] tegrahost_v2 --updatesigheader blob_tos-trusty_sigheader.img.encrypt blob_tos-trusty_sigheader.img.hash zerosbk
[ 6.5861 ]
[ 6.5871 ] tegrahost_v2 --chip 0x18 --align blob_eks.img
[ 6.5881 ]
[ 6.5890 ] tegrahost_v2 --appendsigheader blob_eks.img zerosbk
[ 6.5897 ]
[ 6.5905 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml --pubkeyhash pub_key.key
[ 6.5911 ] Assuming zero filled SBK key
[ 6.5913 ]
[ 6.5923 ] tegrahost_v2 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[ 6.5931 ]
[ 6.5940 ] tegrahost_v2 --chip 0x18 --align blob_tegra186-quill-p3489-0888-a00-00-base.dtb
[ 6.5947 ]
[ 6.5954 ] tegrahost_v2 --appendsigheader blob_tegra186-quill-p3489-0888-a00-00-base.dtb zerosbk
[ 6.5965 ]
[ 6.5976 ] tegrasign_v2 --key None --list blob_tegra186-quill-p3489-0888-a00-00-base_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[ 6.5983 ] Assuming zero filled SBK key
[ 6.6070 ]
[ 6.6085 ] tegrahost_v2 --updatesigheader blob_tegra186-quill-p3489-0888-a00-00-base_sigheader.dtb.encrypt blob_tegra186-quill-p3489-0888-a00-00-base_sigheader.dtb.hash zerosbk
[ 6.6101 ]
[ 6.6115 ] tegrahost_v2 --chip 0x18 --generateblob blob.xml blob.bin
[ 6.6124 ] number of images in blob are 9
[ 6.6126 ] blobsize is 3983448
[ 6.6127 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 220096
[ 6.6144 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 89776
[ 6.6149 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 63104
[ 6.6155 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2082144
[ 6.6160 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 533904
[ 6.6164 ] Added binary blob_tegra186-a02-bpmp-lightning-p3489-a00-00-te770m_sigheader.dtb.encrypt of size 315296
[ 6.6171 ] Added binary blob_tos-trusty_sigheader.img.encrypt of size 313152
[ 6.6175 ] Added binary blob_eks_sigheader.img.encrypt of size 1440
[ 6.6179 ] Added binary blob_tegra186-quill-p3489-0888-a00-00-base_sigheader.dtb.encrypt of size 364384
[ 6.6193 ]
[ 6.6193 ] Sending bootloader and pre-requisite binaries
[ 6.6202 ] tegrarcm_v2 --download blob blob.bin
[ 6.6208 ] Applet version 01.00.0000
[ 6.6386 ] Sending blob
[ 6.6388 ] [................................................] 100%
[ 7.1676 ]
[ 7.1698 ] tegrarcm_v2 --boot recovery
[ 7.1716 ] Applet version 01.00.0000
[ 7.1916 ]
[ 8.1953 ] tegrarcm_v2 --isapplet
[ 8.1983 ]
[ 8.2004 ] tegradevflash_v2 --iscpubl
[ 8.2023 ] CPU Bootloader is not running on device.
[ 8.2163 ]
[ 9.2199 ] tegrarcm_v2 --isapplet
[ 9.2378 ]
[ 9.2405 ] tegradevflash_v2 --iscpubl
[ 9.2424 ] Bootloader version 01.00.0000
[ 9.2585 ] Bootloader version 01.00.0000
[ 9.2598 ]
[ 9.2598 ] Reading partition
[ 9.2626 ] tegradevflash_v2 --read APP /home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/jingzheng.img
[ 9.2653 ] Bootloader version 01.00.0000
[ 527.0594 ] [........................................ ] 081%
Error: Return value 8
Command tegradevflash_v2 --read APP /home/plink/flash/tx2-xavier/32.3.1/Linux_for_Tegra/jingzheng.img
*** The [APP] has been read successfully. ***
Converting RAW image to Sparse image...
The command I use is :
sudo ./flash.sh -r -k APP -G jingzheng.img jetson-tx2-4GB mmcblk0p1