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

There are links in comment #11. Please take a look.

DaneLLL,
I don’t think that it is disable plugin manager, same the dtb file, in the jectpack 3.1, it is normal, but in the jetpack 3.3, it not update. can you modify new dtb file and flash it, then dump dtb file to check it?

DaneLLL, for the R28.2.1, if I don’t want to flash signed dtb file and other file, how to remove it? I find that the dtb file is encrypted.

Thanks

I have verified it and can see the change being updated.

Please ensure if the path is correct.

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.

If yes, it is more likely plugin manager overwrites your device tree modification.

We don’t support this. It must be signed.

Hi DaneLLL,
my path is correct, I have said that if it is plugin manager problem, same the dtb file, in the jectpack 3.1, it is normal, so it isn’t plugin manager problem.
Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb file is my modify file, but Linux_for_Tegra/bootloader/signed/tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt file is not my modify file, so when flashed, thr dtb file not modify. why?

Does it work if you do simple one-line change in device tree like [url]Jetson/TX2 USB - eLinux.org ?

DaneLLL,
No, it isn’t work. because the dtb file can’t update.

BTW, how to update ODMDATA on the TX2 device?

Thanks!

Hi vcip,
We have confirmed the steps to update dtb working well on both r28.1 and r28.2.1. With the one-line change, you can see

nvidia@tegra-ubuntu:~$ xxd /proc/device-tree/pinctrl@3520000/vbus-2-supply
00000000: 0000 009c

becomes

nvidia@tegra-ubuntu:~$ xxd /proc/device-tree/pinctrl@3520000/vbus-2-supply
00000000: 0000 001a

In adaptation guide, you can find how to update ODMDATA:

3. Lane allocation can be performed by either ODMDATA, in p2771-0000.conf.common by default, or
     allocate to UPHY to each
     client in the bpmp-dtb file.
     For example:
     - ODMDATA=0x1090000 while flashing for Jetson TX2 for Configuration #2
     - ODMDATA=0x90000 for Configuration #1
     - ODMDATA=0x6090000 for Configuration #3