Flashing issue on customize device with TX2 4GB som module

Hi,
I had already a customized device with TX1,i replaced this TX1 som with Tx2 4Gb som,but when i doing programming in this device(now device with Tx2 4Gb som) using flash.sh i am not able to program it the same behavior is happening when i am using jetpack to flash the device.

TX1 and Tx2 are pin compatible but why i am not able to program it,what could be the issue that i can look into.
does DDR come into picture during flashing,any help will be appreciated on this.

Can the TX2 4GB module be flashed with carrier board of dev kit? If so, it might be caused by your custom design.

Yes i am able to flash this TX2 4GB module with devkit but it is not flashing with my custom board.
so i just want to know this is my software issue(same software is flashing devkit) or hardware issue of my custom board design.

just want to know how to debug it,earlier on my custom board TX1 module was present that was our product now we have replaced this Tx1 with TX2 4GB module,so whatever i study i found that TX1 and TX2 are pin compatible,so it should work with Tx2 module on our custom board also.

can you just guide me to debug it.

Any printed info during flashing with TX2 4GB? Can it enter recovery mode? Your board is based on C02 or B04 version P2597 board?

What’s the power supply voltage to system? It is requested to 5V~19.6V for TX1 and 9V~19V for TX2i 4GB.

Yes device is going to recovery mode after power up and also i am able to see ports by lsusb command for flashing.

please get the logs of flashing Tx2 4GB on custom board

d221626@PC-D221626:~/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra$ sudo ./flash.sh jetson-tx2-4GB mmcblk0p1
###############################################################################

L4T BSP Information:

R32 , REVISION: 4.3

###############################################################################

Target Board Information:

Name: jetson-tx2-4GB, Board Family: t186ref, SoC: Tegra 186,

OpMode: production, Boot Authentication: NS,

###############################################################################
./tegraflash.py --chip 0x18 --applet “/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/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.0025 ] Generating RCM messages
[ 0.0033 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0042 ] RCM 0 is saved as rcm_0.rcm
[ 0.0046 ] RCM 1 is saved as rcm_1.rcm
[ 0.0046 ] List of rcm files are saved in rcm_list.xml
[ 0.0046 ]
[ 0.0046 ] Signing RCM messages
[ 0.0053 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0060 ] Assuming zero filled SBK key
[ 0.0083 ]
[ 0.0084 ] Copying signature to RCM mesages
[ 0.0090 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.0099 ]
[ 0.0100 ] Boot Rom communication
[ 0.0106 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0113 ] RCM version 0X180001
[ 0.0121 ] Boot Rom communication completed
[ 1.0185 ]
[ 2.0229 ] tegrarcm_v2 --isapplet
[ 2.0260 ] Applet version 01.00.0000
[ 2.0290 ]
[ 2.0321 ] Retrieving EEPROM data
[ 2.0326 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/cvm.bin
[ 2.0354 ] Applet version 01.00.0000
[ 2.0610 ] Saved platform info in /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/cvm.bin
[ 2.1339 ]
Board ID(3489) version(300) sku(0888) revision(H.0)
Copy /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb to /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb.rec
copying bctfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg)… done.
copying misc_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)… done.
copying pinmux_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg)… done.
copying pmic_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg)… done.
copying pmc_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg)… done.
copying prod_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg)… done.
copying scr_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)… done.
copying scr_cold_boot_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)… done.
copying bootrom_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg)… done.
copying dev_params(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)… done.
Existing bootloader(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying initrd(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/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.000455953 s, 43.9 kB/s
Existing sosfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)… done.
Existing cpu_bootloader(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
Existing mb2blfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-lightning-p3489-a00-00-te770m.dtb)… done.
Existing scefile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing spefile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/spe.bin) reused.
Existing drameccfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)… done.
Existing tosfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/tos-trusty.img) reused.
Existing eksfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb)… done.
Copying nv_boot_control.conf to rootfs
Making system.img…
populating rootfs from /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/rootfs … done.
populating /boot/extlinux/extlinux.conf … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image… done.
system.img built successfully.
Existing tbcfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb)… done.
copying cfgfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml… done.
Existing flasher(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd “flash; reboot” --cfg flash.xml --chip 0x18 --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 --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”
saving flash command in /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/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.0344 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0374 ] Assuming zero filled SBK key
[ 0.0546 ]
[ 0.0547 ] Generating RCM messages
[ 0.0766 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
[ 0.0796 ] RCM 0 is saved as rcm_0.rcm
[ 0.0964 ] RCM 1 is saved as rcm_1.rcm
[ 0.0964 ] List of rcm files are saved in rcm_list.xml
[ 0.0965 ]
[ 0.0965 ] Signing RCM messages
[ 0.0996 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.1022 ] Assuming zero filled SBK key
[ 0.1081 ]
[ 0.1081 ] Copying signature to RCM mesages
[ 0.1088 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.1257 ]
[ 0.1258 ] Parsing partition layout
[ 0.1405 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.1453 ]
[ 0.1455 ] Creating list of images to be signed
[ 0.1585 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 0.5413 ]
[ 0.5414 ] Generating signatures
[ 0.5425 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.5435 ] Assuming zero filled SBK key
[ 0.7826 ]
[ 0.7826 ] Generating br-bct
[ 0.8208 ] Updating dev and MSS params in BR BCT
[ 0.8211 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18 0
[ 0.9946 ]
[ 0.9947 ] Updating bl info
[ 0.9978 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 1.0170 ]
[ 1.0171 ] Updating smd info
[ 1.0200 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[ 1.0238 ]
[ 1.0239 ] Updating Odmdata
[ 1.0267 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatefields Odmdata =0x1090000
[ 1.0302 ]
[ 1.0303 ] Get Signed section of bct
[ 1.0331 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --listbct bct_list.xml
[ 1.0364 ]
[ 1.0393 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 1.0420 ] Assuming zero filled SBK key
[ 1.0428 ]
[ 1.0428 ] Updating BCT with signature
[ 1.0457 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatesig bct_list_signed.xml
[ 1.0491 ]
[ 1.0492 ] Generating coldboot mb1-bct
[ 1.0522 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_cold_boot_bct.cfg --sdram P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg --pmc tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg --pmic tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg --prod tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 1.0553 ] MB1-BCT version: 0xf
[ 1.0561 ] Copying Sdram info from 2 to 3 set
[ 1.0792 ] Copying Sdram info from 3 to 0 set
[ 1.0798 ] Copying Sdram info from 0 to 1 set
[ 1.0803 ] Packing sdram param for instance[0]
[ 1.0807 ] Packing sdram param for instance[1]
[ 1.0811 ] Packing sdram param for instance[2]
[ 1.0815 ] Packing sdram param for instance[3]

[ 1.1035 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg
[ 1.1041 ] Appending platform config data of size :- 2952

[ 1.1270 ] Parsing config file :mobile_scr.cfg
[ 1.1277 ] Appending platform config data of size :- 12240

[ 1.1701 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg
[ 1.1715 ] Appending platform config data of size :- 24

[ 1.1724 ] Parsing config file :tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg
[ 1.1738 ] Appending platform config data of size :- 744

[ 1.1977 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg
[ 1.1991 ] Appending platform config data of size :- 64

[ 1.2102 ] Parsing config file :tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 1.2116 ] Appending platform config data of size :- 2132
[ 1.2212 ]
[ 1.2213 ] Updating mb1-bct with firmware information
[ 1.2244 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 1.2271 ] MB1-BCT version: 0xf
[ 1.2283 ]
[ 1.2283 ] Updating mb1-bct with storage information
[ 1.2312 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 1.2339 ] MB1-BCT version: 0xf
[ 1.2350 ]
[ 1.2378 ] tegrahost_v2 --chip 0x18 --align mb1_cold_boot_bct_MB1.bct
[ 1.2408 ]
[ 1.2438 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[ 1.2471 ]
[ 1.2508 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 1.2536 ] Assuming zero filled SBK key
[ 1.2593 ]
[ 1.2635 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[ 1.2668 ]
[ 1.2671 ] Generating recovery mb1-bct
[ 1.2700 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_bct.cfg --sdram P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg --pmc tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg --pmic tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg --prod tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 1.2728 ] MB1-BCT version: 0xf
[ 1.2733 ] Copying Sdram info from 2 to 3 set
[ 1.2978 ] Copying Sdram info from 3 to 0 set
[ 1.2985 ] Copying Sdram info from 0 to 1 set
[ 1.2993 ] Packing sdram param for instance[0]
[ 1.3000 ] Packing sdram param for instance[1]
[ 1.3007 ] Packing sdram param for instance[2]
[ 1.3015 ] Packing sdram param for instance[3]

[ 1.3022 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg
[ 1.3036 ] Appending platform config data of size :- 2952

[ 1.3046 ] Parsing config file :minimal_scr.cfg
[ 1.3054 ] Appending platform config data of size :- 12240

[ 1.3061 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg
[ 1.3068 ] Appending platform config data of size :- 24
[ 1.3068 ]
[ 1.3068 ] Parsing config file :tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg
[ 1.3068 ] Appending platform config data of size :- 744
[ 1.3068 ]
[ 1.3068 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg
[ 1.3069 ] Appending platform config data of size :- 64
[ 1.3069 ]
[ 1.3069 ] Parsing config file :tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 1.3069 ] Appending platform config data of size :- 2132
[ 1.3069 ]
[ 1.3070 ] Updating mb1-bct with firmware information
[ 1.3090 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 1.3107 ] MB1-BCT version: 0xf
[ 1.3114 ]
[ 1.3114 ] Updating mb1-bct with storage information
[ 1.3129 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 1.3144 ] MB1-BCT version: 0xf
[ 1.3149 ]
[ 1.3163 ] tegrahost_v2 --chip 0x18 --align mb1_bct_MB1.bct
[ 1.3175 ]
[ 1.3188 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[ 1.3202 ]
[ 1.3217 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 1.3228 ] Assuming zero filled SBK key
[ 1.3250 ]
[ 1.3267 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[ 1.3281 ]
[ 1.3282 ] Copying signatures
[ 1.3294 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 1.3679 ]
[ 1.3680 ] Boot Rom communication
[ 1.3710 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[ 1.3738 ] BootRom is not running
[ 6.3716 ]
[ 7.3762 ] tegrarcm_v2 --isapplet
[ 7.3789 ] Applet version 01.00.0000
[ 7.3929 ]
[ 7.3929 ] Sending BCTs
[ 7.3936 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 7.3942 ] Applet version 01.00.0000
[ 7.4171 ] Sending bct_bootrom
[ 7.4172 ] […] 100%
[ 7.4185 ] Sending bct_mb1
[ 7.4196 ] […] 100%
[ 7.4262 ]
Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Failed flashing t186ref.

what is the error for return value 8?

TX24GB board which i have has C02 version and power supply is also coming in range of 9v~19v in my custom board.
what could be the issue both TX1 and Tx2 are pin compatible.

Do you have TX2-8GB module to verify your custom carrier board?

yes we have TX2-8GB module,we will verify it 8GB module,apart from that any other thing we can check

we tried to flash our custom board with TX2 8GB module,we are getting same flashing error as above.

Are the strapping pins design (referring to chapter ‘Strapping’ in DG) on your board all same to P2597 reference schematic?

yes all are same,what could be the issue

It’s strange, never met such problem before. There should be some difference between your board and reference board. You need to check and compare all pins design of module connector to find out.

so you are saying this is hardware pin issue with our board only?
can software be also issue,can we identify something from flashing log which i have shared?
from log i found that cboot is not initialize which is used for flashing the device after MB1(micro boot loader which run after bootrom)

  1. Please paste the flash log from uart

  2. Are you using pure software package from jetpack or you have customized something?

we tried pure software package from jetpack using sdk manager also but we are not able to flash it aslo we tried R32…4.3 default image and tried with flash.sh script to flash we got same error in both the cases.
I have pasted both logs one using flash.sh script using deafult image and other using jetpack.

This is the flash log using default image in sdk 32.4.3

d221626@PC-D221626:~/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra$ sudo ./flash.sh jetson-tx2-4GB mmcblk0p1
###############################################################################

L4T BSP Information:

R32 , REVISION: 4.3

###############################################################################

Target Board Information:

Name: jetson-tx2-4GB, Board Family: t186ref, SoC: Tegra 186,

OpMode: production, Boot Authentication: NS,

###############################################################################
./tegraflash.py --chip 0x18 --applet “/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/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.0025 ] Generating RCM messages
[ 0.0033 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0042 ] RCM 0 is saved as rcm_0.rcm
[ 0.0046 ] RCM 1 is saved as rcm_1.rcm
[ 0.0046 ] List of rcm files are saved in rcm_list.xml
[ 0.0046 ]
[ 0.0046 ] Signing RCM messages
[ 0.0053 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0060 ] Assuming zero filled SBK key
[ 0.0083 ]
[ 0.0084 ] Copying signature to RCM mesages
[ 0.0090 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.0099 ]
[ 0.0100 ] Boot Rom communication
[ 0.0106 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml --skipuid
[ 0.0113 ] RCM version 0X180001
[ 0.0121 ] Boot Rom communication completed
[ 1.0185 ]
[ 2.0229 ] tegrarcm_v2 --isapplet
[ 2.0260 ] Applet version 01.00.0000
[ 2.0290 ]
[ 2.0321 ] Retrieving EEPROM data
[ 2.0326 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/cvm.bin
[ 2.0354 ] Applet version 01.00.0000
[ 2.0610 ] Saved platform info in /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/cvm.bin
[ 2.1339 ]
Board ID(3489) version(300) sku(0888) revision(H.0)
Copy /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb to /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb.rec
copying bctfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg)… done.
copying misc_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)… done.
copying pinmux_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg)… done.
copying pmic_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg)… done.
copying pmc_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg)… done.
copying prod_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg)… done.
copying scr_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)… done.
copying scr_cold_boot_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)… done.
copying bootrom_config(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg)… done.
copying dev_params(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)… done.
Existing bootloader(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying initrd(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/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.000455953 s, 43.9 kB/s
Existing sosfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)… done.
Existing cpu_bootloader(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
Existing mb2blfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-lightning-p3489-a00-00-te770m.dtb)… done.
Existing scefile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing spefile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/spe.bin) reused.
Existing drameccfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)… done.
Existing tosfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/tos-trusty.img) reused.
Existing eksfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb)… done.
Copying nv_boot_control.conf to rootfs
Making system.img…
populating rootfs from /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/rootfs … done.
populating /boot/extlinux/extlinux.conf … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image… done.
system.img built successfully.
Existing tbcfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb)… done.
copying cfgfile(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml… done.
Existing flasher(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd “flash; reboot” --cfg flash.xml --chip 0x18 --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 --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”
saving flash command in /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/d221626/Anjali/ntdi_bag2/new_checkout/ntdi_bag2/Tegra186_Linux_R32.4.3_aarch64/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.0344 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0374 ] Assuming zero filled SBK key
[ 0.0546 ]
[ 0.0547 ] Generating RCM messages
[ 0.0766 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
[ 0.0796 ] RCM 0 is saved as rcm_0.rcm
[ 0.0964 ] RCM 1 is saved as rcm_1.rcm
[ 0.0964 ] List of rcm files are saved in rcm_list.xml
[ 0.0965 ]
[ 0.0965 ] Signing RCM messages
[ 0.0996 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.1022 ] Assuming zero filled SBK key
[ 0.1081 ]
[ 0.1081 ] Copying signature to RCM mesages
[ 0.1088 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.1257 ]
[ 0.1258 ] Parsing partition layout
[ 0.1405 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.1453 ]
[ 0.1455 ] Creating list of images to be signed
[ 0.1585 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 0.5413 ]
[ 0.5414 ] Generating signatures
[ 0.5425 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[ 0.5435 ] Assuming zero filled SBK key
[ 0.7826 ]
[ 0.7826 ] Generating br-bct
[ 0.8208 ] Updating dev and MSS params in BR BCT
[ 0.8211 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18 0
[ 0.9946 ]
[ 0.9947 ] Updating bl info
[ 0.9978 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 1.0170 ]
[ 1.0171 ] Updating smd info
[ 1.0200 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[ 1.0238 ]
[ 1.0239 ] Updating Odmdata
[ 1.0267 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatefields Odmdata =0x1090000
[ 1.0302 ]
[ 1.0303 ] Get Signed section of bct
[ 1.0331 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --listbct bct_list.xml
[ 1.0364 ]
[ 1.0393 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 1.0420 ] Assuming zero filled SBK key
[ 1.0428 ]
[ 1.0428 ] Updating BCT with signature
[ 1.0457 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatesig bct_list_signed.xml
[ 1.0491 ]
[ 1.0492 ] Generating coldboot mb1-bct
[ 1.0522 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_cold_boot_bct.cfg --sdram P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg --pmc tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg --pmic tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg --prod tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 1.0553 ] MB1-BCT version: 0xf
[ 1.0561 ] Copying Sdram info from 2 to 3 set
[ 1.0792 ] Copying Sdram info from 3 to 0 set
[ 1.0798 ] Copying Sdram info from 0 to 1 set
[ 1.0803 ] Packing sdram param for instance[0]
[ 1.0807 ] Packing sdram param for instance[1]
[ 1.0811 ] Packing sdram param for instance[2]
[ 1.0815 ] Packing sdram param for instance[3]

[ 1.1035 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg
[ 1.1041 ] Appending platform config data of size :- 2952

[ 1.1270 ] Parsing config file :mobile_scr.cfg
[ 1.1277 ] Appending platform config data of size :- 12240

[ 1.1701 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg
[ 1.1715 ] Appending platform config data of size :- 24

[ 1.1724 ] Parsing config file :tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg
[ 1.1738 ] Appending platform config data of size :- 744

[ 1.1977 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg
[ 1.1991 ] Appending platform config data of size :- 64

[ 1.2102 ] Parsing config file :tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 1.2116 ] Appending platform config data of size :- 2132
[ 1.2212 ]
[ 1.2213 ] Updating mb1-bct with firmware information
[ 1.2244 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 1.2271 ] MB1-BCT version: 0xf
[ 1.2283 ]
[ 1.2283 ] Updating mb1-bct with storage information
[ 1.2312 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 1.2339 ] MB1-BCT version: 0xf
[ 1.2350 ]
[ 1.2378 ] tegrahost_v2 --chip 0x18 --align mb1_cold_boot_bct_MB1.bct
[ 1.2408 ]
[ 1.2438 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[ 1.2471 ]
[ 1.2508 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 1.2536 ] Assuming zero filled SBK key
[ 1.2593 ]
[ 1.2635 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[ 1.2668 ]
[ 1.2671 ] Generating recovery mb1-bct
[ 1.2700 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_bct.cfg --sdram P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg --pmc tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg --pmic tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg --prod tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 1.2728 ] MB1-BCT version: 0xf
[ 1.2733 ] Copying Sdram info from 2 to 3 set
[ 1.2978 ] Copying Sdram info from 3 to 0 set
[ 1.2985 ] Copying Sdram info from 0 to 1 set
[ 1.2993 ] Packing sdram param for instance[0]
[ 1.3000 ] Packing sdram param for instance[1]
[ 1.3007 ] Packing sdram param for instance[2]
[ 1.3015 ] Packing sdram param for instance[3]

[ 1.3022 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg
[ 1.3036 ] Appending platform config data of size :- 2952

[ 1.3046 ] Parsing config file :minimal_scr.cfg
[ 1.3054 ] Appending platform config data of size :- 12240

[ 1.3061 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg
[ 1.3068 ] Appending platform config data of size :- 24
[ 1.3068 ]
[ 1.3068 ] Parsing config file :tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg
[ 1.3068 ] Appending platform config data of size :- 744
[ 1.3068 ]
[ 1.3068 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg
[ 1.3069 ] Appending platform config data of size :- 64
[ 1.3069 ]
[ 1.3069 ] Parsing config file :tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 1.3069 ] Appending platform config data of size :- 2132
[ 1.3069 ]
[ 1.3070 ] Updating mb1-bct with firmware information
[ 1.3090 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 1.3107 ] MB1-BCT version: 0xf
[ 1.3114 ]
[ 1.3114 ] Updating mb1-bct with storage information
[ 1.3129 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 1.3144 ] MB1-BCT version: 0xf
[ 1.3149 ]
[ 1.3163 ] tegrahost_v2 --chip 0x18 --align mb1_bct_MB1.bct
[ 1.3175 ]
[ 1.3188 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[ 1.3202 ]
[ 1.3217 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 1.3228 ] Assuming zero filled SBK key
[ 1.3250 ]
[ 1.3267 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[ 1.3281 ]
[ 1.3282 ] Copying signatures
[ 1.3294 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 1.3679 ]
[ 1.3680 ] Boot Rom communication
[ 1.3710 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[ 1.3738 ] BootRom is not running
[ 6.3716 ]
[ 7.3762 ] tegrarcm_v2 --isapplet
[ 7.3789 ] Applet version 01.00.0000
[ 7.3929 ]
[ 7.3929 ] Sending BCTs
[ 7.3936 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 7.3942 ] Applet version 01.00.0000
[ 7.4171 ] Sending bct_bootrom
[ 7.4172 ] […] 100%
[ 7.4185 ] Sending bct_mb1
[ 7.4196 ] […] 100%
[ 7.4262 ]
Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Failed flashing t186ref.

================================
below are the flashing logs using jetpack:

Info: [ Disk Avail:183.27 GB ]
Info: change working directory to /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra
Info: [ Component Install Started ]
Info: current working directory is /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra
Info: exec_command [host]:


#!/bin/bash
set -e
set -e
if [ -e ./bootloader/system.img ]; then
echo sudo ./flash.sh --no-systemimg jetson-tx2-4GB mmcblk0p1
sudo ./flash.sh --no-systemimg jetson-tx2-4GB mmcblk0p1
else
echo sudo ./flash.sh jetson-tx2-4GB mmcblk0p1
sudo ./flash.sh jetson-tx2-4GB mmcblk0p1
fi
sleep 20


Info: exec_command: /tmp/tmp_NV_L4T_FLASH_TX2_4GB_WITH_OS_IMAGE_COMP.sh
sudo ./flash.sh jetson-tx2-4GB mmcblk0p1
###############################################################################

L4T BSP Information:

R32 , REVISION: 4.3

###############################################################################

Target Board Information:

Name: jetson-tx2-4GB, Board Family: t186ref, SoC: Tegra 186,

OpMode: production, Boot Authentication: NS,

###############################################################################
./tegraflash.py --chip 0x18 --applet “/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/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.0187 ] Generating RCM messages
[ 0.0206 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[ 0.0223 ] RCM 0 is saved as rcm_0.rcm
[ 0.0248 ] RCM 1 is saved as rcm_1.rcm
[ 0.0248 ] List of rcm files are saved in rcm_list.xml
[ 0.0248 ]
[ 0.0249 ] Signing RCM messages
[ 0.0518 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0555 ] Assuming zero filled SBK key
[ 0.1010 ]
[ 0.1010 ] Copying signature to RCM mesages
[ 0.1031 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.1056 ]
[ 0.1057 ] Boot Rom communication
[ 0.1083 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml --skipuid
[ 0.1104 ] RCM version 0X180001
[ 0.1134 ] Boot Rom communication completed
[ 1.1179 ]
[ 2.1230 ] tegrarcm_v2 --isapplet
[ 2.1260 ] Applet version 01.00.0000
[ 2.1288 ]
[ 2.1327 ] Retrieving EEPROM data
[ 2.1330 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/cvm.bin
[ 2.1359 ] Applet version 01.00.0000
[ 2.1694 ] Saved platform info in /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/cvm.bin
[ 2.2438 ]
creating dummy /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/badpage.bin
Copy /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb to /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb.rec
copying bctfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/BCT/P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg)… done.
copying misc_config(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)… done.
copying pinmux_config(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg)… done.
copying pmic_config(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg)… done.
copying pmc_config(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg)… done.
copying prod_config(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg)… done.
copying scr_config(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)… done.
copying scr_cold_boot_config(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)… done.
copying bootrom_config(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg)… done.
copying dev_params(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)… done.
Existing bootloader(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying initrd(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/l4t_initrd.img)… done.
populating kernel to rootfs… done.
populating initrd to rootfs… done.
populating /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb to rootfs… done.
Making Boot image… done.
Existing sosfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)… done.
Existing cpu_bootloader(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
Existing mb2blfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-lightning-p3489-a00-00-te770m.dtb)… done.
Existing scefile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing spefile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/spe.bin) reused.
Existing drameccfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)… done.
Existing tosfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/tos-trusty.img) reused.
Existing eksfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb)… done.
Copying nv_boot_control.conf to rootfs
Making system.img…
populating rootfs from /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/rootfs … done.
populating /boot/extlinux/extlinux.conf … done.
Sync’ing system.img … done.
Converting RAW image to Sparse image… done.
system.img built successfully.
Existing tbcfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-a00-00-base.dtb)… done.
copying cfgfile(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml… done.
Existing flasher(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --odmdata 0x1090000 --applet mb1_recovery_prod.bin --cmd “flash; reboot” --cfg flash.xml --chip 0x18 --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 --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”
saving flash command in /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/Linux_for_Tegra/bootloader/flashcmd.txt
saving Windows flash command to /home/vvdn/nvidia/nvidia_sdk/JetPack_4.4_Linux_JETSON_TX2_4GB/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.0531 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0555 ] Assuming zero filled SBK key
[ 0.0936 ]
[ 0.0937 ] Generating RCM messages
[ 0.1430 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
[ 0.1453 ] RCM 0 is saved as rcm_0.rcm
[ 0.1749 ] RCM 1 is saved as rcm_1.rcm
[ 0.1758 ] List of rcm files are saved in rcm_list.xml
[ 0.1782 ]
[ 0.1782 ] Signing RCM messages
[ 0.1831 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.1865 ] Assuming zero filled SBK key
[ 0.2063 ]
[ 0.2063 ] Copying signature to RCM mesages
[ 0.2091 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.2378 ]
[ 0.2379 ] Parsing partition layout
[ 0.3643 ] tegraparser_v2 --pt flash.xml.tmp
[ 0.3696 ]
[ 0.3697 ] Creating list of images to be signed
[ 0.5758 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 4.4029 ]
[ 4.4031 ] Generating signatures
[ 4.4079 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[ 4.4097 ] Assuming zero filled SBK key
[ 5.0872 ]
[ 5.0873 ] Generating br-bct
[ 5.1357 ] Updating dev and MSS params in BR BCT
[ 5.1361 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18 0
[ 5.1752 ]
[ 5.1752 ] Updating bl info
[ 5.1772 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[ 5.1810 ]
[ 5.1810 ] Updating smd info
[ 5.1830 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[ 5.1851 ]
[ 5.1852 ] Updating Odmdata
[ 5.1872 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatefields Odmdata =0x1090000
[ 5.1896 ]
[ 5.1897 ] Get Signed section of bct
[ 5.1916 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --listbct bct_list.xml
[ 5.1938 ]
[ 5.1961 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[ 5.1989 ] Assuming zero filled SBK key
[ 5.1997 ]
[ 5.1998 ] Updating BCT with signature
[ 5.2019 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatesig bct_list_signed.xml
[ 5.2042 ]
[ 5.2042 ] Generating coldboot mb1-bct
[ 5.2065 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_cold_boot_bct.cfg --sdram P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg --pmc tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg --pmic tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg --prod tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 5.2088 ] MB1-BCT version: 0xf
[ 5.2110 ] Copying Sdram info from 2 to 3 set
[ 5.2229 ] Copying Sdram info from 3 to 0 set
[ 5.2235 ] Copying Sdram info from 0 to 1 set
[ 5.2241 ] Packing sdram param for instance[0]
[ 5.2248 ] Packing sdram param for instance[1]
[ 5.2256 ] Packing sdram param for instance[2]
[ 5.2262 ] Packing sdram param for instance[3]

[ 5.2378 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg
[ 5.2389 ] Appending platform config data of size :- 2952

[ 5.2832 ] Parsing config file :mobile_scr.cfg
[ 5.2840 ] Appending platform config data of size :- 12240
[ 5.3316 ]
[ 5.3316 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg
[ 5.3316 ] Appending platform config data of size :- 24
[ 5.3317 ]
[ 5.3317 ] Parsing config file :tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg
[ 5.3317 ] Appending platform config data of size :- 744
[ 5.3317 ]
[ 5.3317 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg
[ 5.3317 ] Appending platform config data of size :- 64
[ 5.3317 ]
[ 5.3317 ] Parsing config file :tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 5.3317 ] Appending platform config data of size :- 2132
[ 5.3317 ]
[ 5.3318 ] Updating mb1-bct with firmware information
[ 5.3335 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 5.3353 ] MB1-BCT version: 0xf
[ 5.3390 ]
[ 5.3390 ] Updating mb1-bct with storage information
[ 5.3408 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 5.3425 ] MB1-BCT version: 0xf
[ 5.3433 ]
[ 5.3456 ] tegrahost_v2 --chip 0x18 --align mb1_cold_boot_bct_MB1.bct
[ 5.3475 ]
[ 5.3492 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[ 5.3516 ]
[ 5.3544 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 5.3563 ] Assuming zero filled SBK key
[ 5.3601 ]
[ 5.3635 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[ 5.3665 ]
[ 5.3667 ] Generating recovery mb1-bct
[ 5.3698 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_bct.cfg --sdram P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg --pmc tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg --pmic tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg --prod tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 5.3723 ] MB1-BCT version: 0xf
[ 5.3756 ] Copying Sdram info from 2 to 3 set
[ 5.3867 ] Copying Sdram info from 3 to 0 set
[ 5.3873 ] Copying Sdram info from 0 to 1 set
[ 5.3879 ] Packing sdram param for instance[0]
[ 5.3886 ] Packing sdram param for instance[1]
[ 5.3892 ] Packing sdram param for instance[2]
[ 5.3898 ] Packing sdram param for instance[3]

[ 5.3906 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg
[ 5.3919 ] Appending platform config data of size :- 2952

[ 5.3927 ] Parsing config file :minimal_scr.cfg
[ 5.3934 ] Appending platform config data of size :- 12240

[ 5.3993 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg
[ 5.4001 ] Appending platform config data of size :- 24
[ 5.4001 ]
[ 5.4001 ] Parsing config file :tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg
[ 5.4001 ] Appending platform config data of size :- 744
[ 5.4001 ]
[ 5.4001 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg
[ 5.4001 ] Appending platform config data of size :- 64
[ 5.4001 ]
[ 5.4001 ] Parsing config file :tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg
[ 5.4001 ] Appending platform config data of size :- 2132
[ 5.4001 ]
[ 5.4002 ] Updating mb1-bct with firmware information
[ 5.4022 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 5.4043 ] MB1-BCT version: 0xf
[ 5.4052 ]
[ 5.4052 ] Updating mb1-bct with storage information
[ 5.4077 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 5.4099 ] MB1-BCT version: 0xf
[ 5.4109 ]
[ 5.4136 ] tegrahost_v2 --chip 0x18 --align mb1_bct_MB1.bct
[ 5.4158 ]
[ 5.4180 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[ 5.4204 ]
[ 5.4236 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml --pubkeyhash pub_key.key
[ 5.4258 ] Assuming zero filled SBK key
[ 5.4307 ]
[ 5.4338 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[ 5.4363 ]
[ 5.4365 ] Copying signatures
[ 5.4389 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 5.4944 ]
[ 5.4945 ] Boot Rom communication
[ 5.4978 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[ 5.5001 ] BootRom is not running
[ 10.7227 ]
[ 11.7256 ] tegrarcm_v2 --isapplet
[ 11.7274 ] Applet version 01.00.0000
[ 11.7443 ]
[ 11.7444 ] Sending BCTs
[ 11.7464 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 11.7483 ] Applet version 01.00.0000
[ 11.7834 ] Sending bct_bootrom
[ 11.7849 ] […] 100%
[ 11.7870 ] Sending bct_mb1
[ 11.7875 ] […] 100%
[ 11.7913 ]
[ 11.7913 ]
Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
Failed flashing t186ref.
Info: [ Component Install Finished with Error ]
Info: [ 9.04 GB used. Disk Avail: 174.23 GB ]
Info: [ NV_L4T_FLASH_TX2_4GB_WITH_OS_IMAGE_COMP Install took 9m59s ]
Error: [error]: : [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_TX2_4GB_WITH_OS_IMAGE_COMP.sh; [error]: 20 bytes copied, 0.00050628 s, 39.5 kB/s

Hi,

This is not log from UART.

Is your board able to dump log from uart?

no we are not able to take log from uart,it is detecting but after running flashing command ,minicom got disconnected.

what could be the issue?

Hi,

How about you verify this on devkit to understand and check what would be printed from device during flash first?

so on devkit when actual flashing starts then we get logs on uart console but in our custom board it is failed before actual flashing start.
i was saying to earlier it is failing in BCT stage it is not going to cboot stage where actual flashing starts,how now we can debug it?

logs from UART console of devkit:
[0021.371] I> Welcome to MB2(TBoot-BPMP) Recovery(version: 01.00.160913-t186-M-00.00-mobile-82dac681)
[0021.380] I> bit @ 0xd480000
[0021.383] I> Boot-device: eMMC
[0021.480] I> sdmmc DDR50 mode
[0021.484] I> sdmmc bdev is already initialized
[0021.489] I> pmic: reset reason (nverc) : 0x44
[0021.496] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0021.504] I> Found 33 partitions in SDMMC_USER (instance 3)
[0021.512] I> Binary(16) of size 533504 is loaded @ 0xd7800000
[0021.520] I> Binary(17) of size 314992 is loaded @ 0xd79b3180
[0021.643] I> Copy BTCM section
[0021.647] I> Binary(13) of size 220912 is loaded @ 0x96000000
[0021.655] I> Binary(20) of size 364256 is loaded @ 0x8520f400
[0021.662] I> Binary(14) of size 366000 is loaded @ 0x8530f600
[0021.670] I> TOS boot-params @ 0x85000000
[0021.674] I> TOS params prepared
[0021.677] I> Loading EKS …
[0021.680] I> Binary(15) of size 1040 is loaded @ 0x8590f800
[0021.686] I> EKB detected (length: 0x400) @ 0x8590f800
[0021.691] I> Copied encrypted keys
[0021.694] I> boot profiler @ 0x175844000
[0021.698] I> boot profiler for TOS @ 0x175844000
[0021.703] I> Unhalting SCE
[0021.706] I> Primary Memory Start:80000000 Size:70000000
[0021.711] I> Extended Memory Start:f0110000 Size:856f0000
[0021.717] I> MB2(TBoot-BPMP) Recovery done

NOTICE: BL31: v1.3(release):41d46a9cf
NOTICE: BL31: Built : 21:14:44, Jun 25 2020
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
hwkey-agent: 40: hwkey-agent is running!!
hwkey-agent: 182: key_mgnt_processing …
hwkey-agent: 157: Init hweky-agent services!!
platform_bootstrap_epilog: trusty bootstrap complete
[0022.025] I> Welcome to TBoot-CPU Recovery(version: 01.00.160913-t186-M-00.00-mobile-0baaebf5)
[0022.033] I> gpio framework initialized
[0022.037] I> tegrabl_gpio_driver_register: register ‘nvidia,tegra186-gpio’ driver
[0022.044] I> tegrabl_gpio_driver_register: register ‘nvidia,tegra186-gpio-aon’ driver
[0022.052] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xee
[0022.061] I> tegrabl_gpio_driver_register: register ‘tca9539_gpio_driver’ driver
[0022.068] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xe8
[0022.076] I> tegrabl_gpio_driver_register: register ‘tca9539_gpio_driver’ driver
[0022.083] I> CPU: ARM Cortex A57
[0022.086] I> CPU: MIDR: 0x411fd073, MPIDR: 0x80000100
[0022.091] I> L2 ECC enabled : yes
[0022.094] I> CPU-BL Params @ 0x175800000
[0022.098] I> 0) Base:0x00000000 Size:0x00000000
[0022.102] I> 1) Base:0x177f00000 Size:0x00100000
[0022.107] I> 2) Base:0x177e00000 Size:0x00100000
[0022.112] I> 3) Base:0x177d00000 Size:0x00100000
[0022.116] I> 4) Base:0x177c00000 Size:0x00100000
[0022.121] I> 5) Base:0x177b00000 Size:0x00100000
[0022.125] I> 6) Base:0x177800000 Size:0x00200000
[0022.130] I> 7) Base:0x177400000 Size:0x00400000
[0022.134] I> 8) Base:0x177a00000 Size:0x00100000
[0022.139] I> 9) Base:0x177300000 Size:0x00100000
[0022.143] I> 10) Base:0x176800000 Size:0x00800000
[0022.148] I> 11) Base:0x30000000 Size:0x00040000
[0022.152] I> 12) Base:0xf0000000 Size:0x00100000
[0022.157] I> 13) Base:0x30040000 Size:0x00001000
[0022.161] I> 14) Base:0x30048000 Size:0x00001000
[0022.165] I> 15) Base:0x30049000 Size:0x00001000
[0022.170] I> 16) Base:0x3004a000 Size:0x00001000
[0022.174] I> 17) Base:0x3004b000 Size:0x00001000
[0022.179] I> 18) Base:0x3004c000 Size:0x00001000
[0022.183] I> 19) Base:0x3004d000 Size:0x00001000
[0022.188] I> 20) Base:0x3004e000 Size:0x00001000
[0022.192] I> 21) Base:0x3004f000 Size:0x00001000
[0022.196] I> 22) Base:0x00000000 Size:0x00000000
[0022.201] I> 23) Base:0xf0100000 Size:0x00010000
[0022.205] I> 24) Base:0x00000000 Size:0x00000000
[0022.210] I> 25) Base:0x00000000 Size:0x00000000
[0022.214] I> 26) Base:0x00000000 Size:0x00000000
[0022.219] I> 27) Base:0x00000000 Size:0x00000000
[0022.223] I> 28) Base:0x84400000 Size:0x00400000
[0022.227] I> 29) Base:0x30000000 Size:0x00010000
[0022.232] I> 30) Base:0x178000000 Size:0x08000000
[0022.236] I> 31) Base:0x00000000 Size:0x00000000
[0022.241] I> 32) Base:0x176000000 Size:0x00600000
[0022.245] I> 33) Base:0x80000000 Size:0x70000000
[0022.250] I> 34) Base:0xf0110000 Size:0x856f0000
[0022.254] I> 35) Base:0x00000000 Size:0x00000000
[0022.259] I> 36) Base:0x00000000 Size:0x00000000
[0022.263] I> 37) Base:0x1772e0000 Size:0x00020000
[0022.268] I> 38) Base:0x84000000 Size:0x00400000
[0022.272] I> 39) Base:0x96000000 Size:0x02000000
[0022.277] I> 40) Base:0x85000000 Size:0x01200000
[0022.281] I> 41) Base:0x175800000 Size:0x00500000
[0022.285] I> 42) Base:0x00000000 Size:0x00000000
[0022.290] I> 43) Base:0x00000000 Size:0x00000000
[0022.294] I> Boot-device: eMMC
[0022.317] I> sdmmc DDR50 mode
[0022.322] I> sdmmc bdev is already initialized
[0022.327] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0022.337] I> Found 33 partitions in SDMMC_USER (instance 3)
[0022.342] I> bl dtb load address = @0x8520f400
[0022.346] I> Recovery boot_type: 0
[0022.353] I> fixed regulator driver initialized
[0022.395] I> register ‘maxim’ power off handle
[0022.402] I> virtual i2c enabled
[0022.405] I> registered ‘maxim,max77620’ pmic
[0022.409] I> tegrabl_gpio_driver_register: register ‘max77620-gpio’ driver
[0022.416] I> Entering 3p server
[0022.419] I> SUPER SPEED
[0022.952] I> USB configuration success
[0024.344] I> Populate storage info
[0024.360] I> Erasing device 0: 3
[0024.374] I> Writing device 0: 3.
[0024.381] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0024.388] I> Erasing device 1: 3
[0024.923] I> Writing device 1: 3.
[0024.929] I> Writing device 1: 3.
[0024.936] I> Found 33 partitions in SDMMC_USER (instance 3)
[0024.943] I> Writing device 1: 3.
[0024.949] I> Found 33 partitions in SDMMC_USER (instance 3)
[0024.955] I> Writing mb1 partition.
[0024.968] I> Writing mb1_b partition.
[0024.981] I> Writing dram-ecc-fw partition.
[0024.992] I> Writing badpage-fw partition.
[0025.001] I> Writing badpage-fw_b partition.
[0025.010] I> Writing spe-fw partition.
[0025.023] I> Writing spe-fw_b partition.
[0025.036] I> Writing mb2 partition.
[0025.050] I> Writing mb2_b partition.
[0025.063] I> Writing mts-preboot partition.
[0025.074] I> Writing mts-preboot_b partition.
[0025.086] I> Writing SMD partition.
[0025.130] I> Writing SMD_b partition.
[0025.137] I> Writing VER_b partition.
[0025.143] I> Writing VER partition.
[0025.149] I> Writing device 1: 3.
[0025.155] I> Writing APP partition.
[0667.597] I> Writing mts-bootpack partition.
[0667.820] I> Writing mts-bootpack_b partition.
[0667.920] I> Writing cpu-bootloader partition.
[0667.978] I> Writing cpu-bootloader_b partition.
[0668.024] I> Writing bootloader-dtb partition.
[0668.068] I> Writing bootloader-dtb_b partition.
[0668.092] I> Writing secure-os partition.
[0668.130] I> Writing secure-os_b partition.
[0668.155] I> Writing eks partition.
[0668.179] I> Writing adsp-fw partition.
[0668.211] I> Writing adsp-fw_b partition.
[0668.225] I> Writing bpmp-fw partition.
[0668.272] I> Writing bpmp-fw_b partition.
[0668.303] I> Writing bpmp-fw-dtb partition.
[0668.324] I> Writing bpmp-fw-dtb_b partition.
[0668.344] I> Writing sce-fw partition.
[0668.369] I> Writing sce-fw_b partition.
[0668.383] I> Writing sc7 partition.
[0668.403] I> Writing sc7_b partition.
[0668.435] I> Writing BMP partition.
[0668.462] I> Writing BMP_b partition.
[0668.474] I> Writing kernel-bootctrl partition.
[0668.493] I> Writing kernel-bootctrl_b partition.
[0668.501] I> Writing kernel partition.
[0668.545] I> Writing kernel_b partition.
[0668.574] I> Writing kernel-dtb partition.
[0668.597] I> Writing kernel-dtb_b partition.
[0669.217] I> Writing BCT partition.
[0669.441] I> Writing MB1_BCT partition.
[0669.484] I> Writing MB1_BCT_b partition.
[0669.502] I> Rebooting : reset-coldboot

[0000.145] I> Welcome to MB2(TBoot-BPMP)(version: 01.00.160913-t186-M-00.00-mobile-c700205d)
[0000.153] I> bit @ 0xd480000
[0000.156] I> Boot-device: eMMC
[0000.164] I> sdmmc bdev is already initialized
[0000.168] I> pmic: reset reason (nverc) : 0x0
[0000.200] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0000.219] I> Found 33 partitions in SDMMC_USER (instance 3)
[0000.225] W> No valid slot number is found in scratch register
[0000.230] W> Return default slot: _a
[0000.234] I> A/B: bin_type (16) slot 0
[0000.237] I> Loading partition bpmp-fw at 0xd7800000
[0000.242] I> Reading two headers - addr:0xd7800000 blocks:1
[0000.248] I> Addr: 0xd7800000, start-block: 29417480, num_blocks: 1
[0000.272] I> Binary(16) of size 533504 is loaded @ 0xd7800000
[0000.278] W> No valid slot number is found in scratch register
[0000.284] W> Return default slot: _a
[0000.287] I> A/B: bin_type (17) slot 0
[0000.291] I> Loading partition bpmp-fw-dtb at 0xd79f0000
[0000.296] I> Reading two headers - addr:0xd79f0000 blocks:1
[0000.301] I> Addr: 0xd79f0000, start-block: 29419896, num_blocks: 1
[0000.323] I> Binary(17) of size 314992 is loaded @ 0xd79b3000
[0000.446] I> Loading SCE-FW …
[0000.449] W> No valid slot number is found in scratch register
[0000.454] W> Return default slot: _a
[0000.458] I> A/B: bin_type (12) slot 0
[0000.461] I> Loading partition sce-fw at 0xd7300000
[0000.466] I> Reading two headers - addr:0xd7300000 blocks:1
[0000.472] I> Addr: 0xd7300000, start-block: 29423992, num_blocks: 1
[0000.491] I> Binary(12) of size 125168 is loaded @ 0xd7300000
[0000.496] I> Init SCE
[0000.499] I> Loading APE-FW …
[0000.502] W> No valid slot number is found in scratch register
[0000.507] W> Return default slot: _a
[0000.511] I> A/B: bin_type (11) slot 0
[0000.514] I> Loading partition adsp-fw at 0xd7400000
[0000.519] I> Reading two headers - addr:0xd7400000 blocks:1
[0000.525] I> Addr: 0xd7400000, start-block: 29401096, num_blocks: 1
[0000.544] I> Binary(11) of size 107808 is loaded @ 0xd7400000
[0000.550] I> Copy BTCM section
[0000.553] W> No valid slot number is found in scratch register
[0000.558] W> Return default slot: _a
[0000.562] I> A/B: bin_type (13) slot 0
[0000.565] I> Loading partition cpu-bootloader at 0x96000000
[0000.571] I> Reading two headers - addr:0x96000000 blocks:1
[0000.576] I> Addr: 0x96000000, start-block: 29380616, num_blocks: 1
[0000.597] I> Binary(13) of size 284816 is loaded @ 0x96000000
[0000.603] W> No valid slot number is found in scratch register
[0000.609] W> Return default slot: _a
[0000.612] I> A/B: bin_type (20) slot 0
[0000.616] I> Loading partition bootloader-dtb at 0x8520f400
[0000.621] I> Reading two headers - addr:0x8520f400 blocks:1
[0000.626] I> Addr: 0x8520f400, start-block: 29382664, num_blocks: 1
[0000.648] I> Binary(20) of size 364256 is loaded @ 0x8520f400
[0000.654] W> No valid slot number is found in scratch register
[0000.660] W> Return default slot: _a
[0000.663] I> A/B: bin_type (14) slot 0
[0000.667] I> Loading partition secure-os at 0x8530f600
[0000.672] I> Reading two headers - addr:0x8530f600 blocks:1
[0000.677] I> Addr: 0x8530f600, start-block: 29384712, num_blocks: 1
[0000.699] I> Binary(14) of size 366000 is loaded @ 0x8530f600
[0000.706] I> TOS boot-params @ 0x85000000
[0000.710] I> TOS params prepared
[0000.713] I> Loading EKS …
[0000.716] I> A/B: bin_type (15) slot 0
[0000.720] I> Loading partition eks at 0x8590f800
[0000.724] I> Reading two headers - addr:0x8590f800 blocks:1
[0000.730] I> Addr: 0x8590f800, start-block: 29397000, num_blocks: 1
[0000.748] I> Binary(15) of size 1040 is loaded @ 0x8590f800
[0000.754] I> EKB detected (length: 0x400) @ 0x8590f800
[0000.759] I> Copied encrypted keys
[0000.763] I> boot profiler @ 0x175844000
[0000.767] I> boot profiler for TOS @ 0x175844000
[0000.771] I> Unhalting SCE
[0000.774] I> Primary Memory Start:80000000 Size:70000000
[0000.779] I> Extended Memory Start:f0110000 Size:856f0000
[0000.786] I> MB2(TBoot-BPMP) done

NOTICE: BL31: v1.3(release):41d46a9cf
NOTICE: BL31: Built : 21:14:44, Jun 25 2020
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
hwkey-agent: 40: hwkey-agent is running!!
hwkey-agent: 182: key_mgnt_processing …
hwkey-agent: 157: Init hweky-agent services!!
platform_bootstrap_epilog: trusty bootstrap complete
[0001.092] I> Welcome to Cboot
[0001.095] I> Cboot Version: t186-02737b3e
[0001.099] I> CPU-BL Params @ 0x175800000
[0001.103] I> 0) Base:0x00000000 Size:0x00000000
[0001.107] I> 1) Base:0x177f00000 Size:0x00100000
[0001.112] I> 2) Base:0x177e00000 Size:0x00100000
[0001.116] I> 3) Base:0x177d00000 Size:0x00100000
[0001.121] I> 4) Base:0x177c00000 Size:0x00100000
[0001.125] I> 5) Base:0x177b00000 Size:0x00100000
[0001.130] I> 6) Base:0x177800000 Size:0x00200000
[0001.134] I> 7) Base:0x177400000 Size:0x00400000
[0001.139] I> 8) Base:0x177a00000 Size:0x00100000
[0001.143] I> 9) Base:0x177300000 Size:0x00100000
[0001.148] I> 10) Base:0x176800000 Size:0x00800000
[0001.152] I> 11) Base:0x30000000 Size:0x00040000
[0001.157] I> 12) Base:0xf0000000 Size:0x00100000
[0001.161] I> 13) Base:0x30040000 Size:0x00001000
[0001.166] I> 14) Base:0x30048000 Size:0x00001000
[0001.170] I> 15) Base:0x30049000 Size:0x00001000
[0001.175] I> 16) Base:0x3004a000 Size:0x00001000
[0001.179] I> 17) Base:0x3004b000 Size:0x00001000
[0001.183] I> 18) Base:0x3004c000 Size:0x00001000
[0001.188] I> 19) Base:0x3004d000 Size:0x00001000
[0001.192] I> 20) Base:0x3004e000 Size:0x00001000
[0001.197] I> 21) Base:0x3004f000 Size:0x00001000
[0001.201] I> 22) Base:0x00000000 Size:0x00000000
[0001.206] I> 23) Base:0xf0100000 Size:0x00010000
[0001.210] I> 24) Base:0x00000000 Size:0x00000000
[0001.214] I> 25) Base:0x00000000 Size:0x00000000
[0001.219] I> 26) Base:0x00000000 Size:0x00000000
[0001.223] I> 27) Base:0x00000000 Size:0x00000000
[0001.228] I> 28) Base:0x84400000 Size:0x00400000
[0001.232] I> 29) Base:0x30000000 Size:0x00010000
[0001.237] I> 30) Base:0x178000000 Size:0x08000000
[0001.241] I> 31) Base:0x00000000 Size:0x00000000
[0001.246] I> 32) Base:0x176000000 Size:0x00600000
[0001.250] I> 33) Base:0x80000000 Size:0x70000000
[0001.254] I> 34) Base:0xf0110000 Size:0x856f0000
[0001.259] I> 35) Base:0x00000000 Size:0x00000000
[0001.263] I> 36) Base:0x00000000 Size:0x00000000
[0001.268] I> 37) Base:0x1772e0000 Size:0x00020000
[0001.272] I> 38) Base:0x84000000 Size:0x00400000
[0001.277] I> 39) Base:0x96000000 Size:0x02000000
[0001.281] I> 40) Base:0x85000000 Size:0x01200000
[0001.286] I> 41) Base:0x175800000 Size:0x00500000
[0001.290] I> 42) Base:0x00000000 Size:0x00000000
[0001.295] I> 43) Base:0x00000000 Size:0x00000000
[0001.299] GIC-SPI Target CPU: 4
[0001.302] Interrupts Init done
[0001.305] calling constructors
[0001.309] initializing heap
[0001.311] initializing threads
[0001.314] initializing timers
[0001.318] creating bootstrap completion thread
[0001.322] top of bootstrap2()
[0001.325] CPU: ARM Cortex A57
[0001.329] CPU: MIDR: 0x411FD073, MPIDR: 0x80000100
[0001.334] initializing platform
[0001.337] I> Bl_dtb @0x8520f400
[0001.340] I> gpio framework initialized
[0001.346] I> tegrabl_gpio_driver_register: register ‘nvidia,tegra186-gpio’ driver
[0001.356] I> tegrabl_gpio_driver_register: register ‘nvidia,tegra186-gpio-aon’ driver
[0001.364] I> GPIO framework and drivers are initialized.
[0001.369] I> Boot-device: eMMC
[0001.376] I> sdmmc bdev is already initialized
[0001.407] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0001.424] I> Found 33 partitions in SDMMC_USER (instance 3)
[0001.430] W> opt-in fuse is not set, skip fuse_burning
[0001.435] I> Reserved memory at 0xfbe00000 for U-Boot relocation
[0001.441] W> No valid slot number is found in scratch register
[0001.446] W> Return default slot: _a
[0001.450] I> A/B: bin_type (21) slot 0
[0001.453] I> Loading kernel-dtb from partition
[0001.457] I> Loading partition kernel-dtb at 0x80000000 from device(0x1)
[0001.475] I> Kernel_dtb @0x80000000
[0001.479] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xee
[0001.489] I> tegrabl_gpio_driver_register: register ‘tca9539_gpio_driver’ driver
[0001.496] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xe8
[0001.505] I> tegrabl_gpio_driver_register: register ‘tca9539_gpio_driver’ driver
[0001.515] I> fixed regulator driver initialized
[0001.548] I> register ‘maxim’ power off handle
[0001.554] I> virtual i2c enabled
[0001.557] I> registered ‘maxim,max77620’ pmic
[0001.562] I> tegrabl_gpio_driver_register: register ‘max77620-gpio’ driver
[0001.575] I> Find /i2c@c250000’s alias i2c7
[0001.579] I> Reading eeprom i2c=7 address=0x50
[0001.609] I> Device at /i2c@c250000:0x50
[0001.612] I> Reading eeprom i2c=7 address=0x57
[0001.641] I> Device at /i2c@c250000:0x57
[0001.645] I> Find /i2c@c240000’s alias i2c1
[0001.649] I> Reading eeprom i2c=1 address=0x51
[0001.654] E> I2C: slave not found in slaves.
[0001.659] E> I2C: Could not write 0 bytes to slave: 0x00a2 with repeat start true.
[0001.666] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.672] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa2 at 0x00000000 via instance 1.
[0001.682] E> eeprom: Retry to read I2C slave device.
[0001.687] E> I2C: slave not found in slaves.
[0001.691] E> I2C: Could not write 0 bytes to slave: 0x00a2 with repeat start true.
[0001.698] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.704] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa2 at 0x00000000 via instance 1.
[0001.714] E> eeprom: Failed to read I2C slave device
[0001.718] I> Eeprom read failed 0x3526070d
[0001.723] I> Find /i2c@3160000’s alias i2c0
[0001.727] I> Reading eeprom i2c=0 address=0x50
[0001.731] E> I2C: slave not found in slaves.
[0001.735] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.743] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.749] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 0.
[0001.759] E> eeprom: Failed to read I2C slave device
[0001.763] I> Eeprom read failed 0x3526070d
[0001.768] I> Find /i2c@3180000’s alias i2c2
[0001.772] I> Reading eeprom i2c=2 address=0x54
[0001.776] I> Enabling gpio chip_id = 2, gpio pin = 9
[0001.807] I> Disabling gpio chip_id = 2, gpio pin = 9
[0001.812] I> Device at /i2c@3180000:0x54
[0001.816] I> Reading eeprom i2c=2 address=0x57
[0001.820] I> Enabling gpio chip_id = 2, gpio pin = 9
[0001.826] E> I2C: slave not found in slaves.
[0001.830] E> I2C: Could not write 0 bytes to slave: 0x00ae with repeat start true.
[0001.838] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.843] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xae at 0x00000000 via instance 2.
[0001.853] E> eeprom: Failed to read I2C slave device
[0001.858] I> Disabling gpio chip_id = 2, gpio pin = 9
[0001.863] I> Eeprom read failed 0x00000000
[0001.867] I> create_pm_ids: id: 3489-0888-300-H, len: 15
[0001.872] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00, len: 93
[0001.883] I> create_pm_ids: id: 2597-0000-900-E, len: 15
[0001.888] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00, len: 93
[0001.899] I> create_pm_ids: id: 3326-1000-000-M, len: 15
[0001.904] I> config: mem-type:ff,power-config:ff,misc-config:ff,modem-config:ff,touch-config:ff,display-config:ff, len: 93
[0001.939] I> enabling ‘vdd-hdmi’ regulator
[0001.954] I> regulator ‘vdd-hdmi’ already enabled
[0001.959] E> tegrabl_display_init_regulator: hdmi cable is not connected
[0001.965] E> tegrabl_display_get_pdata, failed to parse dtb settings
[0001.974] E> cannot find any other nvdisp nodes
[0001.979] E> no valid display unit config found in dtb
[0001.984] W> display init failed
[0001.987] initializing target
[0001.990] calling apps_init()
[0001.994] starting app kernel_boot_app
[0002.016] I> found decompressor handler: lz4-legacy
[0002.021] I> decompressing BMP blob …
[0002.031] I> Kernel type = Normal
[0002.034] I> Loading kernel-bootctrl from partition
[0002.039] I> Loading partition kernel-bootctrl at 0xa8000000 from device(0x1)
[0002.058] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid
[0002.065] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
[0002.072] I> ########## Fixed storage boot ##########
[0002.077] W> No valid slot number is found in scratch register
[0002.082] W> Return default slot: _a
[0002.086] I> A/B: bin_type (24) slot 0
[0002.102] I> Boot image size read from image header: 74aba
[0002.107] I> Boot image load address: 0x80400000
[0002.111] I> Loading kernel from partition
[0002.115] I> Loading partition kernel at 0x80400000 from device(0x1)
[0003.326] I> Validate kernel …
[0003.329] I> T18x: Authenticate kernel (bin_type 24), max size 0x4000000
[0003.337] I> kernel-dtb is already loaded
[0003.341] I> Validate kernel-dtb …
[0003.344] I> T18x: Authenticate kernel-dtb (bin_type 21), max size 0x100000
[0003.352] I> Checking boot.img header magic … [0003.356] I> [OK]
[0003.358] I> Kernel hdr @0x80400000
[0003.361] I> Kernel dtb @0x80000000
[0003.364] I> decompressor handler not found
[0003.368] I> Copying kernel image (477882 bytes) from 0x80400800 to 0x80600000 … [0003.376] I> Done
[0003.378] I> Move ramdisk (len: 0) from 0x80475800 to 0x947b0000
[0003.385] I> Updated bpmp info to DTB
[0003.391] I> Ramdisk: Base: 0x947b0000; Size: 0x0
[0003.395] I> Updated initrd info to DTB
[0003.399] W> WARN: Fail to override “console=none” in commandline
[0003.405] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0003.412] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0003.419] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0003.427] I> disabled_core_mask: 0xffffff0c
[0003.431] W> No valid slot number is found in scratch register
[0003.436] W> Return default slot: _a
[0003.440] I> Active slot suffix:
[0003.443] I> add_boot_slot_suffix: slot_suffix =
[0003.447] I> Linux Cmdline: console=ttyS0,115200 androidboot.presilicon=true firmware_class.path=/etc/firmware root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 co
[0003.492] I> Updated bootarg info to DTB
[0003.496] W> MAC addr invalid!
[0003.499] E> Failed to get WIFI MAC address
[0003.503] W> MAC addr invalid!
[0003.506] E> Failed to get Bluetooth MAC address
[0003.510] I> eeprom_get_mac_addr: MAC (type: 2): 00:04:4b:e4:e8:d7
[0003.516] E> Found no plugin manager ids in source DT
[0003.521] W> Add plugin manager ids from board info
[0003.526] W> “plugin-manager” doesn’t exist, creating
[0003.531] W> “ids” doesn’t exist, creating
[0003.535] W> “connection” doesn’t exist, creating
[0003.540] W> “configs” doesn’t exist, creating
[0003.544] I> create_pm_ids: id: 3489-0888-300-H, len: 15
[0003.549] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00, len: 93
[0003.560] I> create_pm_ids: id: 2597-0000-900-E, len: 15
[0003.565] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00, len: 93
[0003.576] I> create_pm_ids: id: 3326-1000-000-M, len: 15
[0003.581] I> config: mem-type:ff,power-config:ff,misc-config:ff,modem-config:ff,touch-config:ff,display-config:ff, len: 93
[0003.592] I> Adding plugin-manager/ids/3489-0888-300=/i2c@c250000:module@0x50
[0003.599] W> “i2c@c250000” doesn’t exist, creating
[0003.604] W> “module@0x50” doesn’t exist, creating
[0003.609] I> Adding plugin-manager/ids/2597-0000-900=/i2c@c250000:module@0x57
[0003.616] W> “module@0x57” doesn’t exist, creating
[0003.621] I> Adding plugin-manager/ids/3326-1000-000=/i2c@3180000:module@0x54
[0003.628] W> “i2c@3180000” doesn’t exist, creating
[0003.633] W> “module@0x54” doesn’t exist, creating
[0003.640] I> Adding plugin-manager/ids/3489-0888-300-H
[0003.647] I> Adding plugin-manager/configs/3489-mem-type 00
[0003.652] I> Adding plugin-manager/configs/3489-power-config 00
[0003.658] I> Adding plugin-manager/configs/3489-misc-config 00
[0003.664] I> Adding plugin-manager/configs/3489-modem-config 00
[0003.670] I> Adding plugin-manager/configs/3489-touch-config 00
[0003.676] I> Adding plugin-manager/configs/3489-display-config 00
[0003.682] I> Adding plugin-manager/cvm
[0003.686] W> “chip-id” doesn’t exist, creating
[0003.690] I> Adding plugin-manager/chip-id/A02P
[0003.695] W> “odm-data” doesn’t exist, creating
[0003.699] I> Adding /chosen/plugin-manager/odm-data
[0003.709] I> added [base:0x80000000, size:0x70000000] to /memory
[0003.715] I> added [base:0xf0200000, size:0x85600000] to /memory
[0003.721] I> added [base:0x175e00000, size:0x200000] to /memory
[0003.727] I> added [base:0x176600000, size:0x200000] to /memory
[0003.732] I> added [base:0x177000000, size:0x200000] to /memory
[0003.738] I> Updated memory info to DTB
[0003.743] E> add_disp_param: failed to get display params for du=0
[0003.750] W> “reset” doesn’t exist, creating
[0003.754] W> “pmc-reset-reason” doesn’t exist, creating
[0003.760] W> “pmic-reset-reason” doesn’t exist, creating
[0003.766] I> Adding ecid(00000001645cc4002000000008000400) to DT
[0003.772] I> disabled_core_mask: 0xffffff0c
[0003.785] I> Add serial number:1422419137235 as DT property
[0003.794] I> Plugin-manager override starting
[0003.799] I> node /plugin-manager/fragement@0 matches
[0003.810] I> node /plugin-manager/fragement@4 matches
[0003.848] I> node /plugin-manager/fragment-e3326@0 matches
[0003.932] I> node /plugin-manager/fragment-p3310-c00-camera matches
[0003.959] I> Disable plugin-manager status in FDT
[0003.963] I> Plugin-manager override finished successfully
[0003.969] I> tegrabl_load_kernel_and_dtb: Done
[0003.973] E> tegrabl_display_clear: display is not initialized
[0003.979] W> Boot logo display failed…
[0003.982] I> Kernel EP: 0x80600000, DTB: 0x80000000