[Gta04-owner] U-Boot with USB plugged-in

Paul Kocialkowski contact at paulk.fr
Sat May 3 19:48:13 CEST 2014


Le samedi 03 mai 2014 à 18:56 +0200, Dr. H. Nikolaus Schaller a écrit :
> Am 03.05.2014 um 18:53 schrieb Paul Kocialkowski:
> 
> >>> But AFAIK it disappears soon after U-Boot starts and before the Kernel
> >>> takes over the interface.
> >> 
> >> It is definitely something else. I can see what appears to be the
> >> BootROM when pressing AUX:
> >> 
> >> May  3 18:36:23 collins kernel: [ 6855.087475] usb 3-1: new high-speed USB device number 52 using xhci_hcd
> >> May  3 18:36:23 collins kernel: [ 6855.104242] usb 3-1: unable to get BOS descriptor
> >> May  3 18:36:23 collins kernel: [ 6855.105286] usb 3-1: New USB device found, idVendor=0451, idProduct=d00e
> >> May  3 18:36:23 collins kernel: [ 6855.105291] usb 3-1: New USB device strings: Mfr=33, Product=37, SerialNumber=0
> >> May  3 18:36:23 collins kernel: [ 6855.105294] usb 3-1: Product: OMAP3630
> >> May  3 18:36:23 collins kernel: [ 6855.105297] usb 3-1: Manufacturer: Texas Instruments
> >> May  3 18:36:26 collins kernel: [ 6858.108625] usb 3-1: USB disconnect, device number 52
> >> 
> >> Which disconnects properly indeed, but as soon as U-Boot starts, this
> >> happens:
> >> 
> >> May  3 18:36:30 collins kernel: [ 6862.229542] usb 3-1: new full-speed USB device number 53 using xhci_hcd
> >> May  3 18:36:35 collins kernel: [ 6867.233744] xhci_hcd 0000:00:14.0: Timeout while waiting for address device command
> >> May  3 18:36:37 collins kernel: [ 6868.899141] usb 3-1: Device not responding to set address.
> >> May  3 18:36:37 collins kernel: [ 6869.103329] usb 3-1: device not accepting address 53, error -71
> > 
> > Interrupting autoboot confirms that U-Boot is registering a device. On
> > the host, the kernel says:
> > 
> > May  3 18:48:52 collins kernel: [ 7604.344672] usb 3-1: new full-speed USB device number 88 using xhci_hcd
> > May  3 18:48:52 collins kernel: [ 7604.369546] usb 3-1: New USB device found, idVendor=0525, idProduct=a4a7
> > May  3 18:48:52 collins kernel: [ 7604.369552] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> > May  3 18:48:52 collins kernel: [ 7604.369555] usb 3-1: Product: U-Boot 2011.03-rc1
> > May  3 18:48:52 collins kernel: [ 7604.369558] usb 3-1: Manufacturer: Das U-Boot
> > May  3 18:48:52 collins kernel: [ 7604.369560] usb 3-1: SerialNumber: 0000000
> > May  3 18:48:52 collins kernel: [ 7604.369783] usb 3-1: ep 0x81 - rounding interval to 1024 microframes, ep desc says 2040 microframes
> > May  3 18:48:52 collins kernel: [ 7604.371852] cdc_acm 3-1:1.0: This device cannot do calls on its own. It is not a modem.
> > May  3 18:48:52 collins kernel: [ 7604.371882] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
> > 
> > So that does confirm that U-Boot is creating an USB device. My guess is
> > that it doesn't have time to properly finish registering/configuring it
> > with the host and jumps to kernel boot too soon.
> 
> That is possible. I think U-Boot can also use USB as a console, but that is
> broken on all OMAP boards.
> 
> > So I suppose we should disable that. What do you think?
> 
> Yes, if it can easily be done. I am not aware about a config option...
> 
> Please let me know if you find one and it works.

Here it is:
https://gitorious.org/replicant/bootable_bootloader_goldelico_gta04/commit/54ba2ced38ca92e7837cf2cf12f769e0fa3968d4

It solves the issue on my device!

-- 
Paul Kocialkowski, Replicant developer

Replicant is a fully free Android distribution

Website:        http://www.replicant.us/
Wiki/Tracker:   http://redmine.replicant.us/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20140503/8377f5bd/attachment-0001.asc>


More information about the Gta04-owner mailing list