BB XM Rev C , various USB problems.

Hello folks,
Do anybody have a solution for the following issues:

1. Cold boot always fail. Always when I power up the board it reset at
random points during the kernel boot process, and restart the loader.
Most of the time it did not reach the point where the kernel starts /
sbin/init, however in few situations I saw it reboot during network
initialization and once or twice after the login prompt went on.
However, most of the time (> 80% ) when BB reset itself is during
kernel initialization of USB components.
After it keeps resetting for 3 to 15 times it finally boot properly.

2. In many cases after it boots, the usb0 network interface is not
present. Running ifconfig to set it up works sometimes, sometimes not.
It is random as far as I can tell. Typing "shutdown -r now" to reboot
the system (hot) usually fixes the problem and when it starts again
gets a fresh DHCP address.

3. MAC address for usb0 always change, forcing the DHCP server to
provide brand new addresses. Attempting to force it to a value in /etc/
network/interfaces have no effect.

4. USB cameras does not work at all. The cameras are detected, drivers
loaded OK and /dev/videoX entries are created properly. The capture
fail with "/dev/video0: Operation not permitted" and the kernel log
say:
"""
Aug 6 04:45:54 beagleboard [12131.549377] gspca: bandwidth not wide
enough - trying again
Aug 6 04:46:02 beagleboard [12139.364410] gspca: bandwidth not wide
enough - trying again
"""

I tried 3 version of Angstrom images (original one, the one from
Circuitco and one I created with Narcisus). They all exhibit the same
boot issues. It is one of the new boards from DigiKey.

Follows a few snippets from dmesg (after reboots and network working
ok)

Any ideas ?

Thank you,
MTM
..................
high speed USB device using ehci-omap and address 9
[ 173.051971] usb 2-2: New USB device found, idVendor=0424,
idProduct=9514
[ 173.059265] usb 2-2: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 173.067626] hub 2-2:1.0: USB hub found
[ 173.071594] hub 2-2:1.0: 5 ports detected
[ 173.077819] usb 2-2: USB disconnect, address 9
[ 173.403076] usb 2-2: new high speed USB device using ehci-omap and
address 10
[ 173.559814] usb 2-2: New USB device found, idVendor=0424,
idProduct=9514
[ 173.567047] usb 2-2: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
...................[ 182.520294] hub 2-2:1.0: USB hub found
[ 182.535766] hub 2-2:1.0: 5 ports detected
[ 182.840759] usb 2-2.1: new high speed USB device using ehci-omap
and address 28
[ 182.966278] usb 2-2.1: New USB device found, idVendor=0424,
idProduct=ec00
[ 182.973205] usb 2-2.1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 182.984832] smsc95xx v1.0.4
[ 183.016967] usb%d: Failed to write register index 0x00000020
[ 183.022705] usb%d: Failed to write PM_CTRL: -71
[ 183.029022] usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1,
smsc95xx USB 2.0 Ethernet, 3a:b6:1e:2f:70:0f
[ 183.054687] hub 2-2:1.0: hub_port_status failed (err = -71)
[ 183.066223] hub 2-2:1.0: hub_port_status failed (err = -71)
[ 183.076477] hub 2-2:1.0: hub_port_status failed (err = -71)
[ 183.086822] hub 2-2:1.0: hub_port_status failed (err = -71)
[ 183.097106] hub 2-2:1.0: hub_port_status failed (err = -71)
[ 183.102752] usb 2-2: USB disconnect, address 27
[ 183.107330] usb 2-2.1: USB disconnect, address 28
[ 183.112243] usb0: unregister 'smsc95xx' usb-ehci-omap.0-2.1,
smsc95xx USB 2.0 Ethernet
[ 183.653015] usb 2-2: new high speed USB device using ehci-omap and
address 29
[ 183.810058] usb 2-2: New USB device found, idVendor=0424,
idProduct=9514
[ 183.816802] usb 2-2: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
......................................
[ 187.693389] hub 2-2:1.0: USB hub found
[ 187.700225] hub 2-2:1.0: 5 ports detected
[ 188.004821] usb 2-2.1: new high speed USB device using ehci-omap
and address 36
[ 188.130340] usb 2-2.1: New USB device found, idVendor=0424,
idProduct=ec00
[ 188.137298] usb 2-2.1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 188.148864] smsc95xx v1.0.4
[ 188.181030] usb%d: Failed to write register index 0x00000020
[ 188.186767] usb%d: Failed to write PM_CTRL: -71
[ 188.193054] usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1,
smsc95xx USB 2.0 Ethernet, 3a:b6:1e:2f:70:0f
[ 188.218933] hub 2-2:1.0: hub_port_status failed (err = -71)
[ 188.236633] hub 2-2:1.0: hub_port_status failed (err = -71)
[ 188.247100] usb 2-2: USB disconnect, address 35
[ 188.251678] usb 2-2.1: USB disconnect, address 36
[ 188.256622] usb0: unregister 'smsc95xx' usb-ehci-omap.0-2.1,
smsc95xx USB 2.0 Ethernet
[ 188.801483] usb 2-2: new high speed USB device using ehci-omap and
address 37
[ 188.958465] usb 2-2: New USB device found, idVendor=0424,
idProduct=9514
[ 188.965209] usb 2-2: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 188.973663] hub 2-2:1.0: USB hub found
[ 188.977661] hub 2-2:1.0: 5 ports detected
[ 189.270446] usb 2-2.1: new high speed USB device using ehci-omap
and address 38
[ 189.369323] Bluetooth: Core ver 2.15
[ 189.391082] NET: Registered protocol family 31
[ 189.395874] Bluetooth: HCI device and connection manager
initialized
[ 189.402648] Bluetooth: HCI socket layer initialized
[ 189.407714] usb 2-2.1: New USB device found, idVendor=0424,
idProduct=ec00
[ 189.415313] usb 2-2.1: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[ 189.427124] smsc95xx v1.0.4
[ 189.468383] Bluetooth: L2CAP ver 2.14
[ 189.472351] Bluetooth: L2CAP socket layer initialized
[ 189.485443] usb%d: Failed to read register index 0x00000030
[ 189.508117] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 189.591583] usb%d: Failed to write register index 0x00000030
[ 189.605987] usb%d: Failed to read register index 0x00000030
[ 189.615692] usb%d: Failed to read register index 0x00000030
............................
[ 193.843353] smsc95xx v1.0.4
[ 193.901184] usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1,
smsc95xx USB 2.0 Ethernet, 96:a7:a8:28:9f:bf
[ 193.997009] usb 2-2.2: new full speed USB device using ehci-omap
and address 45
[ 194.090698] usb 2-2.2: device descriptor read/64, error -32
[ 194.286132] usb 2-2.2: device descriptor read/64, error -32
[ 194.486053] usb 2-2.2: new full speed USB device using ehci-omap
and address 46
[ 194.524536] usb 2-2: clear tt 2 (8000) error -71
[ 194.545166] usb 2-2: clear tt 2 (8000) error -71
[ 194.558166] usb 2-2: clear tt 2 (8000) error -71
[ 194.567260] hub 2-2:1.0: cannot reset port 2 (err = -71)
[ 194.587463] hub 2-2:1.0: cannot reset port 2 (err = -71)
[ 194.597564] hub 2-2:1.0: cannot reset port 2 (err = -71)
[ 194.607696] hub 2-2:1.0: cannot reset port 2 (err = -71)
[ 194.617828] hub 2-2:1.0: cannot reset port 2 (err = -71)
[ 194.623199] hub 2-2:1.0: Cannot enable port 2. Maybe the USB cable
is bad?
[ 194.634918] hub 2-2:1.0: cannot disable port 2 (err = -71)
..........................................
[11230.247192] usb 2-2.3: new full speed USB device using ehci-omap
and address 112
[11230.445312] usb 2-2.3: New USB device found, idVendor=0471,
idProduct=204a
[11230.452911] usb 2-2.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[11230.460906] usb 2-2.3: Product: Philips Webcam
[11230.465820] usb 2-2.3: Manufacturer: Sunplus mMobile Inc
[11230.480834] uvcvideo: Found UVC 1.00 device Philips Webcam
(0471:204a)
[11230.726531] input: Philips Webcam as /devices/platform/ehci-omap.0/
usb2/2-2/2-2.3/2-2.3:1.0/input/input5
[11278.643890] usb 2-2.3: USB disconnect, address 112
[11288.098785] usb 2-2.5: new full speed USB device using ehci-omap
and address 113
[11288.225036] usb 2-2.5: New USB device found, idVendor=0c45,
idProduct=608f
[11288.232666] usb 2-2.5: New USB device strings: Mfr=0, Product=1,
SerialNumber=0
[11288.240631] usb 2-2.5: Product: USB camera
[11288.248382] gspca: probing 0c45:608f
[11288.257720] gspca: /dev/video0 created
[11293.817535] gspca: bandwidth not wide enough - trying again
[11307.012878] gspca: bandwidth not wide enough - trying again
[11316.934631] gspca: bandwidth not wide enough - trying again
[11636.254882] usb 2-2.4: new full speed USB device using ehci-omap
and address 114
[11636.453155] usb 2-2.4: New USB device found, idVendor=0471,
idProduct=204a
[11636.460754] usb 2-2.4: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[11636.468719] usb 2-2.4: Product: Philips Webcam
[11636.473724] usb 2-2.4: Manufacturer: Sunplus mMobile Inc
[11636.489227] uvcvideo: Found UVC 1.00 device Philips Webcam
(0471:204a)
[11636.727661] input: Philips Webcam as /devices/platform/ehci-omap.0/
usb2/2-2/2-2.4/2-2.4:1.0/input/input6
[11645.465789] usb 2-2.3: new full speed USB device using ehci-omap
and address 115
[11645.592346] usb 2-2.3: New USB device found, idVendor=046d,
idProduct=0840
[11645.599975] usb 2-2.3: New USB device strings: Mfr=0, Product=1,
SerialNumber=0
[11645.607910] usb 2-2.3: Product: Camera
[11645.615570] STV06xx: Probing for a stv06xx device
[11645.620330] gspca: probing 046d:0840
[11645.637390] STV06xx: Configuring camera
[11645.643890] STV06xx: HDCS-1000/1100 sensor detected
[11645.649841] STV06xx: Initializing camera
[11645.922760] gspca: /dev/video2 created
[11662.880065] gspca: bandwidth not wide enough - trying again
[11673.308380] gspca: bandwidth not wide enough - trying again
[11673.340515] gspca: no transfer endpoint found
[11686.721710] gspca: bandwidth not wide enough - trying again
[11686.754516] gspca: no transfer endpoint found
[11702.137817] gspca: bandwidth not wide enough - trying again
[12106.364318] gspca: bandwidth not wide enough - trying again
[12120.283874] gspca: bandwidth not wide enough - trying again
[12120.317016] gspca: no transfer endpoint found
[12131.549377] gspca: bandwidth not wide enough - trying again
[12131.582672] gspca: no transfer endpoint found

How are you powering the board?

Gerald

2 Amps plug.

At 5V? I would go higher on the current, 3A, especially if you have a USB camera hanging off the HUB. Make sure it is well regulated. If you don’t have a better supply handy, remove everything from the HUB and make sure you get your boot issues resolved. Then get the bigger supply and start working with the camera.

Gerald

Hi Gerald,

At 5V? I would go higher on the current, 3A, especially if you have a USB
camera hanging off the HUB.

Yes 5V/2A. The boot issues happens without camera and even without an
ethernet cable plugged it.
Only the power supply and serial cable.

If it was a power supply issue I would expect the system to be
unstable and even reset during long time operations.
That is not the case. The board have cold boot instabilities, without
any USB device connected to it.
After "it finally get up" it is stable, and stays up and running even
after I plug in 3 USB cameras simultaneously.

I can try next week with a industrial power supply, just to be 100%
sure that this is not the issue.
But I personally rule it out already. Without any camera connected my
voltmeter indicates the same stable 5.03V as with all 3 cameras
plugged in. If there it is any voltage drop for connecting all 3
cameras it is under 0.01V and that shall not affect the electronics in
any way.

Thanks,
MTM

I suggest you request an RMA.

Gerald

Hi,

I want to use arm neon intrinsics set for optimization.I want to build my my code and compile it using the Code Sourcery
Toolchain and then Port it on to the Beagle Board-xM. How to use
Neon Intrinsics in my Code. Will Beagle Board-xM support it…?

Thanks,
Rajiv.

Hi,

I want to use arm neon intrinsics set for optimization.
I want to build my my code and compile it using the Code Sourcery
Toolchain and then Port it on to the Beagle Board-xM. How to use
Neon Intrinsics in my Code. Will Beagle Board-xM support it..?

What does that have to do with usb problems? Also, wanting to use CSL, wtf?

Hi,

I want to use arm neon intrinsics set for optimization.
I want to build my my code and compile it using the Code Sourcery
Toolchain and then Port it on to the Beagle Board-xM. How to use
Neon Intrinsics in my Code. Will Beagle Board-xM support it..?

You'll have a much better chance of getting useful answers if you
don't hijack threads! Write your own message with a subject that
describes your question.

What is a RMA ?

Thanks,
MTM

Return Material Authorization…it is where you send it in to the factory and have them see what, if anything, is wrong with the board and repair it if needed…

http://beagleboard.org/support/rma

Gerald

Might it be a problem with the new u-boot rather than the revision C
board itself? See separate thread on 'NAS device error' for a
repeatable problem with the network that is resolved by using the
earlier u-boot.