TX2 USB not work

Another attempt with attachment. See line 5067
tegra186-quill-p3310-1000-c03-00-base.zip (63.4 KB)

Please set

vbus-2-supply = <0x0000001a>;

Finally have it working. Not being a Unix kernel person I have no idea what this accomplished but I now have the USB 2 working as well as all my other peripheral IO. Maybe someone would like to explain why this device tree modification was necessary and exactly what it accomplished but for the next guy that needs this information here are the steps I took. some of the copies may not be necessary but I do not know which ones and there may be a method for modifying the flashed kernel instead of a complete refresh, but again I am not informed:

On the TX2 via ssh:

cd ~
mkdir dtb2dts
ln -s /boot/tegra186-quill-p3310-1000-c03-00-base.dtb
dtc -I dtb -O dts -o tegra186-quill-p3310-1000-c03-00-base.dts.orig tegra186-quill-p3310-1000-c03-00-base.dtb

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

diff tegra186-quill-p3310-1000-c03-00-base.dts.orig tegra186-quill-p3310-1000-c03-00-base.dts.new
5662c5662
< vbus-2-supply = <0x9f>;

          vbus-2-supply = <0x1a>;

dtc -I dts -O dtb -o tegra186-quill-p3310-1000-c03-00-base.dtb.new tegra186-quill-p3310-1000-c03-00-base.dts.new

scp tegra186-quill-p3310-1000-c03-00-base.dtb.new @:Public

On host:

cd ~/Public

sudo cp tegra186-quill-p3310-1000-c03-00-base.dtb.new ~/64_TX2/Linux_for_tegra_tx2/rootfs/boot/tegra186-quill-p3310-1000-c03-00-base.dtb
sudo cp tegra186-quill-p3310-1000-c03-00-base.dtb.new ~/64_TX2/Linux_for_tegra_tx2/bootloader/tegra186-quill-p3310-1000-c03-00-base.dtb
sudo cp tegra186-quill-p3310-1000-c03-00-base.dtb.new ~/64_TX2/Linux_for_tegra_tx2/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb

Put TX2 in recovery (hold recovery and power-up)
verify with lusb on

cd ~/64_TX2/Linux_for_tegra_tx2
sudo ./flash.sh jetson-tx2 mmcblk0p1

Sorry for totally an off topic , But how do i create a topic of my own ? i can’t figure out how , i dont see any option anywhere , Please help!! .

https://devtalk.nvidia.com/default/board/188/#

There should be a large green “Create Topic” button top right.

Really Thank you for the reply , But i am not seeing any “Create topic” thing anywhere . On which page ? my profile page ? or where ?

for me , its my profile name , and the black menu bar at top right , nothing else

I got it , Thanks for taking the trouble for me .

This page:

https://devtalk.nvidia.com/default/board/188/#

And you must be logged in to the forum, which you are since you are posting to this topic.,

Here is the forum for TX2 in general. This is where you’ll see the “Create Topic” mentioned above:
https://devtalk.nvidia.com/default/board/188/jetson-tx2/

FYI, a quote from above probably has a typo and would be better as:

<s>dtc -I dtb -O dts -o tegra186-quill-p3310-1000-c03-00-base.dts.orig tegra186-quill-p3310-1000-c03-00-base.<b>dtb</b></s>
dtc -I dtb -O dts -o tegra186-quill-p3310-1000-c03-00-base.dts.orig tegra186-quill-p3310-1000-c03-00-base.<b>dts</b> <whatever the input file name is>

linuxdev,

Nope, not a typo. For that line the input is dtb and the output is dts.

If you would like to add new information to the thread how about a short explanation of why the dtb/dts for the developer kit board did not work for the custom board, given that the custom board is a simple IO subset of the developer’s board.

Even a description of the difference that comes from these two lines would be an improvement:

< vbus-2-supply = <0x9f>;

vbus-2-supply = <0x1a>;

“-I dtb” says input is dtb, “-O dts” says output is dts. The “-o” is the actual file name, so “-O dts” and a “-o” with a “.dtb” file extension looks like a typographic error. Here is how I use dtc (there are of course a lot of different ways to use dtc):
[url]https://devtalk.nvidia.com/default/topic/1037131/jetson-tx1/does-anybody-know-how-to-enable-and-program-an-spi-protocol-on-the-tx1-/post/5269528/#5269528[/url]

The one-line change demonstrates Jetson/TX2 USB - eLinux.org

vbus-2-supply = <0x0000001a>;

&battery_reg is compiled into 0x0000001a

This worked for my Jetson! Thank you!!!

hi!
I try this method, but use the DTC Compile failed,
FATAL ERROR: Couldn’t open “tegra186-quill-p3310-1000-c03-00-base.dtb”: No such file or directory

You have to be in the same directory as the file itself. You’ll need to first find “tegra186-quill-p3310-1000-c03-00-base.dtb” before you can run the command.

thanks! I’ll try

I followed the steps to try the above method ,but TX2 USB3.0 still not working !!!
Here is the dmesg,I dot’t know it’s right or not:
[ 0.0268 ] tegrasign_v2 --key None --getmode mode.txt
[ 0.0278 ] Assuming zero filled SBK key
[ 0.0334 ]
[ 0.0335 ] sign_type : 808464433
[ 0.0335 ] header_magic: d00dfeed
[ 0.0361 ] tegrahost_v2 --chip 0x18 --align 1_tegra186-quill-p3310-1000-c03-00-base.dtb
[ 0.0493 ]
[ 0.0503 ] tegrahost_v2 --appendsigheader 1_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[ 0.0573 ]
[ 0.0585 ] tegrasign_v2 --key None --list 1_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[ 0.0594 ] Assuming zero filled SBK key
[ 0.0773 ]
[ 0.0785 ] tegrahost_v2 --updatesigheader 1_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt 1_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[ 0.0852 ]
[ 0.0854 ] Generating RCM messages
[ 0.0863 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
[ 0.0873 ] RCM 0 is saved as rcm_0.rcm
[ 0.0880 ] RCM 1 is saved as rcm_1.rcm
[ 0.0887 ] List of rcm files are saved in rcm_list.xml
[ 0.0932 ]
[ 0.0932 ] Signing RCM messages
[ 0.0950 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[ 0.0978 ] Assuming zero filled SBK key
[ 0.1092 ]
[ 0.1092 ] Copying signature to RCM mesages
[ 0.1102 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[ 0.1171 ]
[ 0.1172 ] Boot Rom communication
[ 0.1181 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[ 0.1192 ] BootRom is not running
[ 5.1296 ]
[ 6.1320 ] tegrarcm_v2 --isapplet
[ 6.1330 ] Applet version 01.00.0000
[ 6.2005 ]
[ 6.2016 ] tegrasign_v2 --key None --getmode mode.txt
[ 6.2026 ] Assuming zero filled SBK key
[ 6.2113 ]
[ 6.2115 ] Parsing partition layout
[ 6.2195 ] tegraparser_v2 --pt flash.xml.tmp
[ 6.2331 ]
[ 6.2333 ] Creating list of images to be signed
[ 6.2343 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[ 6.2726 ]
[ 6.2728 ] Generating signatures
[ 6.2737 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[ 6.2747 ] Assuming zero filled SBK key
[ 6.5726 ]
[ 6.5727 ] Reading BCT from device for further operations
[ 6.5727 ] Generating blob
[ 6.5737 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery_cpu.bin
[ 6.5805 ]
[ 6.5814 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[ 6.5904 ]
[ 6.5916 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 6.5925 ] Assuming zero filled SBK key
[ 6.6070 ]
[ 6.6104 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[ 6.6167 ]
[ 6.6193 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery.bin
[ 6.6254 ]
[ 6.6264 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[ 6.6327 ]
[ 6.6371 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 6.6407 ] Assuming zero filled SBK key
[ 6.6493 ]
[ 6.6505 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[ 6.6568 ]
[ 6.6581 ] tegrahost_v2 --chip 0x18 --align blob_preboot_d15_prod_cr.bin
[ 6.6688 ]
[ 6.6700 ] tegrahost_v2 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[ 6.6765 ]
[ 6.6777 ] tegrasign_v2 --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 6.6787 ] Assuming zero filled SBK key
[ 6.6847 ]
[ 6.6860 ] tegrahost_v2 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[ 6.6927 ]
[ 6.6939 ] tegrahost_v2 --chip 0x18 --align blob_mce_mts_d15_prod_cr.bin
[ 6.7025 ]
[ 6.7035 ] tegrahost_v2 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[ 6.7132 ]
[ 6.7145 ] tegrasign_v2 --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 6.7155 ] Assuming zero filled SBK key
[ 6.7767 ]
[ 6.7780 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[ 6.7940 ]
[ 6.7957 ] tegrahost_v2 --chip 0x18 --align blob_bpmp.bin
[ 6.8009 ]
[ 6.8025 ] tegrahost_v2 --appendsigheader blob_bpmp.bin zerosbk
[ 6.8136 ]
[ 6.8159 ] tegrasign_v2 --key None --list blob_bpmp_sigheader.bin_list.xml --pubkeyhash pub_key.key
[ 6.8170 ] Assuming zero filled SBK key
[ 6.8408 ]
[ 6.8422 ] tegrahost_v2 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[ 6.8546 ]
[ 6.8575 ] tegrahost_v2 --chip 0x18 --align blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[ 6.8648 ]
[ 6.8661 ] tegrahost_v2 --appendsigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[ 6.8727 ]
[ 6.8741 ] tegrasign_v2 --key None --list blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[ 6.8778 ] Assuming zero filled SBK key
[ 6.9006 ]
[ 6.9024 ] 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
[ 6.9100 ]
[ 6.9116 ] tegrahost_v2 --chip 0x18 --align blob_tos-trusty.img
[ 6.9202 ]
[ 6.9214 ] tegrahost_v2 --appendsigheader blob_tos-trusty.img zerosbk
[ 6.9286 ]
[ 6.9297 ] tegrasign_v2 --key None --list blob_tos-trusty_sigheader.img_list.xml --pubkeyhash pub_key.key
[ 6.9307 ] Assuming zero filled SBK key
[ 6.9491 ]
[ 6.9508 ] tegrahost_v2 --updatesigheader blob_tos-trusty_sigheader.img.encrypt blob_tos-trusty_sigheader.img.hash zerosbk
[ 6.9568 ]
[ 6.9579 ] tegrahost_v2 --chip 0x18 --align blob_eks.img
[ 6.9646 ]
[ 6.9656 ] tegrahost_v2 --appendsigheader blob_eks.img zerosbk
[ 6.9735 ]
[ 6.9747 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml --pubkeyhash pub_key.key
[ 6.9805 ] Assuming zero filled SBK key
[ 6.9855 ]
[ 6.9870 ] tegrahost_v2 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[ 6.9934 ]
[ 6.9944 ] tegrahost_v2 --chip 0x18 --align blob_tegra186-quill-p3310-1000-c03-00-base.dtb
[ 7.0014 ]
[ 7.0025 ] tegrahost_v2 --appendsigheader blob_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[ 7.0120 ]
[ 7.0134 ] tegrasign_v2 --key None --list blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml --pubkeyhash pub_key.key
[ 7.0144 ] Assuming zero filled SBK key
[ 7.0293 ]
[ 7.0329 ] 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
[ 7.0443 ]
[ 7.0457 ] tegrahost_v2 --chip 0x18 --generateblob blob.xml blob.bin
[ 7.0467 ] number of images in blob are 9
[ 7.0474 ] blobsize is 4141640
[ 7.0478 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 220096
[ 7.0509 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 89776
[ 7.0523 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 63104
[ 7.0538 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2082144
[ 7.0565 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 533904
[ 7.0582 ] Added binary blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt of size 466240
[ 7.0604 ] Added binary blob_tos-trusty_sigheader.img.encrypt of size 313152
[ 7.0620 ] Added binary blob_eks_sigheader.img.encrypt of size 1440
[ 7.0648 ] Added binary blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt of size 371632
[ 7.0812 ]
[ 7.0813 ] Sending bootloader and pre-requisite binaries
[ 7.0822 ] tegrarcm_v2 --download blob blob.bin
[ 7.0832 ] Applet version 01.00.0000
[ 7.1437 ] Sending blob
[ 7.1440 ] […] 100%
[ 8.1920 ]
[ 8.1937 ] tegrarcm_v2 --boot recovery
[ 8.1950 ] Applet version 01.00.0000
[ 8.2929 ]
[ 9.2963 ] tegrarcm_v2 --isapplet
[ 9.5876 ]
[ 9.5931 ] tegradevflash_v2 --iscpubl
[ 9.5944 ] Cannot Open USB
[ 9.7410 ]
[ 10.7442 ] tegrarcm_v2 --isapplet
[ 10.8135 ]
[ 10.8146 ] tegradevflash_v2 --iscpubl
[ 10.8157 ] Bootloader version 01.00.0000
[ 10.8801 ] Bootloader version 01.00.0000
[ 10.9449 ]
[ 10.9450 ] Writing partition
[ 10.9460 ] tegradevflash_v2 --write kernel-dtb 1_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 10.9470 ] Bootloader version 01.00.0000
[ 11.0114 ] Writing partition kernel-dtb with 1_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt
[ 11.0131 ] […] 100%
[ 11.1299 ]
[ 11.1300 ] Coldbooting the device
[ 11.1311 ] tegradevflash_v2 --reboot coldboot
[ 11.1339 ] Bootloader version 01.00.0000
[ 11.2378 ]

Please help me,thanks

Please help to open an new topic for your issue. Thanks