TX2 R32.4.4, JetPack 4.4 Cannot open USB

Hello, I use a custom carrier board to load P3310 TX2 device, but the usb3.0 cannot be loaded.

Version: R32.4.4, JetPack4.4, Flushing by Vmware ubuntu18.04.

The steps I have done are listed as follows:

  1. I changed the device tree files as:
    hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-quill-power-tree-p3310-1000-a00-00.dtsi
    pinctrl@3520000 {
    vbus-0-supply = <&vdd_usb0_5v>;
    vbus-1-supply = <&vdd_usb1_5v>;
    vbus-2-supply = <&battery_reg>;
    vbus-3-supply = <&battery_reg>;
    vddio-hsic-supply = <&battery_reg>;
    avdd_usb-supply = <&spmic_sd3>;
    vclamp_usb-supply = <&spmic_sd2>;
    avdd_pll_erefeut-supply = <&spmic_sd2>;
    };
    and
    hardware/nvidia/platform/t18x/quill/kernel-dts/tegra186-quill-p3310-1000-a00-00-base.dts
    ports {
    usb2-0 {
    status = “okay”;
    mode = “otg”;
    vbus-supply = <&vdd_usb0_5v>;
    nvidia,oc-pin = <0>;
    };
    usb2-1 {
    status = “okay”;
    mode = “host”;
    vbus-supply = <&vdd_usb1_5v>;
    nvidia,oc-pin = <1>;
    };
    usb2-2 {
    status = “okay”;
    mode = “host”;
    vbus-supply = <&battery_reg>;
    nvidia,oc-pin=<2>;
    };
    usb3-0 {
    nvidia,usb2-companion = <2>;
    status = “okay”;
    };
    usb3-1 {
    nvidia,usb2-companion = <1>;
    status = “okay”;
    };
    };

  2. Building the kernel under the guidance of Step 1 to 7 of https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html#

  3. Flush the kernel to TX2 with
    sudo ./flash.sh -r -k kernel-dtb jetson-tx2 mmcblk0p1

Then I get the output as flush.log (18.7 KB)

I still cannot open USB power of the custom carrier board.

Before this flush, I tried an another way: https://forums.developer.nvidia.com/t/third-usb-on-custom-board-not-working-with-jetpack-4-2/72918/4, under the guidance of eh-steve’s post.
But it also did not work.
I only have one use3.0 port on the custom carrier board.
What shoud I do? I am really a fresher of TX2.

Hi,
We have device tree programming guide in
https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/adaptation_and_bringup_tx2.html#wwconnect_header
Please take a look. If your USB lane mapping is different from the developer kit, would need to modify device tree accordingly.