TX2 set device tree's usb lane mapping to configuration #4

My L4T version is R28.2.0. At present we use configuration #2 in the USB lane mapping and I want to change to the configuration# 4, which support more usb3 port.
It seems there are two files need to be changed in the path /usr/src/hardware/nvidia/platform/t18x/quill/kernel-dts/

tegra186-quill-p3310-1000-a00-00-base.dts

and

tegra186-quill-p3310-1000-c03-00-base.dts

I am really confused about the variable’s name in .dts file and the relations of c03 file and a00 file

Here is the changed part in my

tegra186-quill-p3310-1000-c03-00-base.dts
gpio@2200000 {
		sdmmc-wake-support-input {
			status = "okay";
		};

		sdmmc-wake-support-output {
			status = "okay";
		};
   
                /*pcie0_lane2_mux {
			status = "okay"; //This is for switch from usb3.0 to x1 PCIe  on M.2.
		};*/
	};
	pcie-controller@10003000 {
		pci@1,0 {
			// nvidia,num-lanes = <4>;
                        nvidia,num-lanes = <1>;
			nvidia,disable-clock-request;
                         status = "okay";
		};
		pci@2,0 {
			// nvidia,num-lanes = <0>;
                        nvidia,num-lanes = <1>;
                        status = "okay";
		};
		pci@3,0 {
			nvidia,num-lanes = <1>;
                        status = "disabled";
		};
	};
        xhci@3530000 {
		// phys = <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(0)>,
		//	<&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(1)>,
		//	<&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(0)>;
		// phy-names = "utmi-0", "utmi-1", "usb3-0";
                phys = <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(0)>,
			<&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(1)>,
                        <&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(0)>,
			<&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(1)>,
                        <&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(2)>;
		phy-names = "utmi-0", "utmi-1", "usb3-0", "usb3-1", "usb3-2"';
	};
	pinctrl@3520000 {
            pinmux {
  		usb3-std-A-port2 {
  			nvidia,lanes = "usb3-1";
  			nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
  			status = "okay";
  		};
  		usb3-std-A-port3 {
  			nvidia,lanes = "usb3-2";
  			nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
  			status = "okay";
  		};
 		e3325-usb3-std-A-SS {
			nvidia,lanes = "usb3-0";
			nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
			status = "okay";
		};
  		/*e3325-usb3-std-A-HS {
                        status = "okay"; //This is usb2.0 port on M.2
  		};*/
            };
	};

Here is the changed part in my

tegra186-quill-p3310-1000-a00-00-base.dts

file after change

xhci@3530000 {
		status = "okay";
		// phys = <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(0)>,
		//	<&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(1)>,
		//	<&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(1)>;
		// phy-names = "utmi-0", "utmi-1", "usb3-1";
                phys = <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(0)>,
			<&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(1)>,
			<&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(0)>,
			<&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(1)>,
			<&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(2)>;
		phy-names = "utmi-0", "utmi-1", "usb-0", "usb3-1", "usb3-2";
		nvidia,boost_cpu_freq = <800>;
	};
	pinctrl@3520000 {
		status = "okay";
		pinctrl-0 = <&tegra_xusb_padctl_pinmux_default>;
		pinctrl-1 = <&vbus_en0_sfio_tristate_state>;
		pinctrl-2 = <&vbus_en1_sfio_tristate_state>;
		pinctrl-3 = <&vbus_en0_sfio_passthrough_state>;
		pinctrl-4 = <&vbus_en1_sfio_passthrough_state>;
		pinctrl-5 = <&vbus_en0_default_state>;
		pinctrl-6 = <&vbus_en1_default_state>;
		pinctrl-names = "default",
			"vbus_en0_sfio_tristate", "vbus_en1_sfio_tristate",
			"vbus_en0_sfio_passthrough", "vbus_en1_sfio_passthrough",
			"vbus_en0_default", "vbus_en1_default";
		tegra_xusb_padctl_pinmux_default: pinmux {
			/* Quill does not support usb3-micro AB */
			usb2-micro-AB {
				nvidia,lanes = "otg-0";
				nvidia,function = "xusb";
				nvidia,port-cap = <TEGRA_PADCTL_PORT_OTG_CAP>;
				nvidia,oc-pin = <0>;
			};
			usb2-std-A-port2 {
				nvidia,lanes = "otg-1";
				nvidia,function = "xusb";
				nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
				nvidia,oc-pin = <1>;
			};
			usb3-std-A-port2 {
				nvidia,lanes = "usb3-1";
				nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
				nvidia,oc-pin = <1>;
			};
      
			usb3-std-A-port3 {
				nvidia,lanes = "usb3-2";
				nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
				nvidia,oc-pin = <1>;
			};

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

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

	pcie-controller@10003000 {
		status = "okay";
		pci@1,0 {
                        // nvidia,num-lanes = <4>;
			nvidia,num-lanes = <1>;
                        nvidia,disable-clock-request;
			status = "okay";
		};
		pci@2,0 {
			nvidia,num-lanes = <1>;
			status = "disabled";
		};
		pci@3,0 {
			nvidia,num-lanes = <1>;
			status = "disabled";
		};
	};

Btw, I have already commented out the “fragment-500-pcie-config”, “fragment-500-xusb-config” and “fragment-500-e3325-pcie” in

/usr/src/hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-plugin-manager/tegra186-quill-p3310-1000-a00-plugin-manager.dtsi

and changed the vbus-2-supply = <&vdd_usb2_5v> to vbus-2-supply = <&battery_reg> in

/usr/src/hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-quill-power-tree-p3310-1000-a00-00.dtsi

Appreciate anyone can help me with it. I’m just so confused now.
Thanks

Here is a sample for config #4
[url]https://devtalk.nvidia.com/default/topic/1030635/jetson-tx2/tx2-config-4-for-usb-lane-mapping/post/5243174/#5243174[/url]
Besides, do you modify ODMDATA accordingly?
Below post shows tips to check correctness of device tree:
[url]https://devtalk.nvidia.com/default/topic/1023160/jetson-tx2/tx2-using-pcix1-instead-of-usb3-default-config-1-/post/5208073/#5208073[/url]

two questions:

  1. in pinctrl@3520000 , what is the variable name’s meaning? i see you use usb2-macro, usb3-macro, usb3-1, usb3-2 and so on. but i see other answers may use the name usb3-std-A-port3, e3325-usb3-std-A-SS.

  2. how can I modify the ODMDATA?

Please check adaptation guide:
https://developer.nvidia.com/embedded/dlc/l4t-driver-package-tx2-adaptation-guide

Hi Crisliu7,

Could you change the config from #2 to #4?

If you could, would you please provide the “tegra186-quill-p3310-1000-c03-00-base.dts” file which you modified? Also would you please teach me the detail process with step by step if you add any process in your first post?

Best regards.
Kaka

Hi, Kaka. Unfortunately, I made no progress. According to the adaption guide, I made changes in the “tegra186-quill-p3310-1000-a00-00-base.dts” as follow, and update ODMDATA to 0x7090000 in p2771-0000.conf.common, then run the flash.sh

xotg {
        status = "okay";
        phys = <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(0)>;
        <&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(0)>;
        phy-names = "otg-usb2", "otg-usb3";
    };

    xudc@3550000 {
        status = "okay";
        phys = <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(0)>;
        <&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(0)>;
        phy-names = "usb2", "usb3";
        emc-frequency = <150000000>;
    };

    xhci@3530000 {
        status = "okay";
        phys = <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(0)>,
            <&tegra_xusb_padctl TEGRA_PADCTL_PHY_UTMI_P(1)>,
            <&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(0)>,
            <&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(1)>,
            <&tegra_xusb_padctl TEGRA_PADCTL_PHY_USB3_P(2)>;
        phy-names = "utmi-0", "utmi-1", "usb3-0", "usb3-1", "usb3-2";
        nvidia,boost_cpu_freq = <800>;
    };

    pinctrl@3520000 {
        status = "okay";
        pinctrl-0 = <&tegra_xusb_padctl_pinmux_default>;
        pinctrl-1 = <&vbus_en0_sfio_tristate_state>;
        pinctrl-2 = <&vbus_en1_sfio_tristate_state>;
        pinctrl-3 = <&vbus_en0_sfio_passthrough_state>;
        pinctrl-4 = <&vbus_en1_sfio_passthrough_state>;
        pinctrl-5 = <&vbus_en0_default_state>;
        pinctrl-6 = <&vbus_en1_default_state>;
        pinctrl-names = "default",
            "vbus_en0_sfio_tristate", "vbus_en1_sfio_tristate",
            "vbus_en0_sfio_passthrough", "vbus_en1_sfio_passthrough",
            "vbus_en0_default", "vbus_en1_default";
        tegra_xusb_padctl_pinmux_default: pinmux {
            /* Quill does not support usb3-micro AB */
            usb2-micro-AB {
                nvidia,lanes = "otg-0";
                nvidia,function = "xusb";
                nvidia,port-cap = <TEGRA_PADCTL_PORT_OTG_CAP>;
                nvidia,oc-pin = <0>;
            };
            usb2-std-A-port2 {
                nvidia,lanes = "otg-1";
                nvidia,function = "xusb";
                nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
                nvidia,oc-pin = <1>;
            };

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

            usb3-std-A-port1 {
                nvidia,lanes = "usb3-0";
                nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
                nvidia,oc-pin = <1>;
            };

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

            usb3-std-A-port3 {
                nvidia,lanes = "usb3-2";
                nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
                nvidia,oc-pin = <1>;
            };

            // e3325-usb3-std-A-SS {
            //     nvidia,lanes = "usb3-0";
            //     nvidia,port-cap = <TEGRA_PADCTL_PORT_HOST_ONLY>;
            //     status = "disabled";
            // };
        };
    };
    pcie-controller@10003000 {
        status = "okay";
        pci@1,0 {
            nvidia,num-lanes = <1>;
            status = "okay";
        };
        pci@2,0 {
            nvidia,num-lanes = <1>;
            status = "okay";
        };
        pci@3,0 {
            nvidia,num-lanes = <1>;
            status = "disabled";
        };
    };

Please refer to Jetson/TX2 USB - eLinux.org

and also debug tips at [url]https://devtalk.nvidia.com/default/topic/1023160/jetson-tx2/tx2-using-pcix1-instead-of-usb3-default-config-1-/post/5208073/#5208073[/url]

Hi Crisliu7, DaneLLL,

Thank you for your information.
I changed the device-tree and plugin manager, it could not work.
Could you please check my them if I attached here?

Also, what do you think that it can work PCIe0 1 lane card even though apply the Config#4 for Development Kit,? And can we see the all USB peripherals by using the “lsusb -t”?

Best regards.
Kaka

I uploaded my files on this post.
Best regards.
Kaka
config4.zip (5.36 KB)
boot.log (82.3 KB)

Hi DaneLLL,
I use tx2, L4T R28.2.1, I will config #4, I have modify ODMDAT and dts files. I want to know:

  1. for R28.2.1, I need to modify the tegra186-mb1-bct-pmic-quill-p3310-1000-c0?.cfg file?
  2. for R28.2.1, I need to modify the tegra186-quill-power-tree-p3310-1000-a00-00.dtsi file? modify vbus-2-supply = <&battery_reg>;?
  3. for R28.2.1, I have modify dts files, how to compile to dtb file? Where is the new dtb file to copy?

Thanks

For 1 2, please check adaptation guide and
https://elinux.org/Jetson/TX2_USB#Patching_the_DTS
https://elinux.org/Jetson/TX2_USB#USB-Lane_Mapping

For 3, it is [Kernel Customization] in https://developer.nvidia.com/embedded/dlc/l4t-documentation-28-2-ga

Hi DaneLLL,
Thanks you.
Now I have compile the tegra186-quill-p3310-1000-c03-00-base.dtb, I copy this file to Linux_for_Tegra_64_tx1/kernel/dtb/
and run sudo ./flash.sh -r -k kernel-dtb jetson-tx2 mmcblk0p1 to update dtb file, but I dd /dev/mmcblk0p26 (R28.2.1) get dtb file, and decopiler to dts file, but it is not my modify dts file, how to update the modify dtb file for R28.2.1?

Please check device tree via xxd as suggested in comment #7

DaneLLL,
nvidia@tegra-ubuntu:~$ xxd /proc/device-tree/xhci@3530000/phy-names
00000000: 7574 6d69 2d30 0075 746d 692d 3100 7574 utmi-0.utmi-1.ut
00000010: 6d69 2d32 0075 7362 332d 3000 mi-2.usb3-0.

You can see, phy-names not change. is it bug for R28.2.1?
Can you test update dtb file in the R28.2.1?

Thanks

We have verified it without problem.
https://elinux.org/Jetson/TX2_DTB#TX2

Do you copy to tx1 or tx2 folder?

Linux_for_Tegra_64_tx1

“We have verified it without problem.
Jetson/TX2 DTB - eLinux.org

DaneLLL, this jetPack 3.1, it’s path is
JetPack/3.1/64_TX2/Linux_for_Tegra_64_tx2

but jetPack 3.3 path is 64_TX2/Linux_for_Tegra

Hi,
We can successfully run the command:

jetpack3_3/64_TX2/Linux_for_Tegra$ sudo ./flash.sh -r -k kernel-dtb jetson-tx2 mmcblk0p1
###############################################################################
# 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/danel/D/home/daneliu/temp/jetpack3_3/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.0026 ] Generating RCM messages
[   0.0040 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm /home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[   0.0054 ] RCM 0 is saved as rcm_0.rcm
[   0.0060 ] RCM 1 is saved as rcm_1.rcm
[   0.0060 ] List of rcm files are saved in rcm_list.xml
[   0.0060 ]
[   0.0060 ] Signing RCM messages
[   0.0073 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0086 ] Assuming zero filled SBK key
[   0.0156 ]
[   0.0157 ] Copying signature to RCM mesages
[   0.0170 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0189 ]
[   0.0189 ] Boot Rom communication
[   0.0202 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml --skipuid
[   0.0215 ] RCM version 0X180001
[   0.0226 ] Boot Rom communication completed
[   1.0298 ]
[   1.0315 ] tegrarcm_v2 --isapplet
[   1.0330 ] Applet version 01.00.0000
[   1.0375 ]
[   1.0391 ] Retrieving EEPROM data
[   1.0392 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/cvm.bin
[   1.0407 ] Applet version 01.00.0000
[   1.0454 ] Saved platform info in /home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/cvm.bin
[   1.1255 ]
Board ID(3310) version(B02)
copying bctfile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg)... done.
copying misc_config(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)... done.
copying pinmux_config(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)... done.
copying pmic_config(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)... done.
copying pmc_config(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)... done.
copying prod_config(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)... done.
copying scr_config(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)... done.
copying scr_cold_boot_config(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)... done.
copying bootrom_config(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)... done.
copying dev_params(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)... done.
Existing bootloader(/home/danel/D/home/daneliu/temp/jetpack3_3/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/danel/D/home/daneliu/temp/jetpack3_3/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/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)... done.
Existing mb2blfile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)... done.
Existing scefile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/camera-rtcpu-sce.bin) reused.
Existing spefile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/spe.bin) reused.
copying wb0boot(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)... done.
Existing tosfile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/tos.img) reused.
Existing eksfile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
Reusing existing system.img...
done.
Existing tbcfile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
copying cfgfile(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml... done.
Existing flasher(/home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/danel/D/home/daneliu/temp/jetpack3_3/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.0107 ] tegrasign_v2 --key None --getmode mode.txt
[   0.0121 ] Assuming zero filled SBK key
[   0.0122 ]
[   0.0123 ] Generating RCM messages
[   0.0135 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm mb1_recovery_prod.bin 0 0
[   0.0149 ] RCM 0 is saved as rcm_0.rcm
[   0.0154 ] RCM 1 is saved as rcm_1.rcm
[   0.0155 ] List of rcm files are saved in rcm_list.xml
[   0.0155 ]
[   0.0155 ] Signing RCM messages
[   0.0168 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0183 ] Assuming zero filled SBK key
[   0.0256 ]
[   0.0256 ] Copying signature to RCM mesages
[   0.0272 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   0.0293 ]
[   0.0294 ] Parsing partition layout
[   0.0310 ] tegraparser_v2 --pt flash.xml.tmp
[   0.0334 ]
[   0.0334 ] Creating list of images to be signed
[   0.0349 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   0.0748 ]
[   0.0748 ] Generating signatures
[   0.0766 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.0782 ] Assuming zero filled SBK key
[   0.3283 ]
[   0.3284 ] Generating br-bct
[   0.3299 ] Updating dev and MSS params in BR BCT
[   0.3299 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18
[   0.3526 ]
[   0.3527 ] Updating bl info
[   0.3541 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   0.3561 ]
[   0.3562 ] Updating smd info
[   0.3576 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
[   0.3594 ]
[   0.3595 ] Get Signed section bct
[   0.3609 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --listbct bct_list.xml
[   0.3626 ]
[   0.3627 ] Signing BCT
[   0.3658 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
[   0.3675 ] Assuming zero filled SBK key
[   0.3680 ]
[   0.3680 ] Updating BCT with signature
[   0.3697 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesig bct_list_signed.xml
[   0.3721 ]
[   0.3721 ] Generating coldboot mb1-bct
[   0.3738 ] 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.3753 ] MB1-BCT version: 0xe
[   0.3758 ] Copying Sdram info from 2 to 3 set
[   0.4017 ] Packing sdram param for instance[0]
[   0.4020 ] Packing sdram param for instance[1]
[   0.4023 ] Packing sdram param for instance[2]
[   0.4025 ] Packing sdram param for instance[3]

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

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

[   0.4049 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
[   0.4053 ] Appending platform config data of size :- 24
[   0.4053 ]
[   0.4053 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
[   0.4054 ] Appending platform config data of size :- 708
[   0.4054 ]
[   0.4054 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
[   0.4054 ] Appending platform config data of size :- 64
[   0.4054 ]
[   0.4055 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[   0.4055 ] Appending platform config data of size :- 1652
[   0.4055 ]
[   0.4056 ] Updating mb1-bct with firmware information
[   0.4070 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.4082 ] MB1-BCT version: 0xe
[   0.4091 ]
[   0.4092 ] Updating mb1-bct with storage information
[   0.4107 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.4120 ] MB1-BCT version: 0xe
[   0.4129 ]
[   0.4143 ] tegrahost_v2 --align mb1_cold_boot_bct_MB1.bct
[   0.4157 ]
[   0.4170 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
[   0.4186 ]
[   0.4202 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml
[   0.4215 ] Assuming zero filled SBK key
[   0.4249 ]
[   0.4271 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
[   0.4290 ]
[   0.4291 ] Generating recovery mb1-bct
[   0.4307 ] 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.4322 ] MB1-BCT version: 0xe
[   0.4327 ] Copying Sdram info from 2 to 3 set
[   0.4566 ] Packing sdram param for instance[0]
[   0.4569 ] Packing sdram param for instance[1]
[   0.4571 ] Packing sdram param for instance[2]
[   0.4574 ] Packing sdram param for instance[3]

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

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

[   0.4598 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
[   0.4602 ] Appending platform config data of size :- 24
[   0.4602 ]
[   0.4602 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
[   0.4602 ] Appending platform config data of size :- 708
[   0.4603 ]
[   0.4603 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
[   0.4603 ] Appending platform config data of size :- 64
[   0.4603 ]
[   0.4603 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[   0.4603 ] Appending platform config data of size :- 1652
[   0.4604 ]
[   0.4604 ] Updating mb1-bct with firmware information
[   0.4618 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[   0.4629 ] MB1-BCT version: 0xe
[   0.4638 ]
[   0.4638 ] Updating mb1-bct with storage information
[   0.4652 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[   0.4664 ] MB1-BCT version: 0xe
[   0.4673 ]
[   0.4687 ] tegrahost_v2 --align mb1_bct_MB1.bct
[   0.4704 ]
[   0.4720 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[   0.4739 ]
[   0.4759 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml
[   0.4774 ] Assuming zero filled SBK key
[   0.4808 ]
[   0.4828 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[   0.4847 ]
[   0.4848 ] Copying signatures
[   0.4864 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   0.5406 ]
[   0.5424 ] tegrahost_v2 --align nvtboot_recovery.bin
[   0.5440 ]
[   0.5457 ] tegrahost_v2 --appendsigheader nvtboot_recovery.bin zerosbk
[   0.5477 ]
[   0.5497 ] tegrasign_v2 --key None --list nvtboot_recovery_sigheader.bin_list.xml
[   0.5512 ] Assuming zero filled SBK key
[   0.5562 ]
[   0.5584 ] tegrahost_v2 --updatesigheader nvtboot_recovery_sigheader.bin.encrypt nvtboot_recovery_sigheader.bin.hash zerosbk
[   0.5603 ]
[   0.5619 ] tegrahost_v2 --align preboot_d15_prod_cr.bin
[   0.5635 ]
[   0.5651 ] tegrahost_v2 --appendsigheader preboot_d15_prod_cr.bin zerosbk
[   0.5671 ]
[   0.5691 ] tegrasign_v2 --key None --list preboot_d15_prod_cr_sigheader.bin_list.xml
[   0.5706 ] Assuming zero filled SBK key
[   0.5750 ]
[   0.5772 ] tegrahost_v2 --updatesigheader preboot_d15_prod_cr_sigheader.bin.encrypt preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[   0.5791 ]
[   0.5807 ] tegrahost_v2 --align mce_mts_d15_prod_cr.bin
[   0.5822 ]
[   0.5837 ] tegrahost_v2 --appendsigheader mce_mts_d15_prod_cr.bin zerosbk
[   0.5911 ]
[   0.5932 ] tegrasign_v2 --key None --list mce_mts_d15_prod_cr_sigheader.bin_list.xml
[   0.5947 ] Assuming zero filled SBK key
[   0.6541 ]
[   0.6563 ] tegrahost_v2 --updatesigheader mce_mts_d15_prod_cr_sigheader.bin.encrypt mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[   0.6639 ]
[   0.6657 ] tegrahost_v2 --align bpmp.bin
[   0.6673 ]
[   0.6689 ] tegrahost_v2 --appendsigheader bpmp.bin zerosbk
[   0.6723 ]
[   0.6745 ] tegrasign_v2 --key None --list bpmp_sigheader.bin_list.xml
[   0.6760 ] Assuming zero filled SBK key
[   0.6970 ]
[   0.6989 ] tegrahost_v2 --updatesigheader bpmp_sigheader.bin.encrypt bpmp_sigheader.bin.hash zerosbk
[   0.7010 ]
[   0.7025 ] tegrahost_v2 --align tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[   0.7037 ]
[   0.7052 ] tegrahost_v2 --appendsigheader tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[   0.7075 ]
[   0.7093 ] tegrasign_v2 --key None --list tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[   0.7109 ] Assuming zero filled SBK key
[   0.7291 ]
[   0.7313 ] 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
[   0.7342 ]
[   0.7359 ] tegrahost_v2 --align tos.img
[   0.7375 ]
[   0.7391 ] tegrahost_v2 --appendsigheader tos.img zerosbk
[   0.7410 ]
[   0.7431 ] tegrasign_v2 --key None --list tos_sigheader.img_list.xml
[   0.7446 ] Assuming zero filled SBK key
[   0.7489 ]
[   0.7511 ] tegrahost_v2 --updatesigheader tos_sigheader.img.encrypt tos_sigheader.img.hash zerosbk
[   0.7530 ]
[   0.7547 ] tegrahost_v2 --align eks.img
[   0.7563 ]
[   0.7580 ] tegrahost_v2 --appendsigheader eks.img zerosbk
[   0.7597 ]
[   0.7617 ] tegrasign_v2 --key None --list eks_sigheader.img_list.xml
[   0.7632 ] Assuming zero filled SBK key
[   0.7637 ]
[   0.7657 ] tegrahost_v2 --updatesigheader eks_sigheader.img.encrypt eks_sigheader.img.hash zerosbk
[   0.7674 ]
[   0.7691 ] tegrahost_v2 --align tegra186-quill-p3310-1000-c03-00-base.dtb
[   0.7707 ]
[   0.7723 ] tegrahost_v2 --appendsigheader tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[   0.7750 ]
[   0.7771 ] tegrasign_v2 --key None --list tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[   0.7787 ] Assuming zero filled SBK key
[   0.7912 ]
[   0.7932 ] tegrahost_v2 --updatesigheader tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[   0.7953 ]
[   0.7968 ] tegrahost_v2 --align nvtboot_recovery_cpu.bin
[   0.7983 ]
[   0.7998 ] tegrahost_v2 --appendsigheader nvtboot_recovery_cpu.bin zerosbk
[   0.8017 ]
[   0.8036 ] tegrasign_v2 --key None --list nvtboot_recovery_cpu_sigheader.bin_list.xml
[   0.8050 ] Assuming zero filled SBK key
[   0.8143 ]
[   0.8163 ] tegrahost_v2 --updatesigheader nvtboot_recovery_cpu_sigheader.bin.encrypt nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[   0.8182 ]
[   0.8184 ] Copying signed file in /home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/signed
[   1.0057 ] Generating RCM messages
[   1.0072 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 --download rcm mb1_recovery_prod.bin 0 0
[   1.0085 ] RCM 0 is saved as rcm_0.rcm
[   1.0091 ] RCM 1 is saved as rcm_1.rcm
[   1.0091 ] List of rcm files are saved in rcm_list.xml
[   1.0091 ]
[   1.0092 ] Signing RCM messages
[   1.0105 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   1.0119 ] Assuming zero filled SBK key
[   1.0192 ]
[   1.0192 ] Copying signature to RCM mesages
[   1.0206 ] tegrarcm_v2 --chip 0x18 --updatesig rcm_list_signed.xml
[   1.0317 ]
[   1.0318 ] Boot Rom communication
[   1.0329 ] tegrarcm_v2 --chip 0x18 --rcm rcm_list_signed.xml
[   1.0340 ] BootRom is not running
[   2.0342 ]
[   2.0359 ] tegrarcm_v2 --isapplet
[   2.0375 ] Applet version 01.00.0000
[   2.0420 ]
[   2.0436 ] tegrasign_v2 --key None --getmode mode.txt
[   2.0451 ] Assuming zero filled SBK key
[   2.0453 ]
[   2.0454 ] Parsing partition layout
[   2.0471 ] tegraparser_v2 --pt flash.xml.tmp
[   2.0496 ]
[   2.0496 ] Creating list of images to be signed
[   2.0513 ] tegrahost_v2 --chip 0x18 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   2.1105 ]
[   2.1106 ] Generating signatures
[   2.1123 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   2.1140 ] Assuming zero filled SBK key
[   2.4036 ]
[   2.4037 ] Reading BCT from device for further operations
[   2.4037 ] Generating blob
[   2.4057 ] tegrahost_v2 --align blob_nvtboot_recovery_cpu.bin
[   2.4074 ]
[   2.4091 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[   2.4115 ]
[   2.4137 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml
[   2.4153 ] Assuming zero filled SBK key
[   2.4269 ]
[   2.4291 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[   2.4315 ]
[   2.4334 ] tegrahost_v2 --align blob_nvtboot_recovery.bin
[   2.4350 ]
[   2.4368 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[   2.4388 ]
[   2.4409 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml
[   2.4425 ] Assuming zero filled SBK key
[   2.4471 ]
[   2.4492 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[   2.4511 ]
[   2.4528 ] tegrahost_v2 --align blob_preboot_d15_prod_cr.bin
[   2.4543 ]
[   2.4558 ] tegrahost_v2 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[   2.4576 ]
[   2.4596 ] tegrasign_v2 --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml
[   2.4610 ] Assuming zero filled SBK key
[   2.4648 ]
[   2.4671 ] tegrahost_v2 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[   2.4691 ]
[   2.4709 ] tegrahost_v2 --align blob_mce_mts_d15_prod_cr.bin
[   2.4726 ]
[   2.4742 ] tegrahost_v2 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[   2.4822 ]
[   2.4844 ] tegrasign_v2 --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml
[   2.4859 ] Assuming zero filled SBK key
[   2.5447 ]
[   2.5469 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[   2.5514 ]
[   2.5532 ] tegrahost_v2 --align blob_bpmp.bin
[   2.5546 ]
[   2.5561 ] tegrahost_v2 --appendsigheader blob_bpmp.bin zerosbk
[   2.5592 ]
[   2.5613 ] tegrasign_v2 --key None --list blob_bpmp_sigheader.bin_list.xml
[   2.5629 ] Assuming zero filled SBK key
[   2.5835 ]
[   2.5854 ] tegrahost_v2 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[   2.5876 ]
[   2.5892 ] tegrahost_v2 --align blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[   2.5907 ]
[   2.5921 ] tegrahost_v2 --appendsigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[   2.5948 ]
[   2.5969 ] tegrasign_v2 --key None --list blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[   2.5985 ] Assuming zero filled SBK key
[   2.6180 ]
[   2.6200 ] 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.6220 ]
[   2.6236 ] tegrahost_v2 --align blob_tos.img
[   2.6250 ]
[   2.6265 ] tegrahost_v2 --appendsigheader blob_tos.img zerosbk
[   2.6281 ]
[   2.6302 ] tegrasign_v2 --key None --list blob_tos_sigheader.img_list.xml
[   2.6317 ] Assuming zero filled SBK key
[   2.6358 ]
[   2.6380 ] tegrahost_v2 --updatesigheader blob_tos_sigheader.img.encrypt blob_tos_sigheader.img.hash zerosbk
[   2.6400 ]
[   2.6419 ] tegrahost_v2 --align blob_eks.img
[   2.6434 ]
[   2.6450 ] tegrahost_v2 --appendsigheader blob_eks.img zerosbk
[   2.6467 ]
[   2.6488 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml
[   2.6503 ] Assuming zero filled SBK key
[   2.6506 ]
[   2.6527 ] tegrahost_v2 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[   2.6545 ]
[   2.6563 ] tegrahost_v2 --align blob_tegra186-quill-p3310-1000-c03-00-base.dtb
[   2.6580 ]
[   2.6597 ] tegrahost_v2 --appendsigheader blob_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[   2.6624 ]
[   2.6644 ] tegrasign_v2 --key None --list blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[   2.6659 ] Assuming zero filled SBK key
[   2.6800 ]
[   2.6819 ] 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.6838 ]
[   2.6857 ] tegrahost_v2 --generateblob blob.xml blob.bin
[   2.6870 ] number of images in blob are 9
[   2.6873 ] blobsize is 3749384
[   2.6875 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 190048
[   2.6891 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 79600
[   2.6897 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 63024
[   2.6908 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2076832
[   2.6918 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 529440
[   2.6927 ] Added binary blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt of size 466160
[   2.6942 ] Added binary blob_tos_sigheader.img.encrypt of size 62976
[   2.6950 ] Added binary blob_eks_sigheader.img.encrypt of size 1488
[   2.6954 ] Added binary blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt of size 279664
[   2.6954 ]
[   2.6955 ] Sending bootloader and pre-requisite binaries
[   2.6970 ] tegrarcm_v2 --download blob blob.bin
[   2.6984 ] Applet version 01.00.0000
[   2.7030 ] Sending blob
[   2.7032 ] [................................................] 100%
[   3.5641 ]
[   3.5659 ] tegrarcm_v2 --boot recovery
[   3.5675 ] Applet version 01.00.0000
[   3.5737 ]
[   3.5754 ] tegrarcm_v2 --isapplet
[   4.2329 ]
[   4.2346 ] tegradevflash_v2 --iscpubl
[   4.2362 ] CPU Bootloader is not running on device.
[   4.2406 ]
[   5.5033 ] Writing partition
[   5.5049 ] tegradevflash_v2 --write kernel-dtb /home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[   5.5065 ] Bootloader version 01.00.0000
[   5.5113 ] Writing partition kernel-dtb with /home/danel/D/home/daneliu/temp/jetpack3_3/64_TX2/Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[   5.5145 ] [................................................] 100%
[   5.5402 ]
[   5.5403 ] Coldbooting the device
[   5.5419 ] tegradevflash_v2 --reboot coldboot
[   5.5435 ] Bootloader version 01.00.0000
[   5.5535 ]
*** The [kernel-dtb] has been updated successfully. ***

If you cannot run partial flash, please run full flash:

jetpack3_3/64_TX2/Linux_for_Tegra$ sudo ./flash.sh jetson-tx2 mmcblk0p1

Hi, DaneLLL,
update is successfully, but the dtb file is not my modify, you can dump the update dtb file, decompile it to check.
I think maybe it is issue for R28.2.1.
I install the jetpack3.1 and run same step, dump the dtb file, the dtb file is my modify file.

Hi vcip,
I can see new dtb updated after reflashing it. Not sure but I guess you don’t disable plugin manager.

Hi DaneLLL,
how to disable plugin manager?