Enabling USB PORT in Beagleboard xm rev c

HI I am tryin to enable the usb port of beagleboard xm rev c but am
not able to proceed....
can anyone please help me so as how to do dat??? r dr ant patch files
dat need to be added in order to enable them??? please do help
Thanks in advance

show me the booting log details, lsmod, lsusb.

Thanks,
Barun Parichha

Thanks for ur response Barun
I want to port android gingerbread source to Beagle Board XM Rev C...
Usb ports are not enabled by default as I mentioned before..

I've my own MLO and uboot.bin (which I customized it for my own splash image).
Since I couldn't use mouse or keyboard , I downloaded the prebuilt uImage from
link

http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/TI_Andro
id_GingerBread_2_3_4_DevKit_2_1/exports/beagleboard-xm.tar.gz

and flashed sdcard with this uImage and my own MLO, uboot.bin and rootfs and
tried booting in Beagle Board XM Rev C.. The numlock and capslock leds are
glowing when I press keys in keyboard. But its not booting .. Here is the log,

U-Boot 2010.06-dirty (Jan 30 2012 - 19:15:44)

OMAP34xx/35xx-GP ES2.1, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MiB
NAND: 0 MiB
*** Warning - bad CRC or NAND, using default environment

In: serial
Out: serial
Err: serial
Beagle unknown 0x02
Die ID #6d7600029ff800000160a7450602f009
Hit any key to stop autoboot: 10 ### 9 ### 8 ### 7 ### 6 ### 5 ### 4 ### 3 ### 2
### 1 ### 0
mmc1 is available
reading boot.scr

415 bytes read
Running bootscript from mmc ...
## Executing script at 82000000
reading uImage

2745172 bytes read
***** Kernel: /dev/mmcblk0p1/uImage *****
***** RootFS: /dev/mmcblk0p2 *****
## Booting kernel from Legacy Image at 80200000 ...
   Image Name: Linux-2.6.37-g06ebbba
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 2745108 Bytes = 2.6 MiB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

OUTPUT OF LSUSB:

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 17ef:600e Lenovo
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 04b3:3025 IBM Corp.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

OUTPUT OF LSMOD:

Module Size Used by
nls_iso8859_1 3261 0
nls_cp437 4931 0
vfat 9201 0
fat 48240 1 vfat
usb_storage 40492 0
parport_pc 26058 0
ppdev 5556 0
binfmt_misc 6599 1
snd_hda_codec_realtek 218460 1
usbhid 36882 0
snd_hda_intel 22235 2
snd_hda_codec 87552 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5040 1 snd_hda_codec
snd_pcm 71475 2 snd_hda_intel,snd_hda_codec
i915 296139 4
snd_seq_midi 4588 0
snd_rawmidi 17783 1 snd_seq_midi
hid 67934 1 usbhid
drm_kms_helper 30200 1 i915
snd_seq_midi_event 6047 1 snd_seq_midi
snd_seq 47174 2 snd_seq_midi,snd_seq_midi_event
drm 168092 4 i915,drm_kms_helper
snd_timer 19067 2 snd_pcm,snd_seq
snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 49102 13
snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,
snd_seq,snd_timer,snd_seq_device
intel_agp 26566 2 i915
psmouse 59027 0
serio_raw 4022 0
led_class 2633 0
agpgart 32011 2 drm,intel_agp
soundcore 880 1 snd
snd_page_alloc 7120 2 snd_hda_intel,snd_pcm
i2c_algo_bit 5168 1 i915
video 18712 1 i915
output 1883 1 video
lp 7342 0
parport 31492 3 parport_pc,ppdev,lp
sky2 45127 0

Hi Sindhuja,
Sorry for my late response.
Can you test this and let me know.

Please comment out below code segment from arch/arm/mach-omap2/board-omap3beagle.c, you just need to use the else part and build your kernel.

if (cpu_is_omap3630()) {
/* Power on DVI, Serial and PWR led */
gpio_request(gpio + 1, “nDVI_PWR_EN”);
gpio_direction_output(gpio + 1, 0);

/* Power on camera interface */
gpio_request(gpio + 2, “CAM_EN”);
gpio_direction_output(gpio + 2, 1);

/*

  • TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR
  • (out, active low)
    */
    gpio_request(gpio + TWL4030_GPIO_MAX, “nEN_USB_PWR”);
    gpio_direction_output(gpio + TWL4030_GPIO_MAX, 1);
    } else {

Regards,
Barun Parichha

Hi Barun

As per ur advice i proceeded and i was able to enable the port. Thanks
alot for helping.

Regards

Sindhuja G

Hi,

I have the same issue. However, I am very new to the rebuilding of
kernel. Is there any guide that I can follow and build the kernel?
Hope to hear from you soon as I am really rushing for my final year
project dateline.. Thanks!