Jetson Orin Nano - Usb tethering not working (Jetpack 6)

I am trying to connect Mobile USB Tethering to Jetson Orin Nano but it is not connecting with android.

[  416.459614] usb 1-2.3: USB disconnect, device number 8
[  416.793986] usb 1-2.3: new high-speed USB device number 9 using tegra-xusb

On switching on usb tethering this is the output of dmesg

Hi,

This is by default not enabled on JetPack 6 GA, and will be included in JetPack 6.1.
Please enable the following two kernel configs for USB tethering to work:
CONFIG_USB_NET_RNDIS_HOST, for Android
CONFIG_USB_IPHETH, for iOS.

Check the document for how to build kernel:
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/Kernel/KernelCustomization.html
You can do these under Linux_for_Tegra/source/kernel/kernel-jammy-src:

make ARCH=arm64 defconfig
make ARCH=arm64 menuconfig
(Enable aforementioned configs with the menu)
make ARCH=arm64 savedefconfig
(cp ./defconfig ./arch/arm64/configs)

Then follow the document to build kernel and flash your device.

I can’t find the Linux_for_Tegra/source/kernel/kernel-jammy-src in my Jetson orin nano

Get a host PC and download the kernel source…

How to do the same using host pc? Can you help me with that?

I’ve told you steps here.

To Manually Download and Expand the Kernel Sources

    In your browser, go to https://developer.nvidia.com/embedded/jetson-linux-archive.

    Locate and download the Jetson Linux source files for your release.

    Extract the .tbz2 file:

    $ tar xf public_sources.tbz2 -C <install-path>/Linux_for_Tegra/..

For extracting we need `Linux_for_Tegra/`path which is not in Jetson orin nano
If am wrong, help me with basic steps

Do this on a host PC.

You need to download BSP, sample rootfs, kernel source, so three files in total:
https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v3.0/release/jetson_linux_r36.3.0_aarch64.tbz2
https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v3.0/release/tegra_linux_sample-root-filesystem_r36.3.0_aarch64.tbz2
https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v3.0/sources/public_sources.tbz2

$ tar xf ${L4T_RELEASE_PACKAGE}
$ sudo tar xpf ${SAMPLE_FS_PACKAGE} -C Linux_for_Tegra/rootfs/
$ cd Linux_for_Tegra/
$ sudo ./tools/l4t_flash_prerequisites.sh
$ sudo ./apply_binaries.sh

Then follow the guide to build kernel.

image
How to find the toolchain path?

Hi,
Please check the release page:

Jetson Linux 36.3 | NVIDIA Developer

Most links are listed in the page.

Facing this issue now…

Did you extract the kernel source tarball?

does this change to JP6 config also restore the 192.168.55.1 address for IP over USB after flashing is completed. The default for JP6 is to delete the IP over USB link when flashing is completed.

If not, what other config settings are required to restore IP over USB and with static IP 192.168.55.1

I don’t know what you are talking about.

ok, I will create a new topic

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.