<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LS1043ARDB LSDK 20.04 usb device enumeration errors in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1043ARDB-LSDK-20-04-usb-device-enumeration-errors/m-p/1504937#M11014</link>
    <description>&lt;P&gt;enabled debug in xhci driver and see a usb timeout message:&lt;/P&gt;&lt;P&gt;[ 3.478969] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller&lt;BR /&gt;[ 3.484461] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 5&lt;BR /&gt;[ 3.492121] xhci-hcd xhci-hcd.2.auto: Resetting HCD&lt;BR /&gt;[ 3.492144] xhci-hcd xhci-hcd.2.auto: Reset complete&lt;BR /&gt;[ 3.492147] xhci-hcd xhci-hcd.2.auto: Enabling 64-bit DMA addresses.&lt;BR /&gt;[ 3.492150] xhci-hcd xhci-hcd.2.auto: Calling HCD init&lt;BR /&gt;[ 3.492179] xhci-hcd xhci-hcd.2.auto: Called HCD init&lt;BR /&gt;[ 3.492183] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810&lt;BR /&gt;[ 3.501586] xhci-hcd xhci-hcd.2.auto: irq 48, io mem 0x03100000&lt;BR /&gt;[ 3.507782] xHCI xhci_add_endpoint called for root hub&lt;BR /&gt;[ 3.507784] xHCI xhci_check_bandwidth called for root hub&lt;BR /&gt;[ 3.515685] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller&lt;BR /&gt;[ 3.521174] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6&lt;BR /&gt;[ 3.528830] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed&lt;BR /&gt;[ 3.535564] xHCI xhci_add_endpoint called for root hub&lt;BR /&gt;[ 3.535566] xHCI xhci_check_bandwidth called for root hub&lt;BR /&gt;[ 3.594548] xhci-hcd xhci-hcd.0.auto: // Ding dong!&lt;BR /&gt;[ 8.718548] xhci-hcd xhci-hcd.0.auto: &lt;STRONG&gt;Command timeout&lt;/STRONG&gt;&lt;BR /&gt;[ 8.718557] xhci-hcd xhci-hcd.0.auto: Abort command ring&lt;BR /&gt;[ 10.734665] xhci-hcd xhci-hcd.0.auto: No stop event for abort, ring start fail?&lt;BR /&gt;[ 10.734693] xhci-hcd xhci-hcd.0.auto: Error while assigning device slot ID&lt;BR /&gt;[ 10.741597] xhci-hcd xhci-hcd.0.auto: Max number of devices this xHCI host supports is 127.&lt;/P&gt;&lt;P&gt;I also verified I can access mass storage device from u-boot:&lt;/P&gt;&lt;P&gt;=&amp;gt; usb start&lt;BR /&gt;starting USB...&lt;BR /&gt;USB0: Register 200017f NbrPorts 2&lt;BR /&gt;Starting the controller&lt;BR /&gt;USB XHCI 1.00&lt;BR /&gt;USB1: Register 200017f NbrPorts 2&lt;BR /&gt;Starting the controller&lt;BR /&gt;USB XHCI 1.00&lt;BR /&gt;USB2: Register 200017f NbrPorts 2&lt;BR /&gt;Starting the controller&lt;BR /&gt;USB XHCI 1.00&lt;BR /&gt;scanning bus 0 for devices... 2 USB Device(s) found&lt;BR /&gt;scanning bus 1 for devices... 1 USB Device(s) found&lt;BR /&gt;scanning bus 2 for devices... 1 USB Device(s) found&lt;BR /&gt;scanning usb for storage devices... 1 Storage Device(s) found&lt;BR /&gt;=&amp;gt; usb treed&lt;BR /&gt;USB device tree:&lt;BR /&gt;1 Hub (5 Gb/s, 0mA)&lt;BR /&gt;| U-Boot XHCI Host Controller&lt;BR /&gt;|&lt;BR /&gt;+-2 Mass Storage (480 Mb/s, 300mA)&lt;BR /&gt;TOSHIBA USB FLASH DRIVE B62B68AF5668E1508000959E&lt;/P&gt;&lt;P&gt;1 Hub (5 Gb/s, 0mA)&lt;BR /&gt;U-Boot XHCI Host Controller&lt;/P&gt;&lt;P&gt;1 Hub (5 Gb/s, 0mA)&lt;BR /&gt;U-Boot XHCI Host Controller&lt;/P&gt;&lt;P&gt;=&amp;gt; usb info&lt;BR /&gt;1: Hub, USB Revision 3.0&lt;BR /&gt;- U-Boot XHCI Host Controller&lt;BR /&gt;- Class: Hub&lt;BR /&gt;- PacketSize: 512 Configurations: 1&lt;BR /&gt;- Vendor: 0x0000 Product 0x0000 Version 1.0&lt;BR /&gt;Configuration: 1&lt;BR /&gt;- Interfaces: 1 Self Powered 0mA&lt;BR /&gt;Interface: 0&lt;BR /&gt;- Alternate Setting 0, Endpoints: 1&lt;BR /&gt;- Class Hub&lt;BR /&gt;- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms&lt;/P&gt;&lt;P&gt;2: Mass Storage, USB Revision 2.0&lt;BR /&gt;- TOSHIBA USB FLASH DRIVE B62B68AF5668E1508000959E&lt;BR /&gt;- Class: (from Interface) Mass Storage&lt;BR /&gt;- PacketSize: 64 Configurations: 1&lt;BR /&gt;- Vendor: 0x0930 Product 0x6545 Version 1.16&lt;BR /&gt;Configuration: 1&lt;BR /&gt;- Interfaces: 1 Bus Powered 300mA&lt;BR /&gt;Interface: 0&lt;BR /&gt;- Alternate Setting 0, Endpoints: 2&lt;BR /&gt;- Class Mass Storage, Transp. SCSI, Bulk only&lt;BR /&gt;- Endpoint 1 In Bulk MaxPacket 512&lt;BR /&gt;- Endpoint 2 Out Bulk MaxPacket 512&lt;/P&gt;&lt;P&gt;1: Hub, USB Revision 3.0&lt;BR /&gt;- U-Boot XHCI Host Controller&lt;BR /&gt;- Class: Hub&lt;BR /&gt;- PacketSize: 512 Configurations: 1&lt;BR /&gt;- Vendor: 0x0000 Product 0x0000 Version 1.0&lt;BR /&gt;Configuration: 1&lt;BR /&gt;- Interfaces: 1 Self Powered 0mA&lt;BR /&gt;Interface: 0&lt;BR /&gt;- Alternate Setting 0, Endpoints: 1&lt;BR /&gt;- Class Hub&lt;BR /&gt;- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms&lt;/P&gt;&lt;P&gt;1: Hub, USB Revision 3.0&lt;BR /&gt;- U-Boot XHCI Host Controller&lt;BR /&gt;- Class: Hub&lt;BR /&gt;- PacketSize: 512 Configurations: 1&lt;BR /&gt;- Vendor: 0x0000 Product 0x0000 Version 1.0&lt;BR /&gt;Configuration: 1&lt;BR /&gt;- Interfaces: 1 Self Powered 0mA&lt;BR /&gt;Interface: 0&lt;BR /&gt;- Alternate Setting 0, Endpoints: 1&lt;BR /&gt;- Class Hub&lt;BR /&gt;- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms&lt;/P&gt;&lt;P&gt;So now hardware issue but certainly looks like a linux kernel problem.&lt;/P&gt;&lt;P&gt;Any takers?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 10:59:22 GMT</pubDate>
    <dc:creator>grahamp</dc:creator>
    <dc:date>2022-08-11T10:59:22Z</dc:date>
    <item>
      <title>LS1043ARDB LSDK 20.04 usb device enumeration errors</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043ARDB-LSDK-20-04-usb-device-enumeration-errors/m-p/1501887#M10988</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am having trouble with usb device enumeration on a recently purchased LS1043ARDB.&lt;/P&gt;&lt;P&gt;My mass storage usb device is detected by the LSDK installed on the LS1043ARDB as shipped booting from nor:&lt;/P&gt;&lt;P&gt;QorIQ LSDK (NXP Reference Distro) 2.0 TinyDistro /dev/ttyS0&lt;/P&gt;&lt;P&gt;TinyDistro login: root&lt;BR /&gt;root@TinyDistro:~# lsusb&lt;BR /&gt;Bus 005 Device 001: ID 1d6b:0002&lt;BR /&gt;Bus 003 Device 001: ID 1d6b:0002&lt;BR /&gt;Bus 001 Device 001: ID 1d6b:0002&lt;BR /&gt;Bus 006 Device 001: ID 1d6b:0003&lt;BR /&gt;&lt;STRONG&gt;Bus 001 Device 002: ID 0930:6545&lt;/STRONG&gt;&lt;BR /&gt;Bus 004 Device 001: ID 1d6b:0003&lt;BR /&gt;Bus 002 Device 001: ID 1d6b:0003&lt;BR /&gt;root@TinyDistro:~# lsblk&lt;BR /&gt;NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT&lt;BR /&gt;mtdblock4 31:4 0 40M 0 disk&lt;BR /&gt;mtdblock2 31:2 0 7M 0 disk&lt;BR /&gt;mtdblock11 31:11 0 1M 0 disk&lt;BR /&gt;mtdblock0 31:0 0 2M 0 disk&lt;BR /&gt;mtdblock9 31:9 0 1M 0 disk&lt;BR /&gt;mtdblock7 31:7 0 1M 0 disk&lt;BR /&gt;mtdblock5 31:5 0 7M 0 disk&lt;BR /&gt;mtdblock3 31:3 0 2M 0 disk&lt;BR /&gt;mtdblock12 31:12 0 9M 0 disk&lt;BR /&gt;mtdblock1 31:1 0 40M 0 disk&lt;BR /&gt;&lt;STRONG&gt;sda 8:0 1 57.7G 0 disk&lt;/STRONG&gt;&lt;BR /&gt;`-sda1 8:1 1 32G 0 part /run/media/sda1&lt;BR /&gt;mtdblock10 31:10 0 5M 0 disk&lt;BR /&gt;mtdblock8 31:8 0 20M 0 disk&lt;BR /&gt;mmcblk0 179:0 0 59.5G 0 disk&lt;BR /&gt;`-mmcblk0p1 179:1 0 59.5G 0 part /run/media/mmcblk0p1&lt;BR /&gt;mtdblock6 31:6 0 1M 0 disk&lt;BR /&gt;root@TinyDistro:~#&lt;/P&gt;&lt;P&gt;However, if I build LSDK 20.04 using yocto and then tftp the files to the device I am getting usb errors:&lt;/P&gt;&lt;P&gt;[ 66.286514] xhci-hcd xhci-hcd.0.auto: Error while assigning device slot ID&lt;BR /&gt;[ 66.286543] xhci-hcd xhci-hcd.0.auto: Max number of devices this xHCI host supports is 127.&lt;BR /&gt;[ 66.286564] usb usb1-port1: couldn't allocate usb_device&lt;/P&gt;&lt;P&gt;I have found this &lt;A href="https://community.nxp.com/t5/Layerscape/USB-not-detected-LS1043ARDB/m-p/1396725" target="_blank"&gt;https://community.nxp.com/t5/Layerscape/USB-not-detected-LS1043ARDB/m-p/1396725&lt;/A&gt; which looks very similar. I tried the solution proposed in that post but I am still get usb errors.&lt;/P&gt;&lt;P&gt;My procedure for loading the files once extracted from &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2108/boot_LS_arm64_lts_5.10.tgz" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2108/boot_LS_arm64_lts_5.10.tgz&lt;/A&gt; is:&lt;/P&gt;&lt;P&gt;setenv bootargs "console=ttyS0,115200 root=/dev/mmcblk0p1 rw rootwait earlycon=uart8250,mmio,0x21c0500"&lt;BR /&gt;setenv ipaddr 192.168.0.10&lt;BR /&gt;setenv serverip 192.168.0.30&lt;BR /&gt;tftp 0xa0000000 Image&lt;BR /&gt;tftp 0xb0000000 fsl-ls1043a-rdb-sdk.dtb&lt;BR /&gt;booti 0xa0000000 - 0xb0000000&lt;/P&gt;&lt;P&gt;The boot log is attached.&lt;/P&gt;&lt;P&gt;I see the same errors as on my LSDK 20.04 yocto build.&lt;/P&gt;&lt;P&gt;Can you please advise?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2022 14:53:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043ARDB-LSDK-20-04-usb-device-enumeration-errors/m-p/1501887#M10988</guid>
      <dc:creator>grahamp</dc:creator>
      <dc:date>2022-08-05T14:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043ARDB LSDK 20.04 usb device enumeration errors</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043ARDB-LSDK-20-04-usb-device-enumeration-errors/m-p/1504937#M11014</link>
      <description>&lt;P&gt;enabled debug in xhci driver and see a usb timeout message:&lt;/P&gt;&lt;P&gt;[ 3.478969] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller&lt;BR /&gt;[ 3.484461] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 5&lt;BR /&gt;[ 3.492121] xhci-hcd xhci-hcd.2.auto: Resetting HCD&lt;BR /&gt;[ 3.492144] xhci-hcd xhci-hcd.2.auto: Reset complete&lt;BR /&gt;[ 3.492147] xhci-hcd xhci-hcd.2.auto: Enabling 64-bit DMA addresses.&lt;BR /&gt;[ 3.492150] xhci-hcd xhci-hcd.2.auto: Calling HCD init&lt;BR /&gt;[ 3.492179] xhci-hcd xhci-hcd.2.auto: Called HCD init&lt;BR /&gt;[ 3.492183] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010810&lt;BR /&gt;[ 3.501586] xhci-hcd xhci-hcd.2.auto: irq 48, io mem 0x03100000&lt;BR /&gt;[ 3.507782] xHCI xhci_add_endpoint called for root hub&lt;BR /&gt;[ 3.507784] xHCI xhci_check_bandwidth called for root hub&lt;BR /&gt;[ 3.515685] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller&lt;BR /&gt;[ 3.521174] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6&lt;BR /&gt;[ 3.528830] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed&lt;BR /&gt;[ 3.535564] xHCI xhci_add_endpoint called for root hub&lt;BR /&gt;[ 3.535566] xHCI xhci_check_bandwidth called for root hub&lt;BR /&gt;[ 3.594548] xhci-hcd xhci-hcd.0.auto: // Ding dong!&lt;BR /&gt;[ 8.718548] xhci-hcd xhci-hcd.0.auto: &lt;STRONG&gt;Command timeout&lt;/STRONG&gt;&lt;BR /&gt;[ 8.718557] xhci-hcd xhci-hcd.0.auto: Abort command ring&lt;BR /&gt;[ 10.734665] xhci-hcd xhci-hcd.0.auto: No stop event for abort, ring start fail?&lt;BR /&gt;[ 10.734693] xhci-hcd xhci-hcd.0.auto: Error while assigning device slot ID&lt;BR /&gt;[ 10.741597] xhci-hcd xhci-hcd.0.auto: Max number of devices this xHCI host supports is 127.&lt;/P&gt;&lt;P&gt;I also verified I can access mass storage device from u-boot:&lt;/P&gt;&lt;P&gt;=&amp;gt; usb start&lt;BR /&gt;starting USB...&lt;BR /&gt;USB0: Register 200017f NbrPorts 2&lt;BR /&gt;Starting the controller&lt;BR /&gt;USB XHCI 1.00&lt;BR /&gt;USB1: Register 200017f NbrPorts 2&lt;BR /&gt;Starting the controller&lt;BR /&gt;USB XHCI 1.00&lt;BR /&gt;USB2: Register 200017f NbrPorts 2&lt;BR /&gt;Starting the controller&lt;BR /&gt;USB XHCI 1.00&lt;BR /&gt;scanning bus 0 for devices... 2 USB Device(s) found&lt;BR /&gt;scanning bus 1 for devices... 1 USB Device(s) found&lt;BR /&gt;scanning bus 2 for devices... 1 USB Device(s) found&lt;BR /&gt;scanning usb for storage devices... 1 Storage Device(s) found&lt;BR /&gt;=&amp;gt; usb treed&lt;BR /&gt;USB device tree:&lt;BR /&gt;1 Hub (5 Gb/s, 0mA)&lt;BR /&gt;| U-Boot XHCI Host Controller&lt;BR /&gt;|&lt;BR /&gt;+-2 Mass Storage (480 Mb/s, 300mA)&lt;BR /&gt;TOSHIBA USB FLASH DRIVE B62B68AF5668E1508000959E&lt;/P&gt;&lt;P&gt;1 Hub (5 Gb/s, 0mA)&lt;BR /&gt;U-Boot XHCI Host Controller&lt;/P&gt;&lt;P&gt;1 Hub (5 Gb/s, 0mA)&lt;BR /&gt;U-Boot XHCI Host Controller&lt;/P&gt;&lt;P&gt;=&amp;gt; usb info&lt;BR /&gt;1: Hub, USB Revision 3.0&lt;BR /&gt;- U-Boot XHCI Host Controller&lt;BR /&gt;- Class: Hub&lt;BR /&gt;- PacketSize: 512 Configurations: 1&lt;BR /&gt;- Vendor: 0x0000 Product 0x0000 Version 1.0&lt;BR /&gt;Configuration: 1&lt;BR /&gt;- Interfaces: 1 Self Powered 0mA&lt;BR /&gt;Interface: 0&lt;BR /&gt;- Alternate Setting 0, Endpoints: 1&lt;BR /&gt;- Class Hub&lt;BR /&gt;- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms&lt;/P&gt;&lt;P&gt;2: Mass Storage, USB Revision 2.0&lt;BR /&gt;- TOSHIBA USB FLASH DRIVE B62B68AF5668E1508000959E&lt;BR /&gt;- Class: (from Interface) Mass Storage&lt;BR /&gt;- PacketSize: 64 Configurations: 1&lt;BR /&gt;- Vendor: 0x0930 Product 0x6545 Version 1.16&lt;BR /&gt;Configuration: 1&lt;BR /&gt;- Interfaces: 1 Bus Powered 300mA&lt;BR /&gt;Interface: 0&lt;BR /&gt;- Alternate Setting 0, Endpoints: 2&lt;BR /&gt;- Class Mass Storage, Transp. SCSI, Bulk only&lt;BR /&gt;- Endpoint 1 In Bulk MaxPacket 512&lt;BR /&gt;- Endpoint 2 Out Bulk MaxPacket 512&lt;/P&gt;&lt;P&gt;1: Hub, USB Revision 3.0&lt;BR /&gt;- U-Boot XHCI Host Controller&lt;BR /&gt;- Class: Hub&lt;BR /&gt;- PacketSize: 512 Configurations: 1&lt;BR /&gt;- Vendor: 0x0000 Product 0x0000 Version 1.0&lt;BR /&gt;Configuration: 1&lt;BR /&gt;- Interfaces: 1 Self Powered 0mA&lt;BR /&gt;Interface: 0&lt;BR /&gt;- Alternate Setting 0, Endpoints: 1&lt;BR /&gt;- Class Hub&lt;BR /&gt;- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms&lt;/P&gt;&lt;P&gt;1: Hub, USB Revision 3.0&lt;BR /&gt;- U-Boot XHCI Host Controller&lt;BR /&gt;- Class: Hub&lt;BR /&gt;- PacketSize: 512 Configurations: 1&lt;BR /&gt;- Vendor: 0x0000 Product 0x0000 Version 1.0&lt;BR /&gt;Configuration: 1&lt;BR /&gt;- Interfaces: 1 Self Powered 0mA&lt;BR /&gt;Interface: 0&lt;BR /&gt;- Alternate Setting 0, Endpoints: 1&lt;BR /&gt;- Class Hub&lt;BR /&gt;- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms&lt;/P&gt;&lt;P&gt;So now hardware issue but certainly looks like a linux kernel problem.&lt;/P&gt;&lt;P&gt;Any takers?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 10:59:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043ARDB-LSDK-20-04-usb-device-enumeration-errors/m-p/1504937#M11014</guid>
      <dc:creator>grahamp</dc:creator>
      <dc:date>2022-08-11T10:59:22Z</dc:date>
    </item>
  </channel>
</rss>

