Hi All,
We made a custom board for both TX1 and TX2, the same one.
Using TX1 on our custom board – second GbE works
We are using the following two signals in order to convert USB3 to GBE:
USB_SS0 (USB 3.0 Port #0) and USB2 (USB 2.0, Port 2)
This works perfectly for us, we see eth0 (us SoM internal Gbe) and eth1 (as our additional GbE). By the way, we are using the same Realtek controller us used on TX1.
Below is kernel print for correct Realtek initialization of our second GbE:
[ 1.689641] usb 2-1: new SuperSpeed USB device number 2 using tegra-xhci
[ 1.710804] usb 2-1: New USB device found, idVendor=0955, idProduct=09ff
[ 1.710810] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 1.710815] usb 2-1: Product: USB 10/100/1000 LAN
[ 1.710818] usb 2-1: Manufacturer: Nvidia
[ 1.710822] usb 2-1: SerialNumber: 000001000000
[ 1.830362] usb 2-2: new SuperSpeed USB device number 3 using tegra-xhci
[ 1.850931] usb 2-2: New USB device found, idVendor=0bda, idProduct=8153
[ 1.850937] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 1.850942] usb 2-2: Product: USB 10/100/1000 LAN
[ 1.850945] usb 2-2: Manufacturer: Realtek
[ 1.850950] usb 2-2: SerialNumber: 000000000000
……
……
[ 1.222903] usbcore: registered new interface driver r8152
……
……
[ 2.040356] r8152 2-1:1.0 eth0: v2.08.0 (2016/12/09)
[ 2.040361] r8152 2-1:1.0 eth0: This product is covered by one or more of the following patents:
US6,570,884, US6,115,776, and US6,327,625.
[ 2.109859] usb 2-2: reset SuperSpeed USB device number 3 using tegra-xhci
[ 2.140326] r8152 2-2:1.0 (unregistered net_device): Invalid ether addr 00:00:00:00:00:00 // Author: this is fine since MAC was not burn
….
….
[ 2.189764] r8152 2-2:1.0 (unregistered net_device): Random ether addr 12:a9:da:09:c6:7a
[ 2.190348] r8152 2-2:1.0 eth1: v2.08.0 (2016/12/09)
[ 2.190351] r8152 2-2:1.0 eth1: This product is covered by one or more of the following patents:
US6,570,884, US6,115,776, and US6,327,625.
Using TX2 on our custom board – second GbE not works
Our custom board not changed. We are still using the same signals:
USB_SS0 (USB 3.0 Port #0) and USB2 (USB 2.0, Port 2)
But during the boot, now we are getting the following errors:
[ 14.392569] usb 2-1: new SuperSpeed USB device number 2 using xhci-tegra
[ 14.413059] usb 2-1: New USB device found, idVendor=0bda, idProduct=8153
[ 14.413062] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ 14.413064] usb 2-1: Product: USB 10/100/1000 LAN
[ 14.413066] usb 2-1: Manufacturer: Realtek
[ 14.413068] usb 2-1: SerialNumber: 000000000000
[ 14.413547] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 14.423880] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
[ 14.424423] xhci-tegra 3530000.xhci: tegra_xhci_mbox_work mailbox command 6
….
….
[ 14.544914] usb 2-1: reset SuperSpeed USB device number 2 using xhci-tegra
[ 14.565347] r8152 2-1:1.0 (unnamed net_device) (uninitialized): Unknown version 0x5c30
[ 14.565349] r8152 2-1:1.0 (unnamed net_device) (uninitialized): Unknown Device
Notes
We have USB3 to GbE external adaptor with the same Realtek controller we are using on our custom board. This adaptor is working on Jetson TX2 evaluation board.
The same external adaptor is working on our custom board with TX1 and TX2.
Our internal Realtek controller, works only with TX1 and not with TX2.
The only difference between our design and Jetson evaluation board is that we are using USB2 (USB 2.0, Port 2) and Jetson evaluation board using USB2 (USB 2.0, Port 1).
But again, using TX1 SoM on our board, internal Realtek controller works.
Please help.