LS1043ARDB U-Boot "usb start" error "Unexpected XHCI event TRB, skipping"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1043ARDB U-Boot "usb start" error "Unexpected XHCI event TRB, skipping"

2,746 Views
ts1234
Contributor III

I have a USB stick with FAT32 filesystem. When I attach it to LS1043ARDB and run "usb start" from U-Boot prompt the device resets/reboots with "Unexpected XHCI event TRB, skipping" message.

Why do I see this error? Is there a workaround to fix this?

=> usb start
starting USB...
Bus usb3@2f00000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb3@3000000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
Bus usb3@3100000: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb3@2f00000 for devices... WARN halted endpoint, queueing URB anyway.
Unexpected XHCI event TRB, skipping... (f7b0b3b0 00000000 13000000 01008401)
BUG at drivers/usb/host/xhci-ring.c:503/abort_td()!
BUG!
resetting ...

3 Replies

833 Views
KevinSch
Contributor I

Hello, I have the same issue and I really want to know why this is happening. The workaround of commenting these 3 lines is working for my current U-Boot, but after checking for the latest version, it seems these lines are still in the latest uboot. 

Here my current U-Boot of NXP.
=> version
U-Boot 2022.07 (Jan 01 1970 - 01:00:00 +0000)

0 Kudos
Reply

2,417 Views
Tao2022
Contributor III

Hi, ts1234,

  Did you fix the problem? I am having the same problem right now, don't have solution yet.

  Thanks,

Tao

2,078 Views
Tao2022
Contributor III

Yes, here is how I fix it:

1) find file common/usb_storage.c

2) go to function static int usb_stor_probe_device(struct usb_device *udev)

3) remark out following 3 line of code:

    ...

/* Comment our following function call because it causes usb endpoints halt

   ret = blk_probe_or_unbind(dev)

   if(ret)

       return ret;

  */

...

0 Kudos
Reply