Hello,

USB 3.0 device after reboot fails at address phase:
|7f247000| xhci_alloc_pipe: address device: failed (cc -1)

I have encountered many of such problems with USB 3.0 devices and my conclusion is: no fix.
For example see: https://github.com/pcengines/apu2-documentation/blob/master/docs/debug/usb-debugging.md#seabios-debug-output

For some platforms SeaBIOS will work perfectly all the time, for some you have to adjust timeouts for almost each different stick... It must be noted that SeaBIOS has very basic implementation of threads. USB devices are also initialized in threaded manner. Because of that it may introduce another timing issues. And as you already pointed, usb 2.0 ports are much more error proof.

Different stick may also behave in a different way, cause different errors. Some of them respond to commands earlier, some of them later.

If you really need to reliably boot from USB, use USB 2.0 port or change the stick model. That's my few months long experience with USB 3.0 sticks in SeaBIOS.

Regards,

-- 
Michał Żygowski
Firmware Engineer
https://3mdeb.com | @3mdeb_com
On 09.03.2020 14:25, Valentin wrote:
Hello,

I've built coreboot with seabios for the Supermicro X11SSM-F motherboard and i'd like to use the internal usb3.0 port with a usb stick as a boot device.

If power on the board and do a cold boot the usb works just fine, but if i reboot the system or use the reset button the usb is not recognized in seabios.

If i use a usb2 port instead there are no issues at all.

I can't figure out the reason for this... has anyone an idea on how to fix this issue or experienced this before?

i attached the complete console debug output from a cold and warm boot as well as the config file, any help is appreciated.

Thanks,
Valentin

_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-leave@coreboot.org