USB 3.0 camera not initializing on Boon in OpenEmbedded 2.8b5 on TK1

We have been working with the See3CAM_CU135 USB 3.0 camera from eCON systems for several months now with the TK1 and we have had no issue. However, we had been using the BSP 2.8b1 angstrom-lxde-image. Recently, we attempted to migrate to using the BSP 2.8b5 angstrom-lxde-image. Now we are seeing an issue in that the camera does not initialize on boot. If we unplug it and then plug it back in, then it initializes properly.

Relevant excerpt from failing 2.8b5 boot console Log:

[    5.600164] usbcore: registered new interface driver asix
[    5.607585] usbcore: registered new interface driver ax88179_178a
[    5.615697] usbcore: registered new interface driver cdc_ether
[    5.623578] usbcore: registered new interface driver cdc_subset
[    5.631483] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.640179] tegra USB phy - inst[1] platform info:
[    5.646980] port_otg: no
[    5.651433] has_hostpc: yes
[    5.656083] phy_interface: USB_PHY_INTF_UTMI
[    5.662176] op_mode: TEGRA_USB_OPMODE_HOST
[    5.668065] qc2_voltage: 0
[    5.672467] vbus_gpio: -1
[    5.676759] hot_plug: disabled
[    5.681511] remote_wakeup: enabled
[    5.688101] tegra-ehci tegra-ehci.1: Tegra EHCI Host Controller
[    5.695821] tegra-ehci tegra-ehci.1: new USB bus registered, assigned bus number 1
[    5.707016] Wake40 for irq=53
[    5.711733] Wake42 for irq=53
[    5.716448] tegra-ehci tegra-ehci.1: irq 53, io mem 0x7d004000
[    5.729920] tegra-ehci tegra-ehci.1: USB 2.0 started, EHCI 1.10
[    5.737696] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.746220] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.756782] usb usb1: Product: Tegra EHCI Host Controller
[    5.757917] ata1: SATA link down (SStatus 0 SControl 300)
[    5.771115] usb usb1: Manufacturer: Linux 3.10.40-2.8.5+gccecdb3 ehci_hcd
[    5.779745] usb usb1: SerialNumber: tegra-ehci.1
[    5.786698] hub 1-0:1.0: USB hub found
[    5.792261] hub 1-0:1.0: 1 port detected
[    5.798231] ehci-pci: EHCI PCI platform driver
[    5.804707] tegra_xusb_read_usb_calib: usb_calib0 = 0x02450388
[    5.812786] usbcore: registered new interface driver usb-storage
[    5.820787] usbcore: registered new interface driver usbserial
[    5.828482] usbcore: registered new interface driver usbserial_generic
[    5.836976] usbserial: USB Serial support registered for generic
[    5.844806] usbcore: registered new interface driver pl2303
[    5.852223] usbserial: USB Serial support registered for pl2303
[    5.860069] Nvidia Tegra High-Speed USB Device Controller driver (Apr 30, 2012)
[    5.871210] tegra USB phy - inst[0] platform info:
[    5.877942] port_otg: yes
[    5.882532] has_hostpc: yes
[    5.887251] phy_interface: USB_PHY_INTF_UTMI
[    5.893452] op_mode: TEGRA_USB_OPMODE_DEVICE
[    5.899685] qc2_voltage: 0
[    5.904260] vbus_pmu_irq: 0
[    5.908889] vbus_gpio: -1
[    5.913347] charging: disabled
[    5.918208] remote_wakeup: disabled
[    5.926237] tegra-udc tegra-udc.0: usb_bat_chg regulator not registered: USB charging will not be enabled
...
... <MANY LOGS OMITTED>
...
[   14.754056] tegra-xhci tegra-xhci: Firmware File: tegra_xusb_firmware (124416 Bytes)
[   14.771049] SDIO Vendor ID:02df and SDIO Device ID: 9141
[   14.776029] tegra-xhci tegra-xhci: Firmware DMA Memory: dma 0x80060000 mapped 0xf05c6000 (124416 Bytes)
[   14.779130] tegra-xhci tegra-xhci: XUSB device id = 0xfa3 (T124+)
[  OK  ] Reached target S[   14.803089] ieee80211 phy0: Configuring default restart handler
ound Card.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target B[   14.822128] ieee80211 phy0: lrdmwl_sdio: SDIO FUNC1 IO port: 0x10000
asic System.
         Starting Nvidia binary driver fi[   14.837919] ieee80211 phy0: mwl_sdio_init_irq, register IRQ
rst-boot script...
[   14.849683] tegra-xhci tegra-xhci: Firmware timestamp: 2016-06-29 07:34:56 UTC, Falcon state 0x20
         Starting Telephony service...
[   14.870064] tegra-xhci tegra-xhci: Nvidia xHCI Host Controller
[  OK  ] Started D-Bus System Message Bus.
[   14.882607] tegra-xhci tegra-xhci: new USB bus registered, assigned bus number 2
[   14.903788] tegra-xhci tegra-xhci: irq 71, io mem 0x70090000
[   14.922555] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[   14.935352] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.935908] tegra-i2c tegra12-i2c.0: no acknowledge from address 0x4a
[   14.936001] atmel_mxt_ts 0-004a: __mxt_read_reg: i2c transfer failed (-121)
[   14.967416] tegra-i2c tegra12-i2c.0: no acknowledge from address 0x24
[   14.977799] atmel_mxt_ts 0-004a: mxt_bootloader_read: i2c recv failed (-121)
[   14.980159] usb usb2: Product: Nvidia xHCI Host Controller
[   14.980175] usb usb2: Manufacturer: Linux 3.10.40-2.8.5+gccecdb3 tegra-xhci
[   14.980187] usb usb2: SerialNumber: tegra-xhci
[   14.981216] hub 2-0:1.0: USB hub found
[   14.981251] hub 2-0:1.0: 6 ports detected
[   15.028435] atmel_mxt_ts 0-004a: Trying alternate bootloader address
[   15.039967] tegra-i2c tegra12-i2c.0: no acknowledge from address 0x26
[   15.040155] tegra-xhci tegra-xhci: Nvidia xHCI Host Controller
[   15.040179] tegra-xhci tegra-xhci: new USB bus registered, assigned bus number 3
[   15.040403] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[   15.040412] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.040419] usb usb3: Product: Nvidia xHCI Host Controller
[   15.040434] usb usb3: Manufacturer: Linux 3.10.40-2.8.5+gccecdb3 tegra-xhci
[   15.040443] usb usb3: SerialNumber: tegra-xhci
[   15.041617] hub 3-0:1.0: USB hub found
[   15.041647] hub 3-0:1.0: 2 ports detected
[   15.134319] Wake58 for irq=81
[   15.140743] Wake41 for irq=129
[   15.145982] Wake43 for irq=129
[   15.159274] atmel_mxt_ts 0-004a: mxt_bootloader_read: i2c recv failed (-121)
[   15.187944] atmel_mxt_ts: probe of 0-004a failed with error -121
[  OK  ] Started Telephony service.
         Starting Connection service...
[  OK  ] Reached target Containers.
         Starting Save/Restore Sound Card State...
[   15.272571] Bluetooth: Core ver 2.22
[   15.287985] usb 2-3: new low-speed USB device number 2 using tegra-xhci
[   15.289518] NET: Registered protocol family 31
[   15.289523] Bluetooth: HCI device and connection manager initialized
[   15.289546] Bluetooth: HCI socket layer initialized
[   15.289559] Bluetooth: L2CAP socket layer initialized
[   15.289604] Bluetooth: SCO socket layer initialized
         Starting Avahi mDNS/DNS-SD Stack...
         Starting RPC Bind Service...
[  OK  ] Started Timestamping service.
[   15.400565] usb 2-3: Device not responding to set address.
         Starting Login Service...
[  OK  ] Started Network Service.
[  OK  ] Started Nvidia binary driver first-boot script.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started RPC Bind Service.
[   15.519565] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[   15.607137] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   15.653733] usb 2-3: Device not responding to set address.
[   15.670277] apalis-tk1-k20-can apalis-tk1-k20-can.0: probed 0
[   15.687580] ieee80211 phy0: lrdmwl: found firmware image <lrdmwl/88W8997_sdio.bin>
[   15.705303] ieee80211 phy0: Downloading FW image (369464 bytes)
[  OK  ] Started Connection service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Login Service.
         Starting Hostname Service...
         Starting WPA supplicant...
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Nvidia binary driver init script...
[   15.858440] Tegra cpuquiet clusterswitch enabled
[  OK  ] Started WPA supplicant.
[   15.870925] usb 2-3: device not accepting address 2, error -71
[  OK  ] Started Nvidia binary driver init script.
[  OK  ] Reached target Network.
[  OK  ] Started Vsftpd ftp daemon.
         Starting Permit User Sessions...
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
         Starting Load/Configure the kernel …iver providing the RNDIS gadget...
[  OK  ] Started Permit User Sessions.
[   15.943672] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[   15.949681] android_usb: already disabled
[   15.949887] rndis_function_bind_config MAC: 00:00:00:00:00:00
[   15.950001] android_usb gadget: using random self ethernet address
[   15.950009] android_usb gadget: using random host ethernet address
[   15.980477] 8021q: adding VLAN 0 to HW filter on device enp1s0
[   15.983916] usb 2-3: new low-speed USB device number 3 using tegra-xhci
[   15.984961] usb 2-3: Device not responding to set address.
[   15.985833] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  OK  ] Started Serial Getty on [   16.015142] apalis-tk1-k20-can apalis-tk1-k20-can.1: probed 1
ttyS0.
[   16.017695] rndis0: MAC be:b0:d8:f1:fe:ef
[   16.017697] rndis0: HOST MAC be:61:f1:73:c3:39
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LXDE Display Manager.
[   16.047293] input: apalis-tk1-k20-ts as /devices/platform/spi-tegra114.1/spi_master/spi1/spi1.1/apalis-tk1-k20-ts/input/input1
[   16.051408] IPv6: ADDRCONF(NETDEV_UP): rndis0: link is not ready
[  OK  ] Reached target Multi-User System.
[   16.073598] gpiochip_add: registered GPIOs 856 to 1015 on device: generic
[  OK  ] Started Argus Node.
[  OK  ] Reached target Graphical Interface.
         Starting Argus loader...
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Load/Configure the kernel driver providing the RNDIS gadget.
[  OK  ] Started Update UTMP about System Runlevel Changes.
[   16.186910] usb 2-3: Device not responding to set address.
[   16.375832] ieee80211 phy0: FW download over, size 369464 bytes
[   16.383332] ieee80211 phy0: Checking fw status 100
[   16.394887] usb 2-3: device not accepting address 3, error -71
[  OK  ] Started Hostname Service.
[   16.503907] usb 2-3: new low-speed USB device number 4 using tegra-xhci
[   16.513498] usb 2-3: Device not responding to set address.
[   16.721906] usb 2-3: Device not responding to set address.
[   16.928886] usb 2-3: device not accepting address 4, error -71
[  OK  ] Started The Apache HTTP Server.
[  OK  ] Started Argus loader.
[   17.036906] usb 2-3: new low-speed USB device number 5 using tegra-xhci
[   17.045517] usb 2-3: Device not responding to set address.
[   17.059974] tegradc tegradc.0: switching framebuffer to 1280x800
[   17.059979] tegradc tegradc.0: Calculated sync href=0 vref=6
[   17.059984] tegradc tegradc.0: using mode 1280x800 pclk=71103000 href=0 vref=6
[   17.061508] tegradc tegradc.0: nominal-pclk:71103000 parent:71000000 div:1.0 pclk:71000000 70391970~77502270
[   17.252907] usb 2-3: Device not responding to set address.
[   17.297942] ieee80211 phy0: Waiting on fw status 10 0x0
[   17.459889] usb 2-3: device not accepting address 5, error -71
[   17.466447] hub 2-0:1.0: unable to enumerate USB device on port 3

Relevant excerpt from succeeding 2.8b1 boot console Log:

[    4.867449] usbcore: registered new interface driver asix
[    4.875918] usbcore: registered new interface driver ax88179_178a
[    4.885096] usbcore: registered new interface driver cdc_ether
[    4.893976] usbcore: registered new interface driver cdc_subset
[    4.902899] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.912645] ehci-pci: EHCI PCI platform driver
[    4.920336] tegra_xusb_read_usb_calib: usb_calib0 = 0x02850389
[    4.929555] usbcore: registered new interface driver usb-storage
[    4.938815] usbcore: registered new interface driver usbserial
[    4.947679] usbcore: registered new interface driver usbserial_generic
[    4.957217] usbserial: USB Serial support registered for generic
[    4.966259] usbcore: registered new interface driver pl2303
[    4.974862] usbserial: USB Serial support registered for pl2303
[    4.983834] Nvidia Tegra High-Speed USB Device Controller driver (Apr 30, 2012)
[    4.994312] tegra USB phy - inst[0] platform info:
[    5.002132] port_otg: yes
[    5.007724] has_hostpc: yes
[    5.013458] phy_interface: USB_PHY_INTF_UTMI
[    5.015661] ata1: SATA link down (SStatus 0 SControl 300)
[    5.029040] op_mode: TEGRA_USB_OPMODE_DEVICE
...
...<MANY LOGS OMITTED>
...
[   11.536111] tegra-xhci tegra-xhci: Firmware DMA Memory: dma 0x80080000 mapped 0xf05c6000 (134656 Bytes)
[   11.537975] tegra-xhci tegra-xhci: XUSB device id = 0xfa3 (T124+)
[   11.562986] SDIO Vendor ID:02df and SDIO Device ID: 9141
[   11.571259] ieee80211 phy0: Configuring default restart handler
[  OK  ] Reached target Sound Card.
[   11.587931] ieee80211 phy0: lrdmwl_sdio: SDIO FUNC1 IO port: 0x10000
[   11.597248] tegra-xhci tegra-xhci: Firmware timestamp: 2014-09-16 02:10:07 UTC, Falcon state 0x20
[   11.597317] tegra-xhci tegra-xhci: Nvidia xHCI Host Controller
[   11.597339] tegra-xhci tegra-xhci: new USB bus registered, assigned bus number 1
[   11.598139] tegra-xhci tegra-xhci: irq 71, io mem 0x70090000
[   11.598228] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   11.598234] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.598240] usb usb1: Product: Nvidia xHCI Host Controller
[   11.598245] usb usb1: Manufacturer: Linux 3.10.40-2.8.1+g877a323 tegra-xhci
[   11.598249] usb usb1: SerialNumber: tegra-xhci
[   11.600356] hub 1-0:1.0: USB hub found
[   11.600380] hub 1-0:1.0: 6 ports detected
[  OK  ] Created slice system-systemd\x2dbacklight.slice.[   11.698999] ieee80211 phy0: mwl_sdio_init_irq, register IRQ

         Starting Load/Save Screen Backlight…ness of backlight:pwm-backlight...
[   11.719710] tegra-xhci tegra-xhci: Nvidia xHCI Host Controller
[  OK  ] Reached target Sockets.
[   11.732762] tegra-xhci tegra-xhci: new USB bus registered, assigned bus number 2
[  OK  ] Reached target Basic System.
[   11.751161] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[  OK  ] Started start resize script to incr…ootfs to its partitions full size.
[  OK  ] Started Timestam[   11.778934] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
ping service.
         Starting RPC Bind Service...
[  11.815800] usb usb2: Product: Nvidia xHCI Host Controller
         Starting Save/Restore Sound Card State...
[  OK  ] Started D-Bus System Message Bus.
[   11.874734] usb usb2: Manufacturer: Linux 3.10.40-2.8.1+g877a323 tegra-xhci
[   11.913234] usb usb2: SerialNumber: tegra-xhci
[   11.944238] hub 2-0:1.0: USB hub found
[   11.961121] hub 2-0:1.0: 2 ports detected
[   11.998714] Wake58 for irq=81
[   12.007159] Wake40 for irq=53
[   12.012405] Wake42 for irq=53
[   12.035972] Wake41 for irq=129
[   12.041250] Wake43 for irq=129
         Starting Connection service...
[  OK  ] Reached target Containers.
         Starting Login Service...
         Starting Telephony service...
         Starting Nvidia binary driver first-boot script...
[  OK  ] Started Snappy daemon.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started Network Service.
[  OK  ] Started Load/Save Screen Backlight …htness of backlight:pwm-backlight.
[  OK  ] Started RPC Bind Service.
[  OK  ] Started Save/Restore Sound Card State.
[   12.242198] ieee80211 phy0: lrdmwl: found firmware image <lrdmwl/88W8997_sdio.bin>
[   12.244546] gpiochip_add: registered GPIOs 856 to 1015 on device: generic
[   12.265756] ieee80211 phy0: Downloading FW image (369464 bytes)
[   12.292193] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   12.309569] Bluetooth: Core ver 2.22
[   12.315774] NET: Registered protocol family 31
[   12.322627] Bluetooth: HCI device and connection manager initialized
[   12.331563] Bluetooth: HCI socket layer initialized
[   12.331801] input: apalis-tk1-k20-ts as /devices/platform/spi-tegra114.1/spi_master/spi1/spi1.1/apalis-tk1-k20-ts/input/input1
[   12.339805] apalis-tk1-k20-can apalis-tk1-k20-can.0: probed 0
[   12.340210] apalis-tk1-k20-can apalis-tk1-k20-can.1: probed 1
[   12.369701] Bluetooth: L2CAP socket layer initialized
[   12.377292] Bluetooth: SCO socket layer initialized
[  OK  ] Started Telephony service.
[  OK  ] Started Connection service.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Login Service.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Disconnect PPP Cell...
[  OK  ] Reached target Network.
[  OK  ] Started Vsftpd ftp daemon.
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
         Starting Permit User Sessions...
         Starting Load/Configure the kernel …iver providing the RNDIS gadget...
[  OK  ] Started Permit User Sessions.
[FAILED] Failed to start Disconnect PPP Cell.
[   12.590664] android_usb: already disabled
See 'systemctl status ppp-disconnect.ser[   12.601318] rndis_function_bind_config MAC: 00:00:00:00:00:00
vice' for details.
[   12.613125] android_usb gadget: using random self ethernet address
[   12.623689] android_usb gadget: using random host ethernet address
         Starting Hostname Service...
         Starting WPA supplicant...
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LXDE Display Manager.
[   12.773042] EXT4-fs (mmcblk0p3): recovery complete
[  OK  ] Started WPA supplicant[   12.780790] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
.
[   12.851762] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[   12.861511] 8021q: adding VLAN 0 to HW filter on device enp1s0
[   12.870583] rndis0: MAC 92:3d:a9:69:c2:5f
[   12.877741] rndis0: HOST MAC 62:66:2c:4e:f0:0f
[   12.913036] IPv6: ADDRCONF(NETDEV_UP): rndis0: link is not ready
[  OK  ] Started Load/Configure the kernel driver providing the RNDIS gadget.
[  OK  ] Started Hostname Service.
[  OK  ] Started Nvidia binary driver first-boot script.
         Starting Nvidia binary driver init script...
[   13.017324] ieee80211 phy0: FW download over, size 369464 bytes
[   13.025750] ieee80211 phy0: Checking fw status 100
[   13.036215] Tegra cpuquiet clusterswitch enabled
[  OK  ] Started Nvidia binary driver init script.
[  OK  ] Reached target Multi-User System.
         Starting Argus loader...
[  OK  ] Reached target Graphical Interface.
[  OK  ] Started Argus Node.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started The Apache HTTP Server.
[   13.818055] tegradc tegradc.0: switching framebuffer to 640x480
[   13.818058] tegradc tegradc.0: Calculated sync href=0 vref=1
[   13.818062] tegradc tegradc.0: using mode 640x480 pclk=25175000 href=0 vref=1
[   13.851113] tegradc tegradc.0: nominal-pclk:25175000 parent:25125000 div:1.0 pclk:25125000 24923250~27440750
[  OK  ] Started Argus loader.
[   13.941669] ieee80211 phy0: Waiting on fw status 10 0x0
[   14.000085] usb 2-1: new SuperSpeed USB device number 2 using tegra-xhci
[   14.018193] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
[   14.028786] usb 2-1: New USB device found, idVendor=2560, idProduct=c1d1
[   14.035665] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   14.042906] usb 2-1: Product: See3CAM_CU135
[   14.047212] usb 2-1: Manufacturer: e-con systems
[   14.051958] usb 2-1: SerialNumber: 3D1D1103
[   14.072657] uvcvideo: Found UVC 1.00 device See3CAM_CU135 (2560:c1d1)
[   14.085229] input: See3CAM_CU135 as /devices/platform/tegra-xhci/usb2/2-1/2-1:1.0/input/input2
[   14.105636] hid-generic 0003:2560:C1D1.0001: hiddev0,hidraw0: USB HID v1.11 Device [e-con systems See3CAM_CU135] on usb-tegra-xhci-1/input2

lsusb after failing to initialize on boot in 2.8b5:

root@apalis-tk1:~# lsusb
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb after succeeding in initialization on boot in 2.8b1:

root@apalis-tk1:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 2560:c1d1
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
root@apalis-tk1:~#

And finally, the console output on 2.8b5 when I unplug and then plug back in the USB 3 camera after it failed to initialize on boot:

root@apalis-tk1:~# [   34.226672] tegra-xhci tegra-xhci: Firmware timestamp: 2016-06-29 07:34:56 UTC, Falcon state 0x0
[   41.312644] tegra-xhci tegra-xhci: Firmware timestamp: 2016-06-29 07:34:56 UTC, Falcon state 0x20
[   41.737353] usb 3-1: new SuperSpeed USB device number 2 using tegra-xhci
[   41.765777] usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
[   41.777078] usb 3-1: New USB device found, idVendor=2560, idProduct=c1d1
[   41.784742] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   41.792517] usb 3-1: Product: See3CAM_CU135
[   41.797430] usb 3-1: Manufacturer: e-con systems
[   41.802679] usb 3-1: SerialNumber: 35119807
[   41.814111] uvcvideo: Found UVC 1.00 device See3CAM_CU135 (2560:c1d1)
[   41.834118] input: See3CAM_CU135 as /devices/platform/tegra-xhci/usb3/3-1/3-1:1.0/input/input2
[   41.853507] hid-generic 0003:2560:C1D1.0001: hiddev0,hidraw0: USB HID v1.11 Device [e-con systems See3CAM_CU135] on usb-tegra-xhci-1/input2


root@apalis-tk1:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 2560:c1d1  
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
root@apalis-tk1:~# 

Do you have an idea as to why the USB 3 camera is no longer initializing on boot with the latest BSP (2.8b5) when it had no issue doing so on 2.8b1? And what I can do to resolve this issue?

Thanks.

hi @justin.mcdowell

Which carrier Board are you using? On which USB Port did you connect the camera? Did you try using other USB Ports? If yes, did they show the same behaviour?

Best regards, Jaski

I saw this issue on the USB 3.0 port on the Apalis Evaluation Board V1.1A. I did not try any other USB Ports because we need to use the USB 3.0 speed to meet our requirements.

Are you talking about USBH4 (SS) or USBO1 (SS)? As the Apalis Evaluation Board (as well as Ixora for that matter) both have two USB 3.0 ports available.

Please modify u-boot defargs variable by running:

setenv defargs lp0_vec=2064@0xf46ff000 core_edp_mv=1150 core_edp_ma=4000 usb_port_owner_info=2 lane_owner_info=6 emc_max_dvfs=0 pcie_aspm=off user_debug=30
savenv

That did not resolve the issue. Here me demonstrating that the defargs has been changed but the camera was still not initialized after a boot:

root@apalis-tk1:~# fw_printenv defargs
defargs=lp0_vec=2064@0xf46ff000 core_edp_mv=1150 core_edp_ma=4000 usb_port_owner_info=2 lane_owner_info=6 emc_max_dvfs=0 pcie_aspm=off user_debug=30
root@apalis-tk1:~# lsusb
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@apalis-tk1:~#

Unplugging and plugging the camera back in still works after it failed to initialize on boot:

root@apalis-tk1:~# [   92.902775] tegra-xhci tegra-xhci: Firmware timestamp: 2016-06-29 07:34:56 UTC, Falcon state 0x0
[   99.819317] tegra-xhci tegra-xhci: Firmware timestamp: 2016-06-29 07:34:56 UTC, Falcon state 0x20
[  100.230061] usb 3-1: new SuperSpeed USB device number 2 using tegra-xhci
[  100.266969] usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
[  100.280126] usb 3-1: New USB device found, idVendor=2560, idProduct=c1d1
[  100.287423] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  100.294969] usb 3-1: Product: See3CAM_CU135
[  100.299474] usb 3-1: Manufacturer: e-con systems
[  100.304343] usb 3-1: SerialNumber: 35119807
[  100.312202] uvcvideo: Found UVC 1.00 device See3CAM_CU135 (2560:c1d1)
[  100.328289] input: See3CAM_CU135 as /devices/platform/tegra-xhci/usb3/3-1/3-1:1.0/input/input2
[  100.349726] hid-generic 0003:2560:C1D1.0001: hiddev0,hidraw0: USB HID v1.11 Device [e-con systems See3CAM_CU135] on usb-tegra-xhci-1/input2

root@apalis-tk1:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 2560:c1d1  
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
root@apalis-tk1:~#

One more thing I thought I could point out is that I followed the following post in order to boot from zImage (2.8b5) rather than uImage (2.8b1): https://www.toradex.com/community/questions/19860/bsp-28b2-fails-to-load-linux-kernel-due-to-uimage.html

Hi

Could you try other USB Portson the Evaluation Carrier Board? Did you change anything to the Bsp2.8b5?

We do have our own customizations to the 2.8b5 image. Nothing that I would expect to cause this issue but I will try with the pre-built 2.8b5 image provided by Toradex and I will test with the USB 2.0 ports on the carrier board as well. However, I won’t be able to get back to this for a couple of days so I’ll report back by the end of the weekend.

Thanks for you Input. We will wait for your results.

When I ran with the pre-built 2.8b5, the USB 3.0 camera initialized properly. However, then I went back to the version 2.8b5 that I custom built, and that is working for me as well.

I believe that the following line in the console output was different in my initial testing:

[    0.000000] DTS File Name: /home/argus/mounts/ext_drive/argus/oe-core/build/tmp-glibc/work-shared/apalis-tk1/kernel-source/arch/arm/boot/dts/tegra124-apalis-eval.dts

However, I didn’t do a good enough job of organizing my logs to say for sure so I don’t want to take up your time. Could you point me in the direction of documentation on where the device tree is chosen on boot as I thought that line pointed to “tegra124-apalis-v1.2-eval.dtb” when I saw it failing…

Thanks for your help.

Hi
Perfect that it works.
Concerning Device Tree, the file is chose by the following variable in uboot : ${soc}-${fdt_module}-${fdt_board}.dtb.

Please note: The v1.2 devicetree is for the Hardware version v1.2 of the module Apalis_TK1. This module version is the only sold since 8th March 2018. From v1.1 to v1.2, there were some SODIMM Pin changes and thus the old and the new device-tree are not compatible anymore.

Best regards, Jaski