2012/10/9 Christian Gmeiner christian.gmeiner@gmail.com:
2012/10/9 Kevin O'Connor kevin@koconnor.net:
On Mon, Oct 08, 2012 at 02:14:03PM +0200, Christian Gmeiner wrote:
HI all
I am running into some usb problems with coreboot & seabios:
init usb pmm_malloc zone=0x1f7afe7f handle=ffffffff size=72 align=10 ret=0x1f7a8860 (detail=0x1f7a88b0)
[...]
Mabye somebody has some hints how to start debugging this and what I should look for.
Hi Christian,
Can you set the debug level to 8 and post the whole log? Also, for timeout issues, having timestamps (via tools/readserial.py tool) sometimes helps.
Attached
Did this regress, or has it never worked? What type of USB drive are you attempting to use?
It never worked and tried it with a hand full of different usb sticks. This one is my target stick, which must work:
Bus 002 Device 029: ID 1370:3252 Swissbit Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x1370 Swissbit idProduct 0x3252 bcdDevice 1.00 iManufacturer 1 Swissbit iProduct 2 unitedCONTRAST iSerial 3 60042417C3000001 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 255 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 255 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered)
I got access to an ellisys usb explorer and dumped the whole transfer between usb stick and lx800. I started to look at the whole USB stuff this day and I hope we can get it working :)
To view the dump you need this: http://www.ellisys.com/products/usbex200/download.php
The dump can be found here: https://docs.google.com/open?id=0B_fznDimUHVuTkRfYkE5b0NtRzg
greets --- Christian Gmeiner, MSc