beagleboard xm Rev C (C1) - usb power problem

Dear all,

i am having issues with my beagleboard xm Rev C (C1 says sticker on the board). When board came at the first time, everything worked fine. Then, i was foolish enough not to backup my original working Angstrom SD image and i tried to install ubuntu (of course unsuccessfully - usb power problem). Now i am having issues with usb all the time. D14 LED is not litting, but i can boot into OS fine.

I have tried:

1)angstrom-distribution.org/narcissus - with/without its bootloader options on fat partition

2)http://downloads.angstrom-distribution.org/demo/beagleboard/ - all images with all combinations of MLO and uBoot.img

3)http://treyweaver.blogspot.com/2010/10/installing-angstrom-on-beagleboard-xm.html

4)circuitco images - both 3_30 and 4_25.

  1. netinstall ubuntu with precise, natty and maverick. Other ubuntu images, cannot really remeber which ones…

  2. android gingerbread 2_3 arm build for beagleboard (red screen appears, but it boots fine, only without usb)

For installation i used win32 disk imaginer tool, and sh scripts on linux. Every installation had same problem with usb. It seems that not enough power is coming to usb hub ?

I searched all over, but was unable to find right solution. Hope someone can jump in and help me on this one. Thank you.

My dmesg on Angstrom BeagleBoard-xM xMTEST_Beta_4_25 - circuitco image:

pfb.vram=0:8M,1:4M,2:4M omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
[ 0.000000]
[ 0.000000] Beagle expansionboard: none
[ 0.000000] Beagle cameraboard: lbcm3m1
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 256MB 256MB = 512MB total
[ 0.000000] Memory: 496256KB available (5884K code, 671K data, 204K init, 0K highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:402
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz
[ 0.000000] Reprogramming SDRC clock to 332000000 Hz
[ 0.000000] GPMC revision 5.0
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] console [tty0] enabled
[ 0.000000] Calibrating delay loop… 518.82 BogoMIPS (lpj=2023424)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] tmpfs: No value for mount option ‘mode’
[ 0.000000] devtmpfs: initialized
[ 0.000000] regulator: core version 0.5
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] OMAP3 Beagle Rev: xM C
[ 0.000000] Beagle cameraboard: registering i2c2 bus for lbcm3m1
[ 0.000000] Found NAND on CS0
[ 0.000000] Registering NAND on CS0
[ 0.000000] Unable to get DVI reset GPIO
[ 0.000000] omap_init_mbox: platform not supported
[ 0.000000] Target VDD1 OPP = 4, VDD2 OPP = 2
[ 8.957702] OMAP DMA hardware revision 5.0
[ 8.963928] bio: create slab at 0
[ 8.965179] SCSI subsystem initialized
[ 8.966491] usbcore: registered new interface driver usbfs
[ 8.966674] usbcore: registered new interface driver hub
[ 8.966827] usbcore: registered new device driver usb
[ 8.967254] i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
[ 8.969940] twl4030: PIH (irq 7) chaining IRQs 368…375
[ 8.970001] twl4030: power (irq 373) chaining IRQs 376…383
[ 8.970306] twl4030: gpio (irq 368) chaining IRQs 384…401
[ 8.972015] regulator: VUSB1V5: 1500 mV normal standby
[ 8.972259] regulator: VUSB1V8: 1800 mV normal standby
[ 8.972503] regulator: VUSB3V1: 3100 mV normal standby
[ 8.973785] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 8.974243] regulator: VMMC1: 1850 <–> 3150 mV normal standby
[ 8.974517] regulator: VDAC: 1800 mV normal standby
[ 8.974761] regulator: VPLL2: 1800 mV normal standby
[ 8.975036] regulator: VSIM: 1800 <–> 3000 mV normal standby
[ 8.975402] regulator: VAUX3: 1800 mV normal standby
[ 8.975769] regulator: VAUX4: 1800 mV normal standby
[ 8.975982] i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
[ 8.987335] i2c_omap i2c_omap.3: bus 3 rev4.0 at 100 kHz
[ 8.988525] Switching to clocksource 32k_counter
[ 8.997619] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
[ 9.001342] musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine (X), bulk split (X), HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 9.001373] musb_hdrc: MHDRC RTL version 1.800
[ 9.001373] musb_hdrc: setup fifo_mode 4
[ 9.001403] musb_hdrc: 28/31 max ep, 16384/16384 memory
[ 9.001434] musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 9.001495] musb_hdrc musb_hdrc: MUSB HDRC host driver
[ 9.001617] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[ 9.001800] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 9.001831] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 9.001892] usb usb1: Product: MUSB HDRC host driver
[ 9.001922] usb usb1: Manufacturer: Linux 2.6.32 musb-hcd
[ 9.001953] usb usb1: SerialNumber: musb_hdrc
[ 9.002563] hub 1-0:1.0: USB hub found
[ 9.002624] hub 1-0:1.0: 1 port detected
[ 9.003662] NET: Registered protocol family 2
[ 9.003936] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 9.004577] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 9.005004] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 9.005218] TCP: Hash tables configured (established 16384 bind 16384)
[ 9.005249] TCP reno registered
[ 9.005279] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 9.005340] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 9.005584] NET: Registered protocol family 1
[ 9.006042] RPC: Registered udp transport module.
[ 9.006103] RPC: Registered tcp transport module.
[ 9.006134] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 9.007019] omap-iommu omap-iommu.0: isp registered
[ 9.008758] VFS: Disk quotas dquot_6.5.2
[ 9.008880] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 9.009948] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 9.010772] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 9.011657] msgmni has been set to 969
[ 9.015411] alg: No test for stdrng (krng)
[ 9.015716] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 9.015777] io scheduler noop registered
[ 9.015808] io scheduler deadline registered
[ 9.015960] io scheduler cfq registered (default)
[ 9.074768] OMAP DSS rev 2.0
[ 9.074859] OMAP DISPC rev 3.0
[ 9.074920] OMAP VENC rev 2
[ 9.075164] OMAP DSI rev 1.0
[ 9.411712] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 9.430206] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
[ 9.448120] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
[ 9.465972] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
[ 10.048034] console [ttyS2] enabled
[ 10.058166] brd: module loaded
[ 10.064514] loop: module loaded
[ 10.069091] omap2-nand driver initializing
[ 10.073516] No NAND device found!!!
[ 10.077239] No NAND device found!!!
[ 10.081787] usbcore: registered new interface driver catc
[ 10.087310] catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
[ 10.093383] usbcore: registered new interface driver kaweth
[ 10.099029] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
[ 10.106689] usbcore: registered new interface driver pegasus
[ 10.112426] rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
[ 10.119445] usbcore: registered new interface driver rtl8150
[ 10.125274] usbcore: registered new interface driver asix
[ 10.130828] usbcore: registered new interface driver cdc_ether
[ 10.136779] usbcore: registered new interface driver dm9601
[ 10.142517] usbcore: registered new interface driver smsc95xx
[ 10.148437] usbcore: registered new interface driver gl620a
[ 10.154174] usbcore: registered new interface driver net1080
[ 10.159973] usbcore: registered new interface driver plusb
[ 10.165588] usbcore: registered new interface driver rndis_host
[ 10.171691] usbcore: registered new interface driver cdc_subset
[ 10.177764] usbcore: registered new interface driver zaurus
[ 10.183471] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 10.191558] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 10.198425] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 10.204467] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[ 10.212097] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 10.230926] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 10.236846] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 10.243743] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 10.251068] usb usb2: Product: OMAP-EHCI Host Controller
[ 10.256469] usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd
[ 10.261901] usb usb2: SerialNumber: ehci-omap.0
[ 10.267181] hub 2-0:1.0: USB hub found
[ 10.271057] hub 2-0:1.0: 3 ports detected
[ 10.301330] Initializing USB Mass Storage driver…
[ 10.306427] usbcore: registered new interface driver usb-storage
[ 10.312530] USB Mass Storage support registered.
[ 10.317596] mice: PS/2 mouse device common for all mice
[ 10.323242] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 10.331115] input: twl4030_pwrbutton as /devices/platform/i2c_omap.1/i2c-1/1-0049/twl4030_pwrbutton/input/input1
[ 10.341888] i2c /dev entries driver
[ 10.345977] Linux video capture interface: v2.00
[ 10.350982] omap-iommu omap-iommu.0: isp: version 1.1
[ 10.356201] Saving csi2 context
[ 10.356323] Restoring csi2 context
[ 10.356384] Saving csi2 context
[ 10.357391] vpfe_init
[ 10.360260] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 10.473388] mmci-omap-hs mmci-omap-hs.1: err -16 configuring card detect
[ 10.480438] Registered led device: beagleboard::usr0
[ 10.485626] Registered led device: beagleboard::usr1
[ 10.492248] Registered led device: beagleboard::pmu_stat
[ 10.499359] usbcore: registered new interface driver usbhid
[ 10.505035] usbhid: USB HID core driver
[ 10.509094] Advanced Linux Sound Architecture Driver Version 1.0.21.
[ 10.516021] usbcore: registered new interface driver snd-usb-audio
[ 10.585693] No device for DAI omap-mcbsp-dai-0
[ 10.590240] No device for DAI omap-mcbsp-dai-1
[ 10.594726] No device for DAI omap-mcbsp-dai-2
[ 10.599243] No device for DAI omap-mcbsp-dai-3
[ 10.603729] No device for DAI omap-mcbsp-dai-4
[ 10.608245] OMAP3 Beagle SoC init
[ 10.612396] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
[ 10.623901] ALSA device list:
[ 10.626922] #0: omap3beagle (twl4030)
[ 10.630950] oprofile: using arm/armv7
[ 10.634857] TCP cubic registered
[ 10.638183] NET: Registered protocol family 17
[ 10.642700] NET: Registered protocol family 15
[ 10.647308] lib80211: common routines for IEEE802.11 drivers
[ 10.653045] lib80211_crypt: registered algorithm ‘NULL’
[ 10.653076] ThumbEE CPU extension supported.
[ 10.657379] Power Management for TI OMAP3.
[ 10.662811] Unable to set L3 frequency (400000000)
[ 10.667724] Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/1000 MHz
[ 10.675109] IVA2 clocking rate: 800 MHz
[ 10.847961] SmartReflex driver initialized
[ 10.852233] omap3beaglelmb: Driver registration complete
[ 10.861694] Disabling unused clock “sr2_fck”
[ 10.861724] Disabling unused clock “sr1_fck”
[ 10.861724] Disabling unused clock “mcbsp_fck”
[ 10.861755] Disabling unused clock “mcbsp_fck”
[ 10.861755] Disabling unused clock “mcbsp_fck”
[ 10.861785] Disabling unused clock “mcbsp_ick”
[ 10.861785] Disabling unused clock “mcbsp_ick”
[ 10.861785] Disabling unused clock “mcbsp_ick”
[ 10.861816] Disabling unused clock “gpt2_ick”
[ 10.861816] Disabling unused clock “gpt3_ick”
[ 10.861816] Disabling unused clock “gpt4_ick”
[ 10.861846] Disabling unused clock “gpt5_ick”
[ 10.861846] Disabling unused clock “gpt6_ick”
[ 10.861877] Disabling unused clock “gpt7_ick”
[ 10.861877] Disabling unused clock “gpt8_ick”
[ 10.861877] Disabling unused clock “gpt9_ick”
[ 10.861907] Disabling unused clock “wdt3_ick”
[ 10.861907] Disabling unused clock “wdt3_fck”
[ 10.861938] Disabling unused clock “gpio2_dbck”
[ 10.861938] Disabling unused clock “gpio3_dbck”
[ 10.861938] Disabling unused clock “gpio4_dbck”
[ 10.861968] Disabling unused clock “gpio5_dbck”
[ 10.861968] Disabling unused clock “gpio6_dbck”
[ 10.861999] Disabling unused clock “gpt9_fck”
[ 10.861999] Disabling unused clock “gpt8_fck”
[ 10.861999] Disabling unused clock “gpt7_fck”
[ 10.862030] Disabling unused clock “gpt6_fck”
[ 10.862030] Disabling unused clock “gpt5_fck”
[ 10.862030] Disabling unused clock “gpt4_fck”
[ 10.862060] Disabling unused clock “gpt3_fck”
[ 10.862060] Disabling unused clock “gpt2_fck”
[ 10.862091] Disabling unused clock “gpt1_ick”
[ 10.862091] Disabling unused clock “wdt1_ick”
[ 10.862091] Disabling unused clock “gpio1_dbck”
[ 10.862121] Disabling unused clock “gpt1_fck”
[ 10.862121] Disabling unused clock “cam_mclk”
[ 10.862182] Disabling unused clock “des1_ick”
[ 10.862182] Disabling unused clock “sha11_ick”
[ 10.862213] Disabling unused clock “rng_ick”
[ 10.862213] Disabling unused clock “aes1_ick”
[ 10.862213] Disabling unused clock “ssi_ick”
[ 10.862243] Disabling unused clock “mailboxes_ick”
[ 10.862243] Disabling unused clock “mcbsp_ick”
[ 10.862243] Disabling unused clock “mcbsp_ick”
[ 10.862274] Disabling unused clock “gpt10_ick”
[ 10.862274] Disabling unused clock “gpt11_ick”
[ 10.862304] Disabling unused clock “hdq_ick”
[ 10.862304] Disabling unused clock “mspro_ick”
[ 10.862304] Disabling unused clock “des2_ick”
[ 10.862335] Disabling unused clock “sha12_ick”
[ 10.862335] Disabling unused clock “aes2_ick”
[ 10.862365] Disabling unused clock “icr_ick”
[ 10.862365] Disabling unused clock “pka_ick”
[ 10.862365] Disabling unused clock “ssi_ssr_fck”
[ 10.862396] Disabling unused clock “hdq_fck”
[ 10.862396] Disabling unused clock “mcbsp_fck”
[ 10.862396] Disabling unused clock “mcbsp_fck”
[ 10.862426] Disabling unused clock “mspro_fck”
[ 10.862426] Disabling unused clock “gpt11_fck”
[ 10.862457] Disabling unused clock “gpt10_fck”
[ 10.862457] Disabling unused clock “sad2d_ick”
[ 10.862487] Disabling unused clock “dpll4_m6x2_ck”
[ 10.862487] Disabling unused clock “dpll3_m3x2_ck”
[ 10.862518] Disabling unused clock “sys_clkout1”
[ 10.863037] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 10.871337] registered taskstats version 1
[ 10.999359] Console: switching to colour frame buffer device 160x45
[ 11.021697] regulator_init_complete: incomplete constraints, leaving VAUX3 on
[ 11.029541] regulator_init_complete: incomplete constraints, leaving VDAC on
[ 11.037536] omap_vout omap_vout: probed for an unknown device
[ 11.043853] Waiting for root device /dev/mmcblk0p2…
[ 11.066925] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 11.075286] mmc0: new high speed SDHC card at address aaaa
[ 11.081237] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
[ 11.086120] mmcblk0: p1 p2
[ 11.162170] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
[ 11.171691] kjournald starting. Commit interval 5 seconds
[ 11.183929] EXT3-fs (mmcblk0p2): using internal journal
[ 11.193115] EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
[ 11.204071] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 11.221343] devtmpfs: mounted
[ 11.228179] Freeing init memory: 204K
[ 12.218109] Restoring csi2 context
[ 13.932373] Saving csi2 context
[ 15.908111] Bluetooth: Core ver 2.15
[ 15.916656] NET: Registered protocol family 31
[ 15.925048] Bluetooth: HCI device and connection manager initialized
[ 15.935394] Bluetooth: HCI socket layer initialized
[ 15.959167] Bluetooth: L2CAP ver 2.14
[ 15.966979] Bluetooth: L2CAP socket layer initialized
[ 15.990203] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 16.102355] NET: Registered protocol family 10
[ 16.137481] Bluetooth: RFCOMM TTY layer initialized
[ 16.146636] Bluetooth: RFCOMM socket layer initialized
[ 16.155822] Bluetooth: RFCOMM ver 1.11

Try recreating the SD card that came with the board.

http://circuitco.com/support/index.php?title=BeagleBoard-xM

Gerald

Dear Gerald,

that boot log i posted in previous mail is with the image you now suggested to reconstruct.

Any other clues? is board maybe broken ?

Best Regards,
Petar

If D14 is not on, then the USB ports and ethernet will never work. D14 should be on if you use the image that ships with the board. There is a HW change that was made in the board design and is described in the System Reference Manual.

Have you tried both versions of the images that have shipped?

Gerald

when board came it worked with the image installed on shipped SD. Now i am unable to reconstruct it with both 4_25 and 3_30 images you are suggesting (OS boots fine but d14 is not litting). Any other things i can try ?

Just for confirmation, as i didn't see it mentioned in this email
chain... Are you powering the board via the usb-otg connector or the
5Volt DC barrel connector?

Regards,

Dear Robert,

i am using +5V 2.25A power supply

Now i even tried with special computing’s windows CE 6.0. OS boots fine, but d14 is not litting nor i can use keyboard or mouse. I would really appreciate if someone can suggest something, like throwing this bb away, or trying something else.

Thank you very much for your help.

Best Regards,
Petar

Send it in for an RMA and let them look at it.

http://beagleboard.org/support/rma

Gerald

Hi Petar,

If you still haven’t got this working:

Can you try this from your shell and let me know if it helps?

i2cset -f 1 0x4A 0xEE 0x11

-Prem.