public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Recent change in edk2 causing problems with USB, SD and MMC devices
       [not found] <CABtds-1sT-9jM6ixeqvkEKEZfhM1b=BMX1VO=VphKfvSUoox8w@mail.gmail.com>
@ 2022-07-26 22:10 ` Sean Rhodes
  0 siblings, 0 replies; only message in thread
From: Sean Rhodes @ 2022-07-26 22:10 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 4068 bytes --]

Hi All

For a large number of boards running coreboot (reported on CML, TGL, ADL,
SKL and APL), a change in the last few months has caused an indefinite hang.

For the last three years, coreboot has used a default value of 1000
for gEfiMdeModulePkgTokenSpaceGuid.PcdSdMmcGenericTimeoutValue, but to
workaround the hang, this value had to be changed to 10000.

The new value will get the device booting, but on a smaller selection of
boards, USB devices are not visible to edk2 (either in the EFI Shell, Debug
output or Boot Manager). They function normally in the OS, and the debug
output is below.

I don't suppose anyone would have a hunch as to the cause of this problem?

Many thanks

Sean


XhcGetCapability: 16 ports, 64 bit 1
UsbRootHubInit: root hub E9E3F18 - max speed 3, 16 ports
XhcClearRootHubPortFeature: status Success
UsbEnumeratePort: port 4 state - 801, change - 01 on E9E3F18
UsbEnumeratePort: Device Connect/Disconnect Normally
UsbEnumeratePort: new device connected at port 4
XhcUsbPortReset!
XhcSetRootHubPortFeature: status Success
XhcClearRootHubPortFeature: status Success
XhcClearRootHubPortFeature: status Success
Enable Slot Successfully, The Slot ID = 0x1
    Address 1 assigned successfully
UsbEnumerateNewDev: hub port 4 is reset
UsbEnumerateNewDev: device is of 3 speed
UsbEnumerateNewDev: device uses translator (0, 0)
UsbEnumerateNewDev: device is now ADDRESSED at 1
UsbEnumerateNewDev: max packet size for EP 0 is 64
UsbBuildDescTable: failed to get device descriptor - Invalid Parameter
UsbEnumerateNewDev: failed to build descriptor table - Invalid Parameter
XhcClearRootHubPortFeature: status Success
UsbEnumeratePort: port 5 state - 801, change - 01 on E9E3F18
UsbEnumeratePort: Device Connect/Disconnect Normally
UsbEnumeratePort: new device connected at port 5
XhcUsbPortReset!
XhcSetRootHubPortFeature: status Success
XhcClearRootHubPortFeature: status Success
XhcClearRootHubPortFeature: status Success
Enable Slot Successfully, The Slot ID = 0x2
    Address 2 assigned successfully
UsbEnumerateNewDev: hub port 5 is reset
UsbEnumerateNewDev: device is of 3 speed
UsbEnumerateNewDev: device uses translator (0, 0)
UsbEnumerateNewDev: device is now ADDRESSED at 2
UsbEnumerateNewDev: max packet size for EP 0 is 64
UsbBuildDescTable: failed to get device descriptor - Invalid Parameter
UsbEnumerateNewDev: failed to build descriptor table - Invalid Parameter
XhcClearRootHubPortFeature: status Success
UsbEnumeratePort: port 6 state - 801, change - 01 on E9E3F18
UsbEnumeratePort: Device Connect/Disconnect Normally
UsbEnumeratePort: new device connected at port 6
XhcUsbPortReset!
XhcSetRootHubPortFeature: status Success
XhcClearRootHubPortFeature: status Success
XhcClearRootHubPortFeature: status Success
Enable Slot Successfully, The Slot ID = 0x3
    Address 3 assigned successfully
UsbEnumerateNewDev: hub port 6 is reset
UsbEnumerateNewDev: device is of 3 speed
UsbEnumerateNewDev: device uses translator (0, 0)
UsbEnumerateNewDev: device is now ADDRESSED at 3
UsbEnumerateNewDev: max packet size for EP 0 is 64
UsbBuildDescTable: failed to get device descriptor - Invalid Parameter
UsbEnumerateNewDev: failed to build descriptor table - Invalid Parameter
XhcClearRootHubPortFeature: status Success
UsbEnumeratePort: port 8 state - 801, change - 01 on E9E3F18
UsbEnumeratePort: Device Connect/Disconnect Normally
UsbEnumeratePort: new device connected at port 8
XhcUsbPortReset!
XhcSetRootHubPortFeature: status Success
XhcClearRootHubPortFeature: status Success
XhcClearRootHubPortFeature: status Success
Enable Slot Successfully, The Slot ID = 0x4
    Address 4 assigned successfully
UsbEnumerateNewDev: hub port 8 is reset
UsbEnumerateNewDev: device is of 3 speed
UsbEnumerateNewDev: device uses translator (0, 0)
UsbEnumerateNewDev: device is now ADDRESSED at 4
UsbEnumerateNewDev: max packet size for EP 0 is 64
UsbBuildDescTable: failed to get device descriptor - Invalid Parameter
UsbEnumerateNewDev: failed to build descriptor table - Invalid Parameter
UsbBusStart: usb bus started on EAEB818, root hub E9E3F18

[-- Attachment #2: Type: text/html, Size: 5295 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-26 22:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CABtds-1sT-9jM6ixeqvkEKEZfhM1b=BMX1VO=VphKfvSUoox8w@mail.gmail.com>
2022-07-26 22:10 ` Recent change in edk2 causing problems with USB, SD and MMC devices Sean Rhodes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox