To connect USB Bluetooth Dongle with embedded linux platform MPC 5200 Lite

jabir.kannath at wipro.com jabir.kannath at wipro.com
Sat May 20 01:53:15 EST 2006


Hello,

We are in need of re-building Linux kernel 2.4.25 to support USB
Bluetooth Dongle for the embedded platform MPC 5200 Lite.

With the new kernel running and on connecting USB Bluetooth Dongle to
icecube (MPC5200 Lite EVM) running embedded Linux from Denx, error "USB
device not accepting new address". We would appreciate any kind of help
towards solving the issue.

We added USB and Bluetooth support with the configurations available in
the file icecube_5200_defconfig and rebuild the kernel using 'make
uImage'. For USB setting, we have referred  icecube_5200_CoralPdefconfig
file. Kindly help us in identifying the reason for the issue.

Please see the boot up log as follows:

........................................................................
..................




U-Boot 1.1.3 (May 20 2005 - 18:29:54)




CPU:   MPC5200 v1.2 at 396 MHz

       Bus 132 MHz, IPB 66 MHz, PCI 33 MHz

Board: Motorola MPC5200 (IceCube)

I2C:   85 kHz, ready

DRAM:  64 MB

FLASH: 16 MB

PCI:   Bus Dev VenId DevId Class Int

        00  1a  1057  5803  0680  00

In:    serial

Out:   serial

Err:   serial

Net:   FEC ETHERNET

IDE:   Bus 0: OK

  Device 0: Model: ST340015A Firm: 3.15 Ser#: 5LAMQLQ6

            Type: Hard Disk

            Capacity: 38166.6 MB = 37.2 GB (78165360 x 512)

  Device 1: not available




Type "run flash_nfs" to mount root filesystem over NFS




Hit any key to stop autoboot:  0

## Booting image at fff00000 ...

   Image Name:   Linux PPC MPC5200 2.4

   Image Type:   PowerPC Linux Kernel Image (gzip compressed)

   Data Size:    931083 Bytes = 909.3 kB

   Load Address: 00000000

   Entry Point:  00000000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb

Linux version 2.4.25 (root at M4-110822) (gcc version 3.3.3 (DENX ELDK
3.1.1 3.3.3-10)) #1 Wed May 17 19:02:37 IST 2006

On node 0 totalpages: 16384

zone(0): 16384 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: root=/dev/hda1 rw
ip=10.114.105.162:10.114.105.41:10.114.105.41:255.255.255.0:icecube:eth0
:off panic=1

Calibrating delay loop... 263.78 BogoMIPS

Memory: 62088k available (1564k kernel code, 524k data, 76k init, 0k
highmem)

Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)

Inode cache hash table entries: 4096 (order: 3, 32768 bytes)

Mount cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)

Page-cache hash table entries: 16384 (order: 4, 65536 bytes)

POSIX conformance testing by UNIFIX

PCI: Probing PCI hardware

PCI: Cannot allocate resource region 0 of device 00:1a.0

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Starting kswapd

Journalled Block Device driver loaded

JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.

pty: 256 Unix98 ptys configured

ttyS0 on PSC1

ttyS1 on PSC2

ttyS2 on PSC3

RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize

loop: loaded (max 8 devices)

Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4

ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx

Port Config is: 0x11050004

ipb=66MHz, set clock period to 15

GPIO config: 11050004

ATA invalid: 00800000

ATA hostcnf: 03000000

ATA pio1   : 100a0a00

ATA pio2   : 02040600

XLB Arb cnf: 0000a366

mpc5xxx_ide: Setting up IDE interface ide0...

ATA DMA task: 5

Probing IDE interface ide0...

hda: ST340015A, ATA DISK drive

hda: Setting UDMA 2 timings

hda: Setting PIO 4 timings

ide0 at 0xf0003a60-0xf0003a67,0xf0003a5c on irq 45

hda: attached ide-disk driver.

hda: host protected area => 1

hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63,
UDMA(33)

Partition check:

 hda:<7>Unhandled interrupt 1a, disabled

 hda1 hda2

Icecube Bank 0: Found 1 x8 devices at 0x0 in 8-bit mode

Icecube Bank 0: Found 1 x8 devices at 0x800000 in 8-bit mode

 Amd/Fujitsu Extended Query Table at 0x0040

Icecube Bank 0: CFI does not contain boot bank location. Assuming top.

number of CFI chips: 2

cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.

Icecube flash bank 0: Using static image partition definition

Creating 5 MTD partitions on "Icecube Bank 0":

0x00000000-0x00800000 : "Spare"

0x00800000-0x00900000 : "kernel"

0x00900000-0x00c00000 : "initrd"

0x00c00000-0x00f00000 : "jffs"

0x00f00000-0x01000000 : "Firmware"

usb.c: registered new driver usbdevfs

usb.c: registered new driver hub

host/usb-ohci.c: USB OHCI at membase 0xf0001000, IRQ 44

host/usb-ohci.c: usb-0, Built-In ohci

usb.c: new USB bus registered, assigned bus number 1

hub.c: USB hub found

hub.c: 2 ports detected

usb.c: registered new driver hiddev

usb.c: registered new driver hid

hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech at suse.cz>

hid-core.c: USB HID support drivers

NET4: Linux TCP/IP 1.0 for NET4.0

eth0: Phy @ 0x0, type LXT971 (0x001378e2)

IP Protocols: ICMP, UDP, TCP, IGMP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 4096 bind 8192)

eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.

IP-Config: Complete:

      device=eth0, addr=10.114.105.162, mask=255.255.255.0,
gw=10.114.105.41,

     host=icecube, domain=, nis-domain=(none),

     bootserver=10.114.105.41, rootserver=10.114.105.41, rootpath=

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

hub.c: new USB device 0-1, assigned address 2

usb.c: USB device not accepting new address=2 (error=-110)

hub.c: new USB device 0-1, assigned address 3

usb.c: USB device not accepting new address=3 (error=-110)

kjournald starting.  Commit interval 5 seconds

EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal

EXT3-fs: recovery complete.

EXT3-fs: mounted filesystem with ordered data mode.

VFS: Mounted root (ext3 filesystem).

Freeing unused kernel memory: 76k init

modprobe: Note: /etc/modules.conf is more recent than
/lib/modules/2.4.25/modules.dep

INIT: version 2.86 booting

eth0: status: link up, 100 Mbps Full Duplex, auto-negotiation complete.

Setting parameters of disc:hda: Setting UDMA 2 timings

hda: Setting PIO 4 timings

hda: DMA disabled

 /dev/hda.

Activating swap.

Unable to find swap-space signature

Checking root file system...

fsck 1.38 (30-Jun-2005)

/dev/hda1: clean, 58172/2011296 files, 376931/4015864 blocks

EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal

RTC_RD_TIME: Invalid argument

ioctl() to /dev/rtc to read the time failed.

System time was Thu Jan  1 00:00:07 UTC 1970.

Setting the System Clock using the Hardware Clock as reference...

RTC_RD_TIME: Invalid argument

ioctl() to /dev/rtc to read the time failed.

System Clock set. System local time is now Thu Jan  1 00:00:07 UTC 1970.

Calculating module dependencies...done.

Loading modules:

Note: /etc/modules.conf is more recent than
/lib/modules/2.4.25/modules.dep

modprobe: Can't locate module *

Checking all file systems...

fsck 1.38 (30-Jun-2005)

Setting kernel variables ...

... done.

Mounting local filesystems...

Unable to find swap-space signature

Cleaning /tmpfind: warning: you have specified the -maxdepth option
after a non-option argument -perm, but options are not p.


find: warning: you have specified the -depth option after a non-option
argument !, but options are not positional (-depth af.


find: warning: you have specified the -depth option after a non-option
argument !, but options are not positional (-depth af.


 /var/run /var/lock.

Running 0dns-down to make sure resolv.conf is ok...done.

Setting up networking...done.

Kernel hotplug support not enabled.

Setting up IP spoofing protection: rp_filter.

Configuring network interfaces...done.

Starting portmap daemon: portmap.

Loading the saved-state of the serial devices...




Setting the System Clock using the Hardware Clock as reference...

RTC_RD_TIME: Invalid argument

ioctl() to /dev/rtc to read the time failed.

System Clock set. Local time: Thu Jan  1 01:00:17 CET 1970




Running ntpdate to synchronize clockmodprobe: Note: /etc/modules.conf is
more recent than /lib/modules/2.4.25/modules.dep

modprobe: Note: /etc/modules.conf is more recent than
/lib/modules/2.4.25/modules.dep

.

Initializing random number generator...done.

Recovering nvi editor sessions... done.

Setting up X server socket directory /tmp/.X11-unix...done.

Setting up ICE socket directory /tmp/.ICE-unix...done.

INIT: Entering runlevel: 2

Starting system log daemon: syslogd.

Starting kernel log daemon: klogd.

Starting portmap daemon: portmap.

Starting automounter:.

Starting system message bus: dbus-1.

Starting internet superserver: inetd.

Starting printer spooler: lpd .

Starting PCMCIA services: Note: /etc/modules.conf is more recent than
/lib/modules/2.4.25/modules.dep

modprobe: Can't locate module pcmcia_core

Error: Failed to load pcmcia_core

Starting OpenBSD Secure Shell server: sshd.

Starting NFS common utilities: statd.

Starting NTP server: ntpd.

Starting bluez-utils: hcid sdpdBlueZ Core ver 2.3 Copyright (C)
2000,2001 Qualcomm Inc

Written 2000,2001 by Maxim Krasnyansky <maxk at qualcomm.com>

Can't open RFCOMM control socket: No such file or directory

 rfcomm.

Starting deferred execution scheduler: atd.

Starting periodic command scheduler: cron.




Debian GNU/Linux testing/unstable lite5200revA_no2 ttyS0




lite5200revA_no2 login: 



........................................................................
.....................





The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com



More information about the Linuxppc-embedded mailing list