Usb lane mapping can't be changed by flash the device tree file

Description:
1.We are using tx2 in jetpack3.2.1 environment.
2.In p2771-0000.conf.common our default ODMDATA is 0x7090000,by using devmem2 we check the lane owner infromation as follows:

/dev/mem opened.
Memory mapped at address 0x7fb4738000.
Value at address 0x2520284 (0x7fb4738284): 0x0
/dev/mem opened.
Memory mapped at address 0x7fb0cf7000.
Value at address 0x2530284 (0x7fb0cf7284): 0x0
/dev/mem opened.
Memory mapped at address 0x7f89637000.
Value at address 0x2540284 (0x7f89637284): 0x0
/dev/mem opened.
Memory mapped at address 0x7f8eb82000.
Value at address 0x2550284 (0x7f8eb82284): 0x1
/dev/mem opened.
Memory mapped at address 0x7f7b837000.
Value at address 0x2560284 (0x7f7b837284): 0x1
/dev/mem opened.
Memory mapped at address 0x7f9fe18000.
Value at address 0x2570284 (0x7f9fe18284): 0x2
3.We change the ODMDATA=0x6090000 in p2771-0000.conf.common
4.We change the device tree file and compile,copy the dtb to Linux_for_Tegra/kernel/dtb/
5.Exectue command: ./flash.sh -r -k kernel-dtb jetson-tx2 mmcblk0p1, the log as follows:
ubuntu@ubuntu:~/work/jetpack3.2.1/64_TX2/Linux_for_Tegra$ sudo ./flash.sh -r -k kernel-dtb jetson-tx2 mmcblk0p1
[sudo] password for ubuntu: 
###############################################################################
# L4T BSP Information:
# R28 (release), REVISION: 2.1, GCID: 11272647, BOARD: t186ref, EABI: aarch64, 
# DATE: Thu May 17 07:29:06 UTC 2018
###############################################################################
# Target Board Information:
# Name: jetson-tx2, Board Family: t186ref, SoC: Tegra 186, 
# OpMode: production, Boot Authentication: , 
###############################################################################
./tegraflash.py --chip 0x18 --applet "/home/ubuntu/work/jetpack3.2.1/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.0052 ] Generating RCM messages
[   0.0100 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[   0.0115 ] RCM 0 is saved as rcm_0.rcm
[   0.0132 ] RCM 1 is saved as rcm_1.rcm
[   0.0144 ] List of rcm files are saved in rcm_list.xml
[   0.0260 ] 
[   0.0260 ] Signing RCM messages
[   0.0311 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0321 ] Assuming zero filled SBK key
[   0.0423 ] 
[   0.0429 ] Copying signature to RCM mesages
[   0.0450 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0498 ] 
[   0.0500 ] Boot Rom communication
[   0.0508 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[   0.0591 ] RCM version 0X180001
[   0.0622 ] Boot Rom communication completed
[   1.2420 ] 
[   1.2433 ] tegrarcm_v2 --isapplet
[   1.2442 ] USB communication failed.Check if device is in recovery
[   1.5467 ] 
[   1.5492 ] tegradevflash_v2 --iscpubl
[   1.5514 ] CPU Bootloader is not running on device.
[   1.5731 ] 
[   2.5960 ] Retrieving EEPROM data
[   2.5965 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/cvm.bin
[   2.5999 ] Applet version 01.00.0000
[   2.6178 ] Saved platform info in /home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/cvm.bin
[   2.7220 ] 
Board ID(3310) version(B02) 
copying bctfile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg)... done.
copying misc_config(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)... done.
copying pinmux_config(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)... done.
copying pmic_config(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)... done.
copying pmc_config(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)... done.
copying prod_config(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)... done.
copying scr_config(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)... done.
copying scr_cold_boot_config(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)... done.
copying bootrom_config(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)... done.
copying dev_params(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)... done.
Existing bootloader(/home/ubuntu/work/jetpack3.2.1/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/ubuntu/work/jetpack3.2.1/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/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)... done.
Existing mb2blfile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)... done.
Existing scefile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/camera-rtcpu-sce.bin) reused.
Existing spefile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/spe.bin) reused.
copying wb0boot(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)... done.
Existing tosfile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/tos.img) reused.
Existing eksfile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
Reusing existing system.img... 
done.
Existing tbcfile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
copying cfgfile(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml... done.
Existing flasher(/home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/ubuntu/work/jetpack3.2.1/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.cfg --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  --cfg  flash.xml --bins "mb2_bootloader nvtboot_recovery.bin; mts_preboot preboot_d15_prod_cr.bin; mts_bootpack mce_mts_d15_prod_cr.bin; bpmp_fw bpmp.bin; bpmp_fw_dtb tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"  --cmd "sign; write kernel-dtb ./signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt; reboot"  
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 
[   0.0256 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0270 ] Assuming zero filled SBK key
[   0.0329 ] 
[   0.0331 ] Generating RCM messages
[   0.0341 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm mb1_recovery_prod.bin 0 0
[   0.0351 ] RCM 0 is saved as rcm_0.rcm
[   0.0364 ] RCM 1 is saved as rcm_1.rcm
[   0.0376 ] List of rcm files are saved in rcm_list.xml
[   0.0445 ] 
[   0.0448 ] Signing RCM messages
[   0.0465 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0583 ] Assuming zero filled SBK key
[   0.0731 ] 
[   0.0737 ] Copying signature to RCM mesages
[   0.0765 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0950 ] 
[   0.0951 ] Parsing partition layout
[   0.0982 ] tegraparser_v2 --pt flash.xml.tmp
[   0.1049 ] 
[   0.1052 ] Creating list of images to be signed
[   0.1067 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   0.1803 ] 
[   0.1806 ] Generating signatures
[   0.1819 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.1830 ] Assuming zero filled SBK key
[   0.4970 ] 
[   0.4973 ] Generating br-bct
[   0.4987 ] Updating dev and MSS params in BR BCT
[   0.4988 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18
[   0.5229 ] 
[   0.5231 ] Updating bl info
[   0.5336 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.5851 ] 
[   0.5890 ] Updating smd info
[   0.5920 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[   0.6131 ] 
[   0.6131 ] Get Signed section bct
[   0.6145 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --listbct bct_list.xml
[   0.6251 ] 
[   0.6253 ] Signing BCT
[   0.6317 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[   0.6328 ] Assuming zero filled SBK key
[   0.6470 ] 
[   0.6470 ] Updating BCT with signature
[   0.6481 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesig bct_list_signed.xml
[   0.6568 ] 
[   0.6576 ] Generating coldboot mb1-bct
[   0.6600 ] 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.6611 ] MB1-BCT version: 0xe
[   0.6621 ] Copying Sdram info from 2 to 3 set
[   0.6942 ] Packing sdram param for instance[0]
[   0.6959 ] Packing sdram param for instance[1]
[   0.6996 ] Packing sdram param for instance[2]
[   0.7002 ] Packing sdram param for instance[3]

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

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

[   0.7125 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg 
[   0.7129 ] Appending platform config data of size :- 24

[   0.7162 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg 
[   0.7199 ] Appending platform config data of size :- 708

[   0.7234 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg 
[   0.7236 ] Appending platform config data of size :- 64
[   0.7237 ] 
[   0.7238 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg 
[   0.7239 ] Appending platform config data of size :- 1652
[   0.7240 ] 
[   0.7243 ] Updating mb1-bct with firmware information
[   0.7281 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.7386 ] MB1-BCT version: 0xe
[   0.7471 ] 
[   0.7475 ] Updating mb1-bct with storage information
[   0.7495 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.7506 ] MB1-BCT version: 0xe
[   0.7571 ] 
[   0.7585 ] tegrahost_v2 --align mb1_cold_boot_bct_MB1.bct
[   0.7732 ] 
[   0.7762 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   0.7850 ] 
[   0.7864 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml
[   0.7873 ] Assuming zero filled SBK key
[   0.8035 ] 
[   0.8065 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   0.8163 ] 
[   0.8165 ] Generating recovery mb1-bct
[   0.8176 ] 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.8187 ] MB1-BCT version: 0xe
[   0.8197 ] Copying Sdram info from 2 to 3 set
[   0.8498 ] Packing sdram param for instance[0]
[   0.8575 ] Packing sdram param for instance[1]
[   0.8578 ] Packing sdram param for instance[2]
[   0.8580 ] Packing sdram param for instance[3]

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

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

[   0.8640 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg 
[   0.8672 ] Appending platform config data of size :- 24

[   0.8697 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg 
[   0.8720 ] Appending platform config data of size :- 708

[   0.8728 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg 
[   0.8741 ] Appending platform config data of size :- 64
[   0.8750 ] 
[   0.8750 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg 
[   0.8751 ] Appending platform config data of size :- 1652
[   0.8751 ] 
[   0.8752 ] Updating mb1-bct with firmware information
[   0.8766 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.8778 ] MB1-BCT version: 0xe
[   0.8974 ] 
[   0.8975 ] Updating mb1-bct with storage information
[   0.8997 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.9026 ] MB1-BCT version: 0xe
[   0.9286 ] 
[   0.9314 ] tegrahost_v2 --align mb1_bct_MB1.bct
[   0.9411 ] 
[   0.9425 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[   0.9555 ] 
[   0.9583 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml
[   0.9607 ] Assuming zero filled SBK key
[   0.9689 ] 
[   0.9703 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   0.9873 ] 
[   0.9876 ] Copying signatures
[   0.9898 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   1.0610 ] 
[   1.0623 ] tegrahost_v2 --align nvtboot_recovery.bin
[   1.0686 ] 
[   1.0696 ] tegrahost_v2 --appendsigheader nvtboot_recovery.bin zerosbk
[   1.0770 ] 
[   1.0784 ] tegrasign_v2 --key None --list nvtboot_recovery_sigheader.bin_list.xml
[   1.0794 ] Assuming zero filled SBK key
[   1.0971 ] 
[   1.0984 ] tegrahost_v2 --updatesigheader nvtboot_recovery_sigheader.bin.encrypt nvtboot_recovery_sigheader.bin.hash zerosbk
[   1.1049 ] 
[   1.1091 ] tegrahost_v2 --align preboot_d15_prod_cr.bin
[   1.1171 ] 
[   1.1188 ] tegrahost_v2 --appendsigheader preboot_d15_prod_cr.bin zerosbk
[   1.1250 ] 
[   1.1262 ] tegrasign_v2 --key None --list preboot_d15_prod_cr_sigheader.bin_list.xml
[   1.1272 ] Assuming zero filled SBK key
[   1.1464 ] 
[   1.1494 ] tegrahost_v2 --updatesigheader preboot_d15_prod_cr_sigheader.bin.encrypt preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[   1.1572 ] 
[   1.1592 ] tegrahost_v2 --align mce_mts_d15_prod_cr.bin
[   1.1761 ] 
[   1.1789 ] tegrahost_v2 --appendsigheader mce_mts_d15_prod_cr.bin zerosbk
[   1.1926 ] 
[   1.2012 ] tegrasign_v2 --key None --list mce_mts_d15_prod_cr_sigheader.bin_list.xml
[   1.2022 ] Assuming zero filled SBK key
[   1.2804 ] 
[   1.2821 ] tegrahost_v2 --updatesigheader mce_mts_d15_prod_cr_sigheader.bin.encrypt mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[   1.2934 ] 
[   1.2954 ] tegrahost_v2 --align bpmp.bin
[   1.3009 ] 
[   1.3018 ] tegrahost_v2 --appendsigheader bpmp.bin zerosbk
[   1.3131 ] 
[   1.3193 ] tegrasign_v2 --key None --list bpmp_sigheader.bin_list.xml
[   1.3224 ] Assuming zero filled SBK key
[   1.3450 ] 
[   1.3468 ] tegrahost_v2 --updatesigheader bpmp_sigheader.bin.encrypt bpmp_sigheader.bin.hash zerosbk
[   1.3611 ] 
[   1.3622 ] tegrahost_v2 --align tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[   1.3694 ] 
[   1.3745 ] tegrahost_v2 --appendsigheader tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[   1.3810 ] 
[   1.3822 ] tegrasign_v2 --key None --list tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[   1.3832 ] Assuming zero filled SBK key
[   1.4130 ] 
[   1.4145 ] 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.4291 ] 
[   1.4316 ] tegrahost_v2 --align tos.img
[   1.4411 ] 
[   1.4423 ] tegrahost_v2 --appendsigheader tos.img zerosbk
[   1.4530 ] 
[   1.4571 ] tegrasign_v2 --key None --list tos_sigheader.img_list.xml
[   1.4580 ] Assuming zero filled SBK key
[   1.4652 ] 
[   1.4672 ] tegrahost_v2 --updatesigheader tos_sigheader.img.encrypt tos_sigheader.img.hash zerosbk
[   1.4721 ] 
[   1.4732 ] tegrahost_v2 --align eks.img
[   1.4907 ] 
[   1.4929 ] tegrahost_v2 --appendsigheader eks.img zerosbk
[   1.5004 ] 
[   1.5017 ] tegrasign_v2 --key None --list eks_sigheader.img_list.xml
[   1.5027 ] Assuming zero filled SBK key
[   1.5171 ] 
[   1.5189 ] tegrahost_v2 --updatesigheader eks_sigheader.img.encrypt eks_sigheader.img.hash zerosbk
[   1.5251 ] 
[   1.5280 ] tegrahost_v2 --align tegra186-quill-p3310-1000-c03-00-base.dtb
[   1.5370 ] 
[   1.5380 ] tegrahost_v2 --appendsigheader tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[   1.5552 ] 
[   1.5585 ] tegrasign_v2 --key None --list tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[   1.5621 ] Assuming zero filled SBK key
[   1.5891 ] 
[   1.5916 ] 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.6087 ] 
[   1.6102 ] tegrahost_v2 --align nvtboot_recovery_cpu.bin
[   1.6174 ] 
[   1.6212 ] tegrahost_v2 --appendsigheader nvtboot_recovery_cpu.bin zerosbk
[   1.6290 ] 
[   1.6303 ] tegrasign_v2 --key None --list nvtboot_recovery_cpu_sigheader.bin_list.xml
[   1.6313 ] Assuming zero filled SBK key
[   1.6527 ] 
[   1.6545 ] tegrahost_v2 --updatesigheader nvtboot_recovery_cpu_sigheader.bin.encrypt nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[   1.6610 ] 
[   1.6612 ] Copying signed file in /home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/signed
[   1.7536 ] Generating RCM messages
[   1.7556 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm mb1_recovery_prod.bin 0 0
[   1.7579 ] RCM 0 is saved as rcm_0.rcm
[   1.7605 ] RCM 1 is saved as rcm_1.rcm
[   1.7667 ] List of rcm files are saved in rcm_list.xml
[   1.7723 ] 
[   1.7724 ] Signing RCM messages
[   1.7744 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   1.7766 ] Assuming zero filled SBK key
[   1.8012 ] 
[   1.8015 ] Copying signature to RCM mesages
[   1.8052 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   1.8130 ] 
[   1.8132 ] Boot Rom communication
[   1.8142 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml
[   1.8153 ] BootRom is not running
[   2.8245 ] 
[   2.8321 ] tegrarcm_v2 --isapplet
[   2.8347 ] Applet version 01.00.0000
[   2.8604 ] 
[   2.8618 ] tegrasign_v2 --key None --getmode mode.txt
[   2.8629 ] Assuming zero filled SBK key
[   2.8689 ] 
[   2.8700 ] Parsing partition layout
[   2.8721 ] tegraparser_v2 --pt flash.xml.tmp
[   2.8804 ] 
[   2.8807 ] Creating list of images to be signed
[   2.8824 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   2.9569 ] 
[   2.9572 ] Generating signatures
[   2.9589 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   2.9600 ] Assuming zero filled SBK key
[   3.4531 ] 
[   3.4532 ] Reading BCT from device for further operations
[   3.4533 ] Generating blob
[   3.4545 ] tegrahost_v2 --align blob_nvtboot_recovery_cpu.bin
[   3.4611 ] 
[   3.4619 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[   3.4691 ] 
[   3.4705 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml
[   3.4714 ] Assuming zero filled SBK key
[   3.4950 ] 
[   3.4966 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[   3.5052 ] 
[   3.5066 ] tegrahost_v2 --align blob_nvtboot_recovery.bin
[   3.5131 ] 
[   3.5140 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[   3.5205 ] 
[   3.5216 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml
[   3.5226 ] Assuming zero filled SBK key
[   3.5406 ] 
[   3.5435 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[   3.5491 ] 
[   3.5504 ] tegrahost_v2 --align blob_preboot_d15_prod_cr.bin
[   3.5621 ] 
[   3.5634 ] tegrahost_v2 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[   3.5727 ] 
[   3.5780 ] tegrasign_v2 --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml
[   3.5791 ] Assuming zero filled SBK key
[   3.5926 ] 
[   3.5942 ] tegrahost_v2 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[   3.6017 ] 
[   3.6063 ] tegrahost_v2 --align blob_mce_mts_d15_prod_cr.bin
[   3.6131 ] 
[   3.6142 ] tegrahost_v2 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[   3.6366 ] 
[   3.6382 ] tegrasign_v2 --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml
[   3.6392 ] Assuming zero filled SBK key
[   3.7171 ] 
[   3.7187 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[   3.7308 ] 
[   3.7331 ] tegrahost_v2 --align blob_bpmp.bin
[   3.7413 ] 
[   3.7425 ] tegrahost_v2 --appendsigheader blob_bpmp.bin zerosbk
[   3.7569 ] 
[   3.7595 ] tegrasign_v2 --key None --list blob_bpmp_sigheader.bin_list.xml
[   3.7617 ] Assuming zero filled SBK key
[   3.7851 ] 
[   3.7866 ] tegrahost_v2 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[   3.8033 ] 
[   3.8072 ] tegrahost_v2 --align blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[   3.8171 ] 
[   3.8183 ] tegrahost_v2 --appendsigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[   3.8347 ] 
[   3.8369 ] tegrasign_v2 --key None --list blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[   3.8380 ] Assuming zero filled SBK key
[   3.8697 ] 
[   3.8736 ] 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.8811 ] 
[   3.8823 ] tegrahost_v2 --align blob_tos.img
[   3.8991 ] 
[   3.9017 ] tegrahost_v2 --appendsigheader blob_tos.img zerosbk
[   3.9123 ] 
[   3.9197 ] tegrasign_v2 --key None --list blob_tos_sigheader.img_list.xml
[   3.9257 ] Assuming zero filled SBK key
[   3.9344 ] 
[   3.9378 ] tegrahost_v2 --updatesigheader blob_tos_sigheader.img.encrypt blob_tos_sigheader.img.hash zerosbk
[   3.9532 ] 
[   3.9546 ] tegrahost_v2 --align blob_eks.img
[   3.9660 ] 
[   3.9678 ] tegrahost_v2 --appendsigheader blob_eks.img zerosbk
[   3.9731 ] 
[   3.9744 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml
[   3.9845 ] Assuming zero filled SBK key
[   3.9938 ] 
[   3.9983 ] tegrahost_v2 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[   4.0051 ] 
[   4.0146 ] tegrahost_v2 --align blob_tegra186-quill-p3310-1000-c03-00-base.dtb
[   4.0219 ] 
[   4.0232 ] tegrahost_v2 --appendsigheader blob_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[   4.0331 ] 
[   4.0346 ] tegrasign_v2 --key None --list blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[   4.0356 ] Assuming zero filled SBK key
[   4.0611 ] 
[   4.0628 ] 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
[   4.0809 ] 
[   4.0831 ] tegrahost_v2 --generateblob blob.xml blob.bin
[   4.0847 ] number of images in blob are 9
[   4.0879 ] blobsize is 3748120
[   4.0889 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 190048
[   4.1044 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 79600
[   4.1054 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 63024
[   4.1064 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2076832
[   4.1180 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 529440
[   4.1214 ] Added binary blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt of size 466160
[   4.1247 ] Added binary blob_tos_sigheader.img.encrypt of size 62976
[   4.1269 ] Added binary blob_eks_sigheader.img.encrypt of size 1488
[   4.1272 ] Added binary blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt of size 278400
[   4.1494 ] 
[   4.1504 ] Sending bootloader and pre-requisite binaries
[   4.1518 ] tegrarcm_v2 --download blob blob.bin
[   4.1528 ] Applet version 01.00.0000
[   4.1622 ] Sending blob
[   4.1623 ] [................................................] 100%
[   5.0974 ] 
[   5.0993 ] tegrarcm_v2 --boot recovery
[   5.1007 ] Applet version 01.00.0000
[   5.1292 ] 
[   5.1303 ] tegrarcm_v2 --isapplet
[   5.7844 ] 
[   5.7883 ] tegradevflash_v2 --iscpubl
[   5.7912 ] CPU Bootloader is not running on device.
[   5.8045 ] 
[   7.8649 ] Writing partition
[   7.8692 ] tegradevflash_v2 --write kernel-dtb /home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[   7.8731 ] Bootloader version 01.00.0000
[   7.9035 ] Writing partition kernel-dtb with /home/ubuntu/work/jetpack3.2.1/64_TX2/Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[   7.9049 ] [................................................] 100%
[   7.9524 ] 
[   7.9524 ] Coldbooting the device
[   7.9536 ] tegradevflash_v2 --reboot coldboot
[   7.9545 ] Bootloader version 01.00.0000
[   7.9845 ] 
*** The [kernel-dtb] has been updated successfully. ***
6.Check the lane owner information, we found it's not changed
/dev/mem opened.
Memory mapped at address 0x7fa133c000.
Value at address 0x2520284 (0x7fa133c284): 0x0
/dev/mem opened.
Memory mapped at address 0x7fb7309000.
Value at address 0x2530284 (0x7fb7309284): 0x0
/dev/mem opened.
Memory mapped at address 0x7f85c6a000.
Value at address 0x2540284 (0x7f85c6a284): 0x0
/dev/mem opened.
Memory mapped at address 0x7fa5834000.
Value at address 0x2550284 (0x7fa5834284): 0x1
/dev/mem opened.
Memory mapped at address 0x7fa7351000.
Value at address 0x2560284 (0x7fa7351284): 0x1
/dev/mem opened.
Memory mapped at address 0x7f87d4d000.
Value at address 0x2570284 (0x7f87d4d284): 0x2
7.We use  dtc -I fs -O dts -o extracted.dts /proc/device-tree to check the device tree,and it's already changed.
xhci@3530000 {
                reg = <0x0 0x3530000 0x0 0x8000 0x0 0x3538000 0x0 0x1000>;
                phys = <0x94 0x10 0x94 0x11 0x94 0x12 0x94 0x1 0x94 0x2>;
                interrupts = <0x0 0xa3 0x4 0x0 0xa7 0x4>;
                avddio_usb-supply = <0xf>;
                otg-controller = <0x97>;
                compatible = "nvidia,tegra186-xhci";
                clock-names = "host", "falcon_src", "ss", "ss_src", "hs_src", "fs_src", "pll_u_480M", "clk_m", "pll_e";
                nvidia,boost_cpu_freq = <0x320>;
                phy-names = "utmi-0", "utmi-1", "utmi-2", "usb3-1", "usb3-2";
                clocks = <0xd 0x71 0xd 0xf4 0xd 0x72 0xd 0xf2 0xd 0x27c 0xd 0xf5 0xd 0x215 0xd 0x261 0xd 0x200>;
                mboxes = <0x96>;
                status = "okay";
                phandle = <0x70>;
                avdd_pll_utmip-supply = <0xe>;
                #stream-id-cells = <0x1>;
                hvdd_usb-supply = <0xe>;
                mbox-names = "xusb";
                linux,phandle = <0x70>;
                interrupt-parent = <0x2b>;
        };

                pinmux {
                        phandle = <0x9b>;
                        linux,phandle = <0x9b>;

                        usb2-std-A-port2 {
                                nvidia,function = "xusb";
                                nvidia,lanes = "otg-1";
                                nvidia,port-cap = <0x1>;
                                nvidia,oc-pin = <0x1>;
                        };

                        usb3-std-A-port2 {
                                nvidia,lanes = "usb3-1";
                                nvidia,port-cap = <0x1>;
                                status = "okay";
                                nvidia,oc-pin = <0x1>;
                        };

                        usb3-std-A-port3 {
                                nvidia,lanes = "usb3-2";
                                nvidia,port-cap = <0x1>;
                                status = "okay";
                        };

                        e3325-usb3-std-A-HS {
                                nvidia,function = "xusb";
                                nvidia,lanes = "otg-2";
                                nvidia,port-cap = <0x1>;
                                status = "okay";
                        };

                        e3325-usb3-std-A-SS {
                                nvidia,lanes = "usb3-0";
                                nvidia,port-cap = <0x1>;
                                status = "disabled";
                        };

                        usb2-micro-AB {
                                nvidia,function = "xusb";
                                nvidia,lanes = "otg-0";
                                nvidia,port-cap = <0x3>;
                                nvidia,oc-pin = <0x0>;
                        };
                };
8.We use command: ./flash.sh -r jetson-tx2 mmcblk0p1,found that everythig is ok.
nvidia@tegra-ubuntu:~/work$ sudo ./show_usb_phy.sh  
/dev/mem opened.
Memory mapped at address 0x7f93944000.
Value at address 0x2520284 (0x7f93944284): 0x1
/dev/mem opened.
Memory mapped at address 0x7fa5930000.
Value at address 0x2530284 (0x7fa5930284): 0x0
/dev/mem opened.
Memory mapped at address 0x7f85ec1000.
Value at address 0x2540284 (0x7f85ec1284): 0x0
/dev/mem opened.
Memory mapped at address 0x7f7dca3000.
Value at address 0x2550284 (0x7f7dca3284): 0x1
/dev/mem opened.
Memory mapped at address 0x7fadd41000.
Value at address 0x2560284 (0x7fadd41284): 0x1
/dev/mem opened.
Memory mapped at address 0x7fa9092000.
Value at address 0x2570284 (0x7fa9092284): 0x2

Questions:
1.Do we need to flash the whole filesystem to change the usb lane mapping ?
2.The ./flash.sh -r jetson-tx2 mmcblk0p1 command consume too much time,is there any other ways to change the usb lane mapping?

Sorry, I don’t know how to answer the base question, here is some information on faster dtb flash.

You might want to look at this patch and see if your flash.sh script has this already. If not, then you should add this and it would speed up dtb flash (it would allow flashing dtb to exclude the rootfs):
https://devtalk.nvidia.com/default/topic/1036286/jetson-tx1/flashing-just-dtb-on-28-2-and-tx1/post/5264465/#5264465

With that patch in place (when needed) you can see if this is faster (the file “./kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb” is just an example…I use this file as an example because it is the default dev kit dtb and flashing it would be the same as doing nothing for most people…if flashing the system as a whole without naming the dtb, then this is probably the one you’d replace before flashing):

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

Hi liukejob,
USB lane mapping is fixed for each custom board. It looks OK to make a clean flash, unless you have multiple custom boards.

Hi linuxdev,
Thank you very much for your reply.Your answer solved our long-term problem on tx1, Thanks a lot!

Hi DaneLLL:
Unfortunately, our company needs to provide different solutions for different customers.In a lab environment, often one core board is needed to debug multiple custom boards.After make a clean flash we have to install the CUDA、tensorflow、 some libs again.So it’s really consume much time.

For update odmdata, please run with ‘-r’ only

sudo ./flash.sh <b>-r</b> jetson-tx2 mmcblk0p1

Clone the rootfs first and put the clone in as file “bootloader/system.img” prior to the “flash.sh -r” command. See:
https://devtalk.nvidia.com/default/topic/1000105/jetson-tx2/tx2-cloning/