tegra-nouveau-rootfs with upstream kernel hdmi/usb not working

I’ve installed arch with nouveau as described at:
https://github.com/NVIDIA/tegra-nouveau-rootfs

This mostly works with some issues such as hanging if gpu clock is set too high. This uses 4.10 kernel. Trying the same install process with latest kernel (4.12rc) those minor issues seem to be fixed however hdmi and usb do not seem to be working. Any ideas on how to get these working?

To get the latest kernel installed I replaced the gnurou repo with the kernel repo in the xml file before the compile step.

Hi F3zz1k,

Suggesting to contact with people who working on upstream support via linux-tegra@vger.kernel.org
See http://elinux.org/Jetson/TX1_Upstream_Kernel#Support

Thanks

For those who may face the same problem, that is USB/Ethernet not working when using upstream kernel, you most likely have the wrong kernel configuration. The following sollution worked for me (thanks to the #tegra people on irc): check that proper .dtb file is used (tegra210-p2371-2180.dtb for nvidia dev board iirc) and make sure that the following options are enabled in the .config before compiling:

CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="nvidia/tegra210/xusb.bin"
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
CONFIG_PHY_TEGRA_XUSB=y
CONFIG_USB_RTL8150=y
CONFIG_USB_RTL8152=y

place the xusb.bin file into the given directory/location or you’ll get various errors in your build (took me a few tries to get it right) and after booting from the new kernel you should have working usb/ethernet.

There should be various xusb lines during boot on the serial console. If you don’t see any xusb lines then the kernel is probably not compiled with the right options.

# dmesg | grep xusb
[    0.206887] tegra-xusb-padctl 7009f000.padctl: failed to setup XUSB ports: -517
[    1.834661] tegra-xusb 70090000.usb: 70090000.usb supply dvdd-pex-pll not found, using dummy regulator
[    1.834690] tegra-xusb 70090000.usb: 70090000.usb supply hvdd-pex-pll-e not found, using dummy regulator
[    1.913190] tegra-xusb 70090000.usb: Firmware timestamp: 2015-08-10 09:47:54 UTC
[    1.920607] tegra-xusb 70090000.usb: xHCI Host Controller
[    1.926019] tegra-xusb 70090000.usb: new USB bus registered, assigned bus number 1
[    1.934574] tegra-xusb 70090000.usb: hcc params 0x0184f525 hci version 0x100 quirks 0x00010010
[    1.943214] tegra-xusb 70090000.usb: irq 323, io mem 0x70090000
[    1.957612] tegra-xusb 70090000.usb: xHCI Host Controller
[    1.963021] tegra-xusb 70090000.usb: new USB bus registered, assigned bus number 2

I’m still working on getting HDMI output working.