How to update only DTB in r28.2

According to the topic https://devtalk.nvidia.com/default/topic/1018867/?comment=5187948

We can update DTB with following command.

./flash.sh -r -k DTB jetson-tx1 mmcblk0p1

But I could not update DTB.

How can I update only DTB In r28.2 ?

hello n.tazawa,

that should be correct commands to update DTB for r28.2/ TX1.
could you share the console messages with updating the DTB.
thanks

Hello JerryChang.

Thank you for quick reply.

Here is the console message.

user@user:~/jetpack_3_2/64_TX1/Linux_for_Tegra$ sudo ./flash.sh -r -k DTB jetson-tx1 mmcblk0p1
[sudo] password for user: 
###############################################################################
# L4T BSP Information:
# R28 (release), REVISION: 2.0, GCID: 10567845, BOARD: t210ref, EABI: aarch64, 
# DATE: Fri Mar  2 04:58:16 UTC 2018
###############################################################################
# Target Board Information:
# Name: jetson-tx1, Board Family: t210ref, SoC: Tegra 210, 
# OpMode: production, Boot Authentication: , 
###############################################################################
copying bctfile(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/t210ref/BCT/P2180_A00_LP4_DSC_204Mhz.cfg)... done.
copying bootloader(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating extlinux.conf.emmc to rootfs... done.
	populating /home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb to rootfs... done.
done.
Making Boot image... done.
copying bcffile(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/t210ref/cfg/board_config_p2597-devkit.xml)... done.
Existing sosfile(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
copying tegraboot(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/t210ref/nvtboot.bin)... done.
Existing bpffile(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying wb0boot(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/t210ref/warmboot.bin)... done.
Existing tosfile(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/tos.img) reused.
Existing eksfile(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)... done.
Reusing existing system.img... 
done.
Existing tbcfile(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
copying tbcdtbfile(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb)... done.
copying cfgfile(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/t210ref/cfg/gnu_linux_tegraboot_emmc_full.xml) to flash.xml... done.
creating gpt(ppt.img)... 

*** GPT Parameters ***
device size -------------- 31276924928
bootpart size ------------ 8388608
userpart size ------------ 31268536320
Erase Block Size --------- 2097152
sector size -------------- 4096
Partition Config file ---- flash.xml
Visible partition flag --- GP1
Primary GPT output ------- PPT->ppt.img
Secondary GPT output ----- GPT->gpt.img
Target device name ------- none

*** PARTITION LAYOUT(24 partitions) ***
[     BCT] BH            0         8191       4.0MiB 
[     NVC] BH         8192        16383       4.0MiB nvtboot.bin
[     PPT] UH            0         4095       2.0MiB 
[     GP1] UH         4096         8191       2.0MiB 
[     APP] UH         8192     29368319   14336.0MiB system.img
[     TBC] UV     29368320     29372415       2.0MiB nvtboot_cpu.bin
[     EBT] UV     29372416     29380607       4.0MiB cboot.bin
[     BPF] UV     29380608     29384703       2.0MiB bpmp.bin
[     WB0] UV     29384704     29396991       6.0MiB warmboot.bin
[     RP1] UV     29396992     29405183       4.0MiB tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[     TOS] UV     29405184     29417471       6.0MiB tos.img
[     EKS] UV     29417472     29421567       2.0MiB eks.img
[      FX] UV     29421568     29425663       2.0MiB 
[     BMP] UV     29425664     29687807     128.0MiB bmp.blob
[     SOS] UV     29687808     29728767      20.0MiB 
[     EXI] UV     29728768     29859839      64.0MiB 
[     LNX] UV     29859840     29990911      64.0MiB boot.img
[     DTB] UV     29990912     29999103       4.0MiB tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb
[     NXT] UV     29999104     30003199       2.0MiB 
[     MXB] UV     30003200     30015487       6.0MiB 
[     MXP] UV     30015488     30027775       6.0MiB 
[     USP] UV     30027776     30031871       2.0MiB 
[     UDA] UV     30031872     61067263   15154.0MiB 
[     GPT] UH     61067264     61071359       2.0MiB 
copying flasher(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/t210ref/cboot.bin)... done.
Existing flashapp(/home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [DTB] with tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb ***
./tegraflash.py --bl cboot.bin --bldtb tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb  --chip 0x21 --applet nvtboot_recovery.bin  --cfg flash.xml  --bct  P2180_A00_LP4_DSC_204Mhz.cfg --bct  P2180_A00_LP4_DSC_204Mhz.cfg  --cfg  flash.xml   --cmd "sign; write DTB ./signed/tegra210-jetson-tx1-p2597-2180-a01-devkit_sigheader.dtb.encrypt; reboot" --skipuid 
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.0421 ] Generating RCM messages
[   0.0437 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0
[   0.0452 ] RCM 0 is saved as rcm_0.rcm
[   0.0461 ] RCM 1 is saved as rcm_1.rcm
[   0.0461 ] List of rcm files are saved in rcm_list.xml
[   0.0461 ] 
[   0.0462 ] Signing RCM messages
[   0.0747 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0762 ] Assuming zero filled SBK key
[   0.0971 ] 
[   0.0972 ] Copying signature to RCM mesages
[   0.0989 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml
[   0.1012 ] 
[   0.1013 ] Parsing partition layout
[   0.1159 ] tegraparser --pt flash.xml.tmp
[   0.1208 ] 
[   0.1209 ] Creating list of images to be signed
[   0.1301 ] tegrahost --chip 0x21 --partitionlayout flash.xml.bin --list images_list.xml
[   0.1453 ] 
[   0.1454 ] Generating signatures
[   0.1470 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.1485 ] Assuming zero filled SBK key
[   0.2292 ] 
[   0.2293 ] Generating br-bct
[   0.2600 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21
[   0.2614 ] Copying Sdram info from 1 to 2 set
[   0.2726 ] Copying Sdram info from 2 to 3 set
[   0.2726 ] 
[   0.2726 ] Updating boot device parameters
[   0.2740 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.xml.bin
[   0.2753 ] Warning: No sdram params
[   0.2756 ] 
[   0.2756 ] Updating bl info
[   0.2769 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.2789 ] 
[   0.2789 ] Updating secondary storage information into bct
[   0.2799 ] tegraparser --pt flash.xml.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[   0.2812 ] 
[   0.2813 ] Get Signed section bct
[   0.2822 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml
[   0.2836 ] 
[   0.2837 ] Signing BCT
[   0.2856 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[   0.2867 ] Assuming zero filled SBK key
[   0.2874 ] 
[   0.2874 ] Updating BCT with signature
[   0.2886 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml
[   0.2901 ] 
[   0.2902 ] Copying signatures
[   0.2915 ] tegrahost --chip 0x21 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   0.2925 ] Run tegrabct to update tboot signature in bct
[   0.2997 ] 
[   0.2998 ] Copying signed file in /home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/signed
[   0.3165 ] Generating RCM messages
[   0.3178 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0
[   0.3190 ] RCM 0 is saved as rcm_0.rcm
[   0.3203 ] RCM 1 is saved as rcm_1.rcm
[   0.3203 ] List of rcm files are saved in rcm_list.xml
[   0.3203 ] 
[   0.3203 ] Signing RCM messages
[   0.3215 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.3228 ] Assuming zero filled SBK key
[   0.3329 ] 
[   0.3329 ] Copying signature to RCM mesages
[   0.3343 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml
[   0.3370 ] 
[   0.3371 ] Boot Rom communication
[   0.3385 ] tegrarcm --chip 0x21 --rcm rcm_list_signed.xml --skipuid
[   0.3398 ] RCM version 0X210001
[   0.3797 ] Boot Rom communication completed
[   1.3903 ] 
[   1.3904 ] Parsing partition layout
[   1.3924 ] tegraparser --pt flash.xml.tmp
[   1.3950 ] 
[   1.3950 ] Creating list of images to be signed
[   1.3968 ] tegrahost --chip 0x21 --partitionlayout flash.xml.bin --list images_list.xml
[   1.4054 ] 
[   1.4055 ] Generating signatures
[   1.4076 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[   1.4094 ] Assuming zero filled SBK key
[   1.4908 ] 
[   1.4909 ] Send BCT from Host
[   1.4909 ] Generating br-bct
[   1.4924 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21
[   1.4937 ] Copying Sdram info from 1 to 2 set
[   1.4965 ] Copying Sdram info from 2 to 3 set
[   1.4965 ] 
[   1.4965 ] Updating boot device parameters
[   1.4979 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.xml.bin
[   1.4993 ] Warning: No sdram params
[   1.4996 ] 
[   1.4996 ] Updating bl info
[   1.5008 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   1.5030 ] 
[   1.5031 ] Updating secondary storage information into bct
[   1.5045 ] tegraparser --pt flash.xml.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[   1.5062 ] 
[   1.5062 ] Get Signed section bct
[   1.5075 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml
[   1.5091 ] 
[   1.5092 ] Signing BCT
[   1.5118 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[   1.5131 ] Assuming zero filled SBK key
[   1.5142 ] 
[   1.5143 ] Updating BCT with signature
[   1.5155 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml
[   1.5169 ] 
[   1.5169 ] Sending BCTs
[   1.5181 ] tegrarcm --download bct P2180_A00_LP4_DSC_204Mhz.bct
[   1.5192 ] Applet version 00.01.0000
[   1.5235 ] Sending bct
[   1.5237 ] [................................................] 100%
[   1.6478 ] 
[   1.6478 ] Sending bootloader and pre-requisite binaries
[   1.6491 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb 0
[   1.6503 ] Applet version 00.01.0000
[   1.6549 ] Sending ebt
[   1.6553 ] [................................................] 100%
[   1.7560 ] Sending rp1
[   1.7569 ] [................................................] 100%
[   1.8669 ] 
[   1.8686 ] tegrarcm --boot recovery
[   1.8701 ] Applet version 00.01.0000
[   1.8774 ] 
[   1.8775 ] Writing partition
[   1.8973 ] tegradevflash --write DTB /home/user/jetpack_3_2/64_TX1/Linux_for_Tegra/bootloader/signed/tegra210-jetson-tx1-p2597-2180-a01-devkit_sigheader.dtb.encrypt
[   1.8989 ] Cboot version 00.01.0000
[   2.5718 ] Nothing to write
[   2.5718 ] 
[   2.5720 ] Coldbooting the device
[   2.5730 ] tegradevflash --reboot coldboot
[   2.5737 ] Cboot version 00.01.0000
[   2.5791 ] 
*** The [DTB] has been updated successfully. ***

hello n.tazawa,

we will look into this,
by the way, could you please try again without the “-r” option.
thanks

$ sudo ./flash.sh -k DTB jetson-tx1 mmcblk0p1

Had the same issue before reverting back to r28.1:
https://devtalk.nvidia.com/default/topic/1031215/jetson-tx1/jetpack-flashing-dtb-only/

Which dtb file did you modify (e.g., from “kernel/dtb/” one possibility is “tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb”)?

To me it looks like your command to flash the dtb succeeded. The question I think about is which dtb file was actually used in the dtb flash log compared to which dtb file you modified?

How did you determine the dtb did not succeed? Have you compared to the extracted dtb from:

dtc -I fs -O dts -o extracted.dts /proc/device-tree

I modified tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb in kernel/dtb.

I have determined that I have failed to write dtb from kernel log output.
The output of dmesg is as follows.

[    0.032188] DTS File Name: /dvs/git/dirty/git-master_linux/kernel/kernel-4.4/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t210/jetson/kernel-dts/tegra210-jetson-tx1-p2597-2180-a01-devkit.dts
[    0.032256] DTB Build time: Mar  1 2018 20:46:06

Also, extracted dtb’s “nvidia,dtbbuildtime” is older than the dtb we built.

The extracted contents of dtb had the following contents.

nvidia,dtbbuildtime = "Mar  1 2018", "20:46:06";

I built it on March 23, so it should have become that day.

hello n.tazawa,

we’re looking into this,
could you please try below command to update device tree instead,
thanks

sudo ./flash.sh -r -d <device tree> jetson-tx1 mmcblk0p1

The only suggestion I would have is to see if the md5sum or sha1sum of the dtb you created in some other directory matches the md5sum or sha1sum of the one in “Linux_for_Tegra/kernel/dtb/tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb”…and to unpack the driver package again in a blank location, and be certain the same checksum does not match the one from the driver package.

@JerryChang: In this flash command where is the device tree file to be located? Should it be in the same directory as flash.sh? Or perhaps in “Linux_for_Tegra/kernel/dtb/”?

hello linuxdev,

the “-d” option could update the device tree with specified dtb file,
this will not replace original dtb file under Linux_for_tegra/kernel/dtb
thanks

JerryChang-
I think you are missing something in your command
“sudo ./flash.sh -r -d mmcblk0p1”

It doesn’t work for me unless I also add the target board specification like this:
“sudo ./flash.sh -r -d jetson-tx1 mmcblk0p1”

-Dennis

hello dmillard,

nice catch,
already revise the commands.
thanks

hello JerryChang.

I tried it by writing to r28.2 TX2 as following but failed to write dtb.

sudo ./flash.sh -r -d kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb jetson-tx2 mmcblk0p1<a target='_blank' rel='noopener noreferrer' href=''></a>

I also tried the following but failed to write dtb.

https://devtalk.nvidia.com/default/topic/1024105/jetson-tx2/tx2-usb2-0-not-working-how-to-fix-it/post/5210056/#5210056

I have determined that I have failed to write dtb from kernel log output.
The output of dmesg is as follows.

[    0.047020] DTS File Name: /dvs/git/dirty/git-master_linux/kernel/kernel-4.4/arch/arm64/boot/dts/../../../..
[    0.047046] DTB Build time: Mar  1 2018 20:50:46

You might want to post a log of your dtb flash. I would also consider exploring any changes in “/proc/device-tree/” instead of depending on dmesg.

hello linuxdev.

This is the log when executing the following command.

sudo ./flash.sh -r -d kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb jetson-tx2 mmcblk0p1

###############################################################################
# L4T BSP Information:
# R28 (release), REVISION: 2.0, GCID: 10567845, BOARD: t186ref, EABI: aarch64, 
# DATE: Fri Mar  2 04:57:01 UTC 2018
###############################################################################
# Target Board Information:
# Name: jetson-tx2, Board Family: t186ref, SoC: Tegra 186, 
# OpMode: production, Boot Authentication: , 
###############################################################################
./tegraflash.py --chip 0x18 --applet "/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin" --cmd "dump eeprom boardinfo cvm.bin" --skipuid 
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.0035 ] Generating RCM messages
[   0.0048 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[   0.0060 ] RCM 0 is saved as rcm_0.rcm
[   0.0065 ] RCM 1 is saved as rcm_1.rcm
[   0.0065 ] List of rcm files are saved in rcm_list.xml
[   0.0065 ] 
[   0.0065 ] Signing RCM messages
[   0.0077 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0089 ] Assuming zero filled SBK key
[   0.0203 ] 
[   0.0204 ] Copying signature to RCM mesages
[   0.0219 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0246 ] 
[   0.0246 ] Boot Rom communication
[   0.0262 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[   0.0279 ] RCM version 0X180001
[   0.0292 ] Boot Rom communication completed
[   1.0385 ] 
[   1.0404 ] tegrarcm_v2 --isapplet
[   1.0421 ] Applet version 01.00.0000
[   1.0474 ] 
[   1.0491 ] Retrieving EEPROM data
[   1.0493 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/cvm.bin
[   1.0508 ] Applet version 01.00.0000
[   1.0556 ] Saved platform info in /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/cvm.bin
[   1.1360 ] 
copying bctfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg)... done.
copying misc_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)... done.
copying pinmux_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)... done.
copying pmic_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)... done.
copying pmc_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)... done.
copying prod_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)... done.
copying scr_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)... done.
copying scr_cold_boot_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)... done.
copying bootrom_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)... done.
copying dev_params(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)... done.
Existing bootloader(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating extlinux.conf.emmc to rootfs... done.
	populating /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs... done.
done.
Making Boot image... done.
Existing sosfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)... done.
Existing mb2blfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)... done.
Existing scefile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/camera-rtcpu-sce.bin) reused.
Existing spefile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/spe.bin) reused.
copying wb0boot(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)... done.
Existing tosfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/tos.img) reused.
Existing eksfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
Reusing existing system.img... 
done.
Existing tbcfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
copying cfgfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml... done.
Existing flasher(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/tegraflash.py) reused.
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_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-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.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-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"  
saving flash command in /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/flashcmd.txt
./tegraflash.py --bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_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-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.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-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"  
copying boot image (boot.img.sb)... done.
copying partition layout (flash.xml.sb)... done.
copying kernel dtb (tegra186-quill-p3310-1000-c03-00-base.dtb.sb)... done.
saving flash parameters in /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/flash_parameters.txt
--bl nvtboot_recovery_cpu.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_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-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.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-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"  
*** 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.0015 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0029 ] Assuming zero filled SBK key
[   0.0031 ] 
[   0.0031 ] Generating RCM messages
[   0.0045 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm mb1_recovery_prod.bin 0 0
[   0.0059 ] RCM 0 is saved as rcm_0.rcm
[   0.0065 ] RCM 1 is saved as rcm_1.rcm
[   0.0065 ] List of rcm files are saved in rcm_list.xml
[   0.0065 ] 
[   0.0066 ] Signing RCM messages
[   0.0079 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0093 ] Assuming zero filled SBK key
[   0.0184 ] 
[   0.0184 ] Copying signature to RCM mesages
[   0.0196 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0219 ] 
[   0.0219 ] Parsing partition layout
[   0.0233 ] tegraparser_v2 --pt flash.xml.tmp
[   0.0258 ] 
[   0.0259 ] Creating list of images to be signed
[   0.0272 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   0.0858 ] 
[   0.0858 ] Generating signatures
[   0.0873 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.0886 ] Assuming zero filled SBK key
[   0.4583 ] 
[   0.4584 ] Generating br-bct
[   0.4602 ] Updating dev and MSS params in BR BCT
[   0.4603 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18
[   0.4878 ] 
[   0.4879 ] Updating bl info
[   0.4894 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.4919 ] 
[   0.4919 ] Updating smd info
[   0.4935 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[   0.4955 ] 
[   0.4955 ] Updating Odmdata
[   0.4971 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatefields Odmdata =0x1090000
[   0.4988 ] 
[   0.4988 ] Get Signed section bct
[   0.5000 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --listbct bct_list.xml
[   0.5016 ] 
[   0.5016 ] Signing BCT
[   0.5038 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[   0.5050 ] Assuming zero filled SBK key
[   0.5054 ] 
[   0.5054 ] Updating BCT with signature
[   0.5065 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesig bct_list_signed.xml
[   0.5082 ] 
[   0.5082 ] Generating coldboot mb1-bct
[   0.5094 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[   0.5106 ] MB1-BCT version: 0xe
[   0.5109 ] Copying Sdram info from 2 to 3 set
[   0.5395 ] Packing sdram param for instance[0]
[   0.5398 ] Packing sdram param for instance[1]
[   0.5402 ] Packing sdram param for instance[2]
[   0.5405 ] Packing sdram param for instance[3]

[   0.5409 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg 
[   0.5415 ] Appending platform config data of size :- 2904

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

[   0.5433 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg 
[   0.5437 ] Appending platform config data of size :- 24
[   0.5437 ] 
[   0.5437 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg 
[   0.5437 ] Appending platform config data of size :- 708
[   0.5437 ] 
[   0.5437 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg 
[   0.5437 ] Appending platform config data of size :- 64
[   0.5437 ] 
[   0.5437 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg 
[   0.5437 ] Appending platform config data of size :- 1652
[   0.5437 ] 
[   0.5438 ] Updating mb1-bct with firmware information
[   0.5453 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.5465 ] MB1-BCT version: 0xe
[   0.5478 ] 
[   0.5478 ] Updating mb1-bct with storage information
[   0.5493 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.5507 ] MB1-BCT version: 0xe
[   0.5534 ] 
[   0.5549 ] tegrahost_v2 --align mb1_cold_boot_bct_MB1.bct
[   0.5564 ] 
[   0.5574 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   0.5587 ] 
[   0.5600 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml
[   0.5612 ] Assuming zero filled SBK key
[   0.5640 ] 
[   0.5657 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   0.5672 ] 
[   0.5673 ] Generating recovery mb1-bct
[   0.5685 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[   0.5698 ] MB1-BCT version: 0xe
[   0.5702 ] Copying Sdram info from 2 to 3 set
[   0.5986 ] Packing sdram param for instance[0]
[   0.5989 ] Packing sdram param for instance[1]
[   0.5993 ] Packing sdram param for instance[2]
[   0.5996 ] Packing sdram param for instance[3]

[   0.6000 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg 
[   0.6006 ] Appending platform config data of size :- 2904

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

[   0.6024 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg 
[   0.6028 ] Appending platform config data of size :- 24
[   0.6028 ] 
[   0.6028 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg 
[   0.6028 ] Appending platform config data of size :- 708
[   0.6028 ] 
[   0.6028 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg 
[   0.6028 ] Appending platform config data of size :- 64
[   0.6028 ] 
[   0.6028 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg 
[   0.6028 ] Appending platform config data of size :- 1652
[   0.6028 ] 
[   0.6029 ] Updating mb1-bct with firmware information
[   0.6042 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.6055 ] MB1-BCT version: 0xe
[   0.6067 ] 
[   0.6067 ] Updating mb1-bct with storage information
[   0.6081 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.6093 ] MB1-BCT version: 0xe
[   0.6103 ] 
[   0.6115 ] tegrahost_v2 --align mb1_bct_MB1.bct
[   0.6127 ] 
[   0.6139 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[   0.6154 ] 
[   0.6171 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml
[   0.6180 ] Assuming zero filled SBK key
[   0.6212 ] 
[   0.6225 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   0.6241 ] 
[   0.6242 ] Copying signatures
[   0.6254 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   0.7639 ] 
[   0.7640 ] Boot Rom communication
[   0.7658 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml
[   0.7670 ] BootRom is not running
[   1.7651 ] 
[   1.7669 ] tegrarcm_v2 --isapplet
[   1.7686 ] Applet version 01.00.0000
[   1.7731 ] 
[   1.7732 ] Retrieving board information
[   1.7747 ] tegrarcm_v2 --oem platformdetails chip chip_info.bin
[   1.7762 ] Applet version 01.00.0000
[   1.7811 ] Saved platform info in chip_info.bin
[   1.7838 ] Chip minor revision: 2
[   1.7850 ] 
[   1.7851 ] Sending BCTs
[   1.7867 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[   1.7882 ] Applet version 01.00.0000
[   1.7932 ] Sending bct_bootrom
[   1.7935 ] [................................................] 100%
[   1.8041 ] Sending bct_mb1
[   1.8111 ] [................................................] 100%
[   2.1607 ] 
[   2.1607 ] Generating blob
[   2.1627 ] tegrahost_v2 --align blob_nvtboot_recovery_cpu.bin
[   2.1644 ] 
[   2.1659 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[   2.1684 ] 
[   2.1706 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml
[   2.1722 ] Assuming zero filled SBK key
[   2.1821 ] 
[   2.1842 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[   2.1859 ] 
[   2.1874 ] tegrahost_v2 --align blob_nvtboot_recovery.bin
[   2.1887 ] 
[   2.1900 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[   2.1915 ] 
[   2.1931 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml
[   2.1942 ] Assuming zero filled SBK key
[   2.1984 ] 
[   2.2000 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[   2.2017 ] 
[   2.2030 ] tegrahost_v2 --align blob_preboot_d15_prod_cr.bin
[   2.2043 ] 
[   2.2056 ] tegrahost_v2 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[   2.2071 ] 
[   2.2087 ] tegrasign_v2 --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml
[   2.2099 ] Assuming zero filled SBK key
[   2.2133 ] 
[   2.2150 ] tegrahost_v2 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[   2.2166 ] 
[   2.2180 ] tegrahost_v2 --align blob_mce_mts_d15_prod_cr.bin
[   2.2194 ] 
[   2.2206 ] tegrahost_v2 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[   2.2265 ] 
[   2.2284 ] tegrasign_v2 --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml
[   2.2297 ] Assuming zero filled SBK key
[   2.3130 ] 
[   2.3152 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[   2.3200 ] 
[   2.3219 ] tegrahost_v2 --align blob_bpmp.bin
[   2.3234 ] 
[   2.3248 ] tegrahost_v2 --appendsigheader blob_bpmp.bin zerosbk
[   2.3273 ] 
[   2.3293 ] tegrasign_v2 --key None --list blob_bpmp_sigheader.bin_list.xml
[   2.3305 ] Assuming zero filled SBK key
[   2.3505 ] 
[   2.3527 ] tegrahost_v2 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[   2.3549 ] 
[   2.3567 ] tegrahost_v2 --align blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[   2.3581 ] 
[   2.3593 ] tegrahost_v2 --appendsigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[   2.3618 ] 
[   2.3639 ] tegrasign_v2 --key None --list blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[   2.3653 ] Assuming zero filled SBK key
[   2.3858 ] 
[   2.3882 ] tegrahost_v2 --updatesigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.hash zerosbk
[   2.3915 ] 
[   2.3935 ] tegrahost_v2 --align blob_tos.img
[   2.3948 ] 
[   2.3962 ] tegrahost_v2 --appendsigheader blob_tos.img zerosbk
[   2.3977 ] 
[   2.3994 ] tegrasign_v2 --key None --list blob_tos_sigheader.img_list.xml
[   2.4006 ] Assuming zero filled SBK key
[   2.4032 ] 
[   2.4051 ] tegrahost_v2 --updatesigheader blob_tos_sigheader.img.encrypt blob_tos_sigheader.img.hash zerosbk
[   2.4065 ] 
[   2.4077 ] tegrahost_v2 --align blob_eks.img
[   2.4090 ] 
[   2.4101 ] tegrahost_v2 --appendsigheader blob_eks.img zerosbk
[   2.4115 ] 
[   2.4130 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml
[   2.4142 ] Assuming zero filled SBK key
[   2.4146 ] 
[   2.4162 ] tegrahost_v2 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[   2.4175 ] 
[   2.4189 ] tegrahost_v2 --align blob_tegra186-quill-p3310-1000-c03-00-base.dtb
[   2.4200 ] 
[   2.4211 ] tegrahost_v2 --appendsigheader blob_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[   2.4229 ] 
[   2.4243 ] tegrasign_v2 --key None --list blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[   2.4256 ] Assuming zero filled SBK key
[   2.4403 ] 
[   2.4421 ] tegrahost_v2 --updatesigheader blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[   2.4447 ] 
[   2.4467 ] tegrahost_v2 --generateblob blob.xml blob.bin
[   2.4481 ] number of images in blob are 9
[   2.4490 ] blobsize is 3749000
[   2.4495 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 189824
[   2.4529 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 79440
[   2.4539 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 63024
[   2.4549 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2076832
[   2.4559 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 529440
[   2.4567 ] Added binary blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt of size 466160
[   2.4582 ] Added binary blob_tos_sigheader.img.encrypt of size 62976
[   2.4589 ] Added binary blob_eks_sigheader.img.encrypt of size 1488
[   2.4597 ] Added binary blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt of size 279664
[   2.4612 ] 
[   2.4613 ] Sending bootloader and pre-requisite binaries
[   2.4625 ] tegrarcm_v2 --download blob blob.bin
[   2.4637 ] Applet version 01.00.0000
[   2.4685 ] Sending blob
[   2.4686 ] [.............                                   ] 027%
[   2.4686 ] [...........................                     ] 055%
[   2.4686 ] [.........................................       ] 083%
[   2.4686 ] [................................................] 100%
[   2.9755 ] 
[   2.9772 ] tegrarcm_v2 --boot recovery
[   2.9785 ] Applet version 01.00.0000
[   2.9848 ] 
[   2.9861 ] tegrarcm_v2 --isapplet
[   3.6837 ] 
[   3.6856 ] tegradevflash_v2 --iscpubl
[   3.6872 ] CPU Bootloader is not running on device.
[   3.6916 ] 
[   4.9463 ] Retrieving storage infomation
[   4.9479 ] tegrarcm_v2 --oem platformdetails storage storage_info.bin
[   4.9495 ] Applet is not running on device. Continue with Bootloader
[   4.9539 ] 
[   4.9555 ] tegradevflash_v2 --oem platformdetails storage storage_info.bin
[   4.9570 ] Bootloader version 01.00.0000
[   4.9620 ] Saved platform info in storage_info.bin
[   4.9689 ] 
[   4.9689 ] Flashing the device
[   4.9705 ] tegraparser_v2 --storageinfo storage_info.bin --generategpt --pt flash.xml.bin
[   4.9729 ] 
[   4.9745 ] tegradevflash_v2 --pt flash.xml.bin --create
[   4.9760 ] Bootloader version 01.00.0000
[   4.9807 ] Erasing sdmmc_boot: 3 ......... [Done]
[   5.0269 ] Writing partition secondary_gpt with gpt_secondary_0_3.bin
[   5.0280 ] [................................................] 100%

[   5.0913 ] Erasing sdmmc_user: 3 ......... [Done]
[   7.5338 ] Writing partition master_boot_record with mbr_1_3.bin
[   7.5346 ] [................................................] 100%
[   7.5440 ] Writing partition primary_gpt with gpt_primary_1_3.bin
[   7.5551 ] [................................................] 100%
[   7.5652 ] Writing partition secondary_gpt with gpt_secondary_1_3.bin
[   7.5817 ] [................................................] 100%

[   7.6079 ] Writing partition mb1 with mb1_prod.bin.encrypt
[   7.6088 ] [................................................] 100%
[   7.6230 ] Writing partition mb1_b with mb1_prod.bin.encrypt
[   7.6478 ] [................................................] 100%
[   7.6621 ] Writing partition spe-fw with spe_sigheader.bin.encrypt
[   7.6891 ] [................................................] 100%
[   7.7028 ] Writing partition spe-fw_b with spe_sigheader.bin.encrypt
[   7.7171 ] [................................................] 100%
[   7.7314 ] Writing partition mb2 with nvtboot_sigheader.bin.encrypt
[   7.7407 ] [................................................] 100%
[   7.7550 ] Writing partition mb2_b with nvtboot_sigheader.bin.encrypt
[   7.7991 ] [................................................] 100%
[   7.8146 ] Writing partition mts-preboot with preboot_d15_prod_cr_sigheader.bin.encrypt
[   7.8642 ] [................................................] 100%
[   7.8765 ] Writing partition mts-preboot_b with preboot_d15_prod_cr_sigheader.bin.encrypt
[   7.9250 ] [................................................] 100%
[   7.9376 ] Writing partition SMD with slot_metadata.bin
[   7.9953 ] [................................................] 100%
[   8.0206 ] Writing partition SMD_b with slot_metadata.bin
[   8.0308 ] [................................................] 100%
[   8.0407 ] Writing partition master_boot_record with mbr_1_3.bin
[   8.0943 ] [................................................] 100%
[   8.1033 ] Writing partition APP with system.img
[   8.1090 ] [                                                ] 000%
[   8.1090 ] [................................................] 099%
[   8.1090 ] [................................................] 100%
[ 238.0443 ] Writing partition mts-bootpack with mce_mts_d15_prod_cr_sigheader.bin.encrypt
[ 238.0563 ] [.........................                       ] 050%
[ 238.0563 ] [................................................] 100%
[ 238.2146 ] Writing partition mts-bootpack_b with mce_mts_d15_prod_cr_sigheader.bin.encrypt
[ 238.2335 ] [.........................                       ] 050%
[ 238.2335 ] [................................................] 100%
[ 238.3651 ] Writing partition cpu-bootloader with cboot_sigheader.bin.encrypt
[ 238.3855 ] [................................................] 100%
[ 238.4158 ] Writing partition cpu-bootloader_b with cboot_sigheader.bin.encrypt
[ 238.4259 ] [................................................] 100%
[ 238.4507 ] Writing partition bootloader-dtb with tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 238.4612 ] [................................................] 100%
[ 238.4936 ] Writing partition bootloader-dtb_b with tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 238.5044 ] [................................................] 100%
[ 238.5289 ] Writing partition secure-os with tos_sigheader.img.encrypt
[ 238.5388 ] [................................................] 100%
[ 238.5706 ] Writing partition secure-os_b with tos_sigheader.img.encrypt
[ 238.5776 ] [................................................] 100%
[ 238.5903 ] Writing partition eks with eks_sigheader.img.encrypt
[ 238.5971 ] [................................................] 100%
[ 238.6066 ] Writing partition bpmp-fw with bpmp_sigheader.bin.encrypt
[ 238.6130 ] [................................................] 100%
[ 238.6693 ] Writing partition bpmp-fw_b with bpmp_sigheader.bin.encrypt
[ 238.6841 ] [................................................] 100%
[ 238.7211 ] Writing partition bpmp-fw-dtb with tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt
[ 238.7347 ] [................................................] 100%
[ 238.7766 ] Writing partition bpmp-fw-dtb_b with tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt
[ 238.7895 ] [................................................] 100%
[ 238.8234 ] Writing partition sce-fw with camera-rtcpu-sce_sigheader.bin.encrypt
[ 238.8357 ] [................................................] 100%
[ 238.8511 ] Writing partition sce-fw_b with camera-rtcpu-sce_sigheader.bin.encrypt
[ 238.8592 ] [................................................] 100%
[ 238.8723 ] Writing partition sc7 with warmboot_wbheader.bin.encrypt
[ 238.8803 ] [................................................] 100%
[ 238.8916 ] Writing partition sc7_b with warmboot_wbheader.bin.encrypt
[ 238.8983 ] [................................................] 100%
[ 238.9087 ] Writing partition BMP with bmp.blob
[ 238.9293 ] [.....                                           ] 010%
[ 238.9293 ] [..........                                      ] 021%
[ 238.9293 ] [...............                                 ] 031%
[ 238.9293 ] [.....................                           ] 042%
[ 238.9293 ] [..........................                      ] 052%
[ 238.9293 ] [...............................                 ] 063%
[ 238.9293 ] [.....................................           ] 074%
[ 238.9293 ] [..........................................      ] 084%
[ 238.9293 ] [............................................... ] 095%
[ 238.9293 ] [................................................] 100%
[ 239.6194 ] Writing partition BMP_b with bmp.blob
[ 239.6330 ] [.....                                           ] 010%
[ 239.6330 ] [..........                                      ] 021%
[ 239.6330 ] [...............                                 ] 031%
[ 239.6330 ] [.....................                           ] 042%
[ 239.6330 ] [..........................                      ] 052%
[ 239.6330 ] [...............................                 ] 063%
[ 239.6330 ] [.....................................           ] 074%
[ 239.6330 ] [..........................................      ] 084%
[ 239.6330 ] [............................................... ] 095%
[ 239.6330 ] [................................................] 100%
[ 240.2777 ] Writing partition kernel with boot_sigheader.img.encrypt
[ 240.2898 ] [................................................] 100%
[ 240.3476 ] Writing partition kernel_b with boot_sigheader.img.encrypt
[ 240.3601 ] [................................................] 100%
[ 240.3950 ] Writing partition kernel-dtb with tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 240.4082 ] [................................................] 100%
[ 240.4322 ] Writing partition kernel-dtb_b with tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 240.4427 ] [................................................] 100%
[ 240.4765 ] 
[ 240.4975 ] tegradevflash_v2 --write BCT br_bct_BR.bct
[ 240.4990 ] Bootloader version 01.00.0000
[ 240.5039 ] Writing partition BCT with br_bct_BR.bct
[ 240.5047 ] [................................................] 100%
[ 240.5739 ] 
[ 240.5843 ] tegradevflash_v2 --write MB1_BCT mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 240.5851 ] Bootloader version 01.00.0000
[ 240.5902 ] Writing partition MB1_BCT with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 240.5913 ] [................................................] 100%
[ 240.6809 ] 
[ 240.6823 ] tegradevflash_v2 --write MB1_BCT_b mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 240.6837 ] Bootloader version 01.00.0000
[ 240.6884 ] Writing partition MB1_BCT_b with mb1_cold_boot_bct_MB1_sigheader.bct.encrypt
[ 240.6891 ] [................................................] 100%
[ 240.7565 ] 
[ 240.7565 ] Flashing completed

[ 240.7566 ] Coldbooting the device
[ 240.7583 ] tegradevflash_v2 --reboot coldboot
[ 240.7599 ] Bootloader version 01.00.0000
[ 240.7702 ] 
*** The target t186ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.

I checked “/ proc / device-tree / nvidia, dtbbuildtim”, but it is older than the dtb we built.

nvidia@tegra-ubuntu:~$ cat /proc/device-tree/nvidia,dtbbuildtime
Mar  1 201820:50:46

I don’t trust buildtime as a way to know what goes on. To some minor extent earlier boot stages also edit or write to the device tree before you get the final tree. Is there a specific part of the device tree you can verify should have changed, yet has not?

hello r.tanaka,

we’re still under investigation to fix DTB partition update for TX1, using the “-d” option means specify the device tree to flash the whole image.

since you’re working with TX2, please use below command to update the DTB partition.
thanks

$ sudo ./flash.sh -r -k kernel-dtb jetson-tx2 mmcblk0p1

hello JerryChang.

I tried it by writing as following but failed to write dtb.

sudo ./flash.sh -r -k kernel-dtb jetson-tx2 mmcblk0p1

This is the log at the time of flash.

###############################################################################
# L4T BSP Information:
# R28 (release), REVISION: 2.0, GCID: 10567845, BOARD: t186ref, EABI: aarch64,
# DATE: Fri Mar  2 04:57:01 UTC 2018
###############################################################################
# Target Board Information:
# Name: jetson-tx2, Board Family: t186ref, SoC: Tegra 186,
# OpMode: production, Boot Authentication: ,
###############################################################################
./tegraflash.py --chip 0x18 --applet "/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin" --cmd "dump eeprom boardinfo cvm.bin" --skipuid
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.0262 ] Generating RCM messages
[   0.0279 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[   0.0291 ] RCM 0 is saved as rcm_0.rcm
[   0.0547 ] RCM 1 is saved as rcm_1.rcm
[   0.0547 ] List of rcm files are saved in rcm_list.xml
[   0.0547 ]
[   0.0547 ] Signing RCM messages
[   0.0785 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0798 ] Assuming zero filled SBK key
[   0.0872 ]
[   0.0872 ] Copying signature to RCM mesages
[   0.0887 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0903 ]
[   0.0904 ] Boot Rom communication
[   0.0918 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[   0.0928 ] RCM version 0X180001
[   0.0939 ] Boot Rom communication completed
[   1.1031 ]
[   1.1051 ] tegrarcm_v2 --isapplet
[   1.1067 ] Applet version 01.00.0000
[   1.1112 ]
[   1.1129 ] Retrieving EEPROM data
[   1.1131 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/cvm.bin
[   1.1146 ] Applet version 01.00.0000
[   1.1193 ] Saved platform info in /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/cvm.bin
[   1.1999 ]
copying bctfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg)... done.
copying misc_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)... done.
copying pinmux_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)... done.
copying pmic_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)... done.
copying pmc_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)... done.
copying prod_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)... done.
copying scr_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)... done.
copying scr_cold_boot_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)... done.
copying bootrom_config(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)... done.
copying dev_params(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)... done.
Existing bootloader(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
    populating kernel to rootfs... done.
    populating initrd to rootfs... done.
    populating extlinux.conf.emmc to rootfs... done.
    populating /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs... done.
done.
Making Boot image... done.
Existing sosfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)... done.
Existing mb2blfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)... done.
Existing scefile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/camera-rtcpu-sce.bin) reused.
Existing spefile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/spe.bin) reused.
copying wb0boot(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)... done.
Existing tosfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/tos.img) reused.
Existing eksfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
Reusing existing system.img...
done.
Existing tbcfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
copying cfgfile(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml... done.
Existing flasher(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [kernel-dtb] with tegra186-quill-p3310-1000-c03-00-base.dtb ***
./tegraflash.py --bl nvtboot_recovery_cpu.bin  --chip 0x18 --applet mb1_recovery_prod.bin  --cfg flash.xml  --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t
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.0401 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0415 ] Assuming zero filled SBK key
[   0.0417 ]
[   0.0418 ] Generating RCM messages
[   0.0431 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm mb1_recovery_prod.bin 0 0
[   0.0445 ] RCM 0 is saved as rcm_0.rcm
[   0.0451 ] RCM 1 is saved as rcm_1.rcm
[   0.0451 ] List of rcm files are saved in rcm_list.xml
[   0.0451 ]
[   0.0451 ] Signing RCM messages
[   0.0465 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0479 ] Assuming zero filled SBK key
[   0.0546 ]
[   0.0546 ] Copying signature to RCM mesages
[   0.0559 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0577 ]
[   0.0578 ] Parsing partition layout
[   0.0767 ] tegraparser_v2 --pt flash.xml.tmp
[   0.0792 ]
[   0.0793 ] Creating list of images to be signed
[   0.0840 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   0.1526 ]
[   0.1526 ] Generating signatures
[   0.1545 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.1559 ] Assuming zero filled SBK key
[   0.5308 ]
[   0.5308 ] Generating br-bct
[   0.5437 ] Updating dev and MSS params in BR BCT
[   0.5438 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18
[   0.5707 ]
[   0.5707 ] Updating bl info
[   0.5720 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.5744 ]
[   0.5744 ] Updating smd info
[   0.5754 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[   0.5770 ]
[   0.5770 ] Get Signed section bct
[   0.5783 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --listbct bct_list.xml
[   0.5798 ]
[   0.5798 ] Signing BCT
[   0.5821 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[   0.5833 ] Assuming zero filled SBK key
[   0.5836 ]
[   0.5837 ] Updating BCT with signature
[   0.5849 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesig bct_list_signed.xml
[   0.5866 ]
[   0.5867 ] Generating coldboot mb1-bct
[   0.5879 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-100
[   0.5890 ] MB1-BCT version: 0xe
[   0.5893 ] Copying Sdram info from 2 to 3 set
[   0.6141 ] Packing sdram param for instance[0]
[   0.6145 ] Packing sdram param for instance[1]
[   0.6148 ] Packing sdram param for instance[2]
[   0.6151 ] Packing sdram param for instance[3]

[   0.6155 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
[   0.6161 ] Appending platform config data of size :- 2904

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

[   0.6180 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
[   0.6183 ] Appending platform config data of size :- 24
[   0.6183 ]
[   0.6183 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
[   0.6183 ] Appending platform config data of size :- 708
[   0.6183 ]
[   0.6183 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
[   0.6183 ] Appending platform config data of size :- 64
[   0.6183 ]
[   0.6183 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[   0.6183 ] Appending platform config data of size :- 1652
[   0.6183 ]
[   0.6184 ] Updating mb1-bct with firmware information
[   0.6197 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.6209 ] MB1-BCT version: 0xe
[   0.6223 ]
[   0.6223 ] Updating mb1-bct with storage information
[   0.6237 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.6251 ] MB1-BCT version: 0xe
[   0.6263 ]
[   0.6274 ] tegrahost_v2 --align mb1_cold_boot_bct_MB1.bct
[   0.6284 ]
[   0.6295 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   0.6309 ]
[   0.6323 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml
[   0.6334 ] Assuming zero filled SBK key
[   0.6366 ]
[   0.6383 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   0.6397 ]
[   0.6398 ] Generating recovery mb1-bct
[   0.6411 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
[   0.6425 ] MB1-BCT version: 0xe
[   0.6428 ] Copying Sdram info from 2 to 3 set
[   0.6704 ] Packing sdram param for instance[0]
[   0.6707 ] Packing sdram param for instance[1]
[   0.6711 ] Packing sdram param for instance[2]
[   0.6714 ] Packing sdram param for instance[3]

[   0.6717 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
[   0.6724 ] Appending platform config data of size :- 2904

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

[   0.6742 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
[   0.6746 ] Appending platform config data of size :- 24
[   0.6746 ]
[   0.6746 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
[   0.6746 ] Appending platform config data of size :- 708
[   0.6746 ]
[   0.6746 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
[   0.6746 ] Appending platform config data of size :- 64
[   0.6746 ]
[   0.6746 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[   0.6746 ] Appending platform config data of size :- 1652
[   0.6746 ]
[   0.6747 ] Updating mb1-bct with firmware information
[   0.6762 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.6773 ] MB1-BCT version: 0xe
[   0.6784 ]
[   0.6784 ] Updating mb1-bct with storage information
[   0.6796 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.6808 ] MB1-BCT version: 0xe
[   0.6817 ]
[   0.6829 ] tegrahost_v2 --align mb1_bct_MB1.bct
[   0.6842 ]
[   0.6854 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[   0.6869 ]
[   0.6885 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml
[   0.6897 ] Assuming zero filled SBK key
[   0.6927 ]
[   0.6944 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   0.6960 ]
[   0.6961 ] Copying signatures
[   0.6974 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   0.8041 ]
[   0.8060 ] tegrahost_v2 --align nvtboot_recovery.bin
[   0.8074 ]
[   0.8087 ] tegrahost_v2 --appendsigheader nvtboot_recovery.bin zerosbk
[   0.8104 ]
[   0.8119 ] tegrasign_v2 --key None --list nvtboot_recovery_sigheader.bin_list.xml
[   0.8131 ] Assuming zero filled SBK key
[   0.8178 ]
[   0.8202 ] tegrahost_v2 --updatesigheader nvtboot_recovery_sigheader.bin.encrypt nvtboot_recovery_sigheader.bin.hash zerosbk
[   0.8221 ]
[   0.8236 ] tegrahost_v2 --align preboot_d15_prod_cr.bin
[   0.8251 ]
[   0.8263 ] tegrahost_v2 --appendsigheader preboot_d15_prod_cr.bin zerosbk
[   0.8282 ]
[   0.8298 ] tegrasign_v2 --key None --list preboot_d15_prod_cr_sigheader.bin_list.xml
[   0.8310 ] Assuming zero filled SBK key
[   0.8348 ]
[   0.8365 ] tegrahost_v2 --updatesigheader preboot_d15_prod_cr_sigheader.bin.encrypt preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[   0.8384 ]
[   0.8401 ] tegrahost_v2 --align mce_mts_d15_prod_cr.bin
[   0.8418 ]
[   0.8430 ] tegrahost_v2 --appendsigheader mce_mts_d15_prod_cr.bin zerosbk
[   0.8534 ]
[   0.8558 ] tegrasign_v2 --key None --list mce_mts_d15_prod_cr_sigheader.bin_list.xml
[   0.8573 ] Assuming zero filled SBK key
[   0.9410 ]
[   0.9433 ] tegrahost_v2 --updatesigheader mce_mts_d15_prod_cr_sigheader.bin.encrypt mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[   0.9717 ]
[   0.9734 ] tegrahost_v2 --align bpmp.bin
[   0.9748 ]
[   0.9762 ] tegrahost_v2 --appendsigheader bpmp.bin zerosbk
[   0.9785 ]
[   0.9803 ] tegrasign_v2 --key None --list bpmp_sigheader.bin_list.xml
[   0.9816 ] Assuming zero filled SBK key
[   1.0033 ]
[   1.0059 ] tegrahost_v2 --updatesigheader bpmp_sigheader.bin.encrypt bpmp_sigheader.bin.hash zerosbk
[   1.0090 ]
[   1.0105 ] tegrahost_v2 --align tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[   1.0118 ]
[   1.0130 ] tegrahost_v2 --appendsigheader tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[   1.0156 ]
[   1.0175 ] tegrasign_v2 --key None --list tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[   1.0187 ] Assuming zero filled SBK key
[   1.0412 ]
[   1.0430 ] tegrahost_v2 --updatesigheader tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.hash zerosbk
[   1.0452 ]
[   1.0465 ] tegrahost_v2 --align tos.img
[   1.0479 ]
[   1.0490 ] tegrahost_v2 --appendsigheader tos.img zerosbk
[   1.0507 ]
[   1.0527 ] tegrasign_v2 --key None --list tos_sigheader.img_list.xml
[   1.0540 ] Assuming zero filled SBK key
[   1.0593 ]
[   1.0616 ] tegrahost_v2 --updatesigheader tos_sigheader.img.encrypt tos_sigheader.img.hash zerosbk
[   1.0631 ]
[   1.0642 ] tegrahost_v2 --align eks.img
[   1.0655 ]
[   1.0669 ] tegrahost_v2 --appendsigheader eks.img zerosbk
[   1.0686 ]
[   1.0704 ] tegrasign_v2 --key None --list eks_sigheader.img_list.xml
[   1.0715 ] Assuming zero filled SBK key
[   1.0720 ]
[   1.0738 ] tegrahost_v2 --updatesigheader eks_sigheader.img.encrypt eks_sigheader.img.hash zerosbk
[   1.0753 ]
[   1.0767 ] tegrahost_v2 --align tegra186-quill-p3310-1000-c03-00-base.dtb
[   1.0779 ]
[   1.0793 ] tegrahost_v2 --appendsigheader tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[   1.0818 ]
[   1.0832 ] tegrasign_v2 --key None --list tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[   1.0842 ] Assuming zero filled SBK key
[   1.0983 ]
[   1.1000 ] tegrahost_v2 --updatesigheader tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[   1.1017 ]
[   1.1030 ] tegrahost_v2 --align nvtboot_recovery_cpu.bin
[   1.1043 ]
[   1.1056 ] tegrahost_v2 --appendsigheader nvtboot_recovery_cpu.bin zerosbk
[   1.1073 ]
[   1.1090 ] tegrasign_v2 --key None --list nvtboot_recovery_cpu_sigheader.bin_list.xml
[   1.1101 ] Assuming zero filled SBK key
[   1.1204 ]
[   1.1225 ] tegrahost_v2 --updatesigheader nvtboot_recovery_cpu_sigheader.bin.encrypt nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[   1.1249 ]
[   1.1250 ] Copying signed file in /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/signed
[   1.3038 ] Generating RCM messages
[   1.3053 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm mb1_recovery_prod.bin 0 0
[   1.3066 ] RCM 0 is saved as rcm_0.rcm
[   1.3073 ] RCM 1 is saved as rcm_1.rcm
[   1.3073 ] List of rcm files are saved in rcm_list.xml
[   1.3073 ]
[   1.3073 ] Signing RCM messages
[   1.3086 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   1.3098 ] Assuming zero filled SBK key
[   1.3163 ]
[   1.3163 ] Copying signature to RCM mesages
[   1.3176 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   1.3527 ]
[   1.3528 ] Boot Rom communication
[   1.3543 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml
[   1.3556 ] BootRom is not running
[   2.3540 ]
[   2.3560 ] tegrarcm_v2 --isapplet
[   2.3577 ] Applet version 01.00.0000
[   2.3625 ]
[   2.3641 ] tegrasign_v2 --key None --getmode mode.txt
[   2.3657 ] Assuming zero filled SBK key
[   2.3660 ]
[   2.3661 ] Parsing partition layout
[   2.3673 ] tegraparser_v2 --pt flash.xml.tmp
[   2.3699 ]
[   2.3699 ] Creating list of images to be signed
[   2.3710 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   2.4691 ]
[   2.4691 ] Generating signatures
[   2.4709 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   2.4723 ] Assuming zero filled SBK key
[   2.8869 ]
[   2.8869 ] Reading BCT from device for further operations
[   2.8869 ] Generating blob
[   2.8888 ] tegrahost_v2 --align blob_nvtboot_recovery_cpu.bin
[   2.8903 ]
[   2.8918 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[   2.8938 ]
[   2.8956 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml
[   2.8967 ] Assuming zero filled SBK key
[   2.9073 ]
[   2.9091 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[   2.9110 ]
[   2.9127 ] tegrahost_v2 --align blob_nvtboot_recovery.bin
[   2.9144 ]
[   2.9159 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[   2.9181 ]
[   2.9200 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml
[   2.9213 ] Assuming zero filled SBK key
[   2.9262 ]
[   2.9282 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[   2.9301 ]
[   2.9317 ] tegrahost_v2 --align blob_preboot_d15_prod_cr.bin
[   2.9331 ]
[   2.9345 ] tegrahost_v2 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[   2.9364 ]
[   2.9381 ] tegrasign_v2 --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml
[   2.9396 ] Assuming zero filled SBK key
[   2.9439 ]
[   2.9456 ] tegrahost_v2 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[   2.9471 ]
[   2.9486 ] tegrahost_v2 --align blob_mce_mts_d15_prod_cr.bin
[   2.9501 ]
[   2.9513 ] tegrahost_v2 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[   2.9575 ]
[   2.9595 ] tegrasign_v2 --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml
[   2.9608 ] Assuming zero filled SBK key
[   3.0432 ]
[   3.0459 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[   3.0521 ]
[   3.0540 ] tegrahost_v2 --align blob_bpmp.bin
[   3.0555 ]
[   3.0567 ] tegrahost_v2 --appendsigheader blob_bpmp.bin zerosbk
[   3.0604 ]
[   3.0622 ] tegrasign_v2 --key None --list blob_bpmp_sigheader.bin_list.xml
[   3.0636 ] Assuming zero filled SBK key
[   3.0874 ]
[   3.0896 ] tegrahost_v2 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[   3.0920 ]
[   3.0939 ] tegrahost_v2 --align blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[   3.0953 ]
[   3.0967 ] tegrahost_v2 --appendsigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[   3.1001 ]
[   3.1022 ] tegrasign_v2 --key None --list blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[   3.1036 ] Assuming zero filled SBK key
[   3.1277 ]
[   3.1295 ] tegrahost_v2 --updatesigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.hash zerosbk
[   3.1315 ]
[   3.1329 ] tegrahost_v2 --align blob_tos.img
[   3.1342 ]
[   3.1353 ] tegrahost_v2 --appendsigheader blob_tos.img zerosbk
[   3.1367 ]
[   3.1382 ] tegrasign_v2 --key None --list blob_tos_sigheader.img_list.xml
[   3.1396 ] Assuming zero filled SBK key
[   3.1468 ]
[   3.1487 ] tegrahost_v2 --updatesigheader blob_tos_sigheader.img.encrypt blob_tos_sigheader.img.hash zerosbk
[   3.1501 ]
[   3.1512 ] tegrahost_v2 --align blob_eks.img
[   3.1523 ]
[   3.1533 ] tegrahost_v2 --appendsigheader blob_eks.img zerosbk
[   3.1544 ]
[   3.1557 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml
[   3.1566 ] Assuming zero filled SBK key
[   3.1569 ]
[   3.1585 ] tegrahost_v2 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[   3.1597 ]
[   3.1611 ] tegrahost_v2 --align blob_tegra186-quill-p3310-1000-c03-00-base.dtb
[   3.1623 ]
[   3.1636 ] tegrahost_v2 --appendsigheader blob_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[   3.1655 ]
[   3.1670 ] tegrasign_v2 --key None --list blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[   3.1682 ] Assuming zero filled SBK key
[   3.1829 ]
[   3.1846 ] tegrahost_v2 --updatesigheader blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[   3.1874 ]
[   3.1894 ] tegrahost_v2 --generateblob blob.xml blob.bin
[   3.1910 ] number of images in blob are 9
[   3.1916 ] blobsize is 3749000
[   3.1919 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 189824
[   3.1952 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 79440
[   3.1960 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 63024
[   3.1967 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2076832
[   3.1974 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 529440
[   3.1979 ] Added binary blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt of size 466160
[   3.1989 ] Added binary blob_tos_sigheader.img.encrypt of size 62976
[   3.1994 ] Added binary blob_eks_sigheader.img.encrypt of size 1488
[   3.1999 ] Added binary blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt of size 279664
[   3.2016 ]
[   3.2016 ] Sending bootloader and pre-requisite binaries
[   3.2031 ] tegrarcm_v2 --download blob blob.bin
[   3.2040 ] Applet version 01.00.0000
[   3.2087 ] Sending blob
[   3.2089 ] [.............                                   ] 027%^M[   3.2089 ] [...........................                     ] 055%^M[   3.2089 ] [.........................................       ] 083%^M[   3.2089 ] [.............
[   4.1199 ]
[   4.1218 ] tegrarcm_v2 --boot recovery
[   4.1234 ] Applet version 01.00.0000
[   4.1297 ]
[   4.1313 ] tegrarcm_v2 --isapplet
[   4.7865 ]
[   4.7884 ] tegradevflash_v2 --iscpubl
[   4.7901 ] CPU Bootloader is not running on device.
[   4.7943 ]
[   6.1230 ] Writing partition
[   6.1244 ] tegradevflash_v2 --write kernel-dtb /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[   6.1260 ] Bootloader version 01.00.0000
[   6.1312 ] Writing partition kernel-dtb with /home/user/jetpack_3_2/64_TX2/Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[   6.1335 ] [................................................] 100%^M
[   6.1638 ]
[   6.1639 ] Coldbooting the device
[   6.1649 ] tegradevflash_v2 --reboot coldboot
[   6.1657 ] Bootloader version 01.00.0000
[   6.1756 ]
*** The [kernel-dtb] has been updated successfully. ***

hello r.tanaka,

DTB partition has been updated successfully according to your flashing message.

*** The [kernel-dtb] has been updated successfully. ***

may I have more details about what’s your means that dtb write failed?
thanks

hello JerryChang.

I have determined that I have failed to write dtb from “/proc/device-tree/nvidia,dtbbuildtime”

thanks