If you don't need the latest kernel, you may find this thread on the Freescale 
Coldfire forum helpful...

http://forums.freescale.com/freescale/board/message?board.id=CFCOMM 
<http://forums.freescale.com/freescale/board/message?board.id=CFCOMM&thread.id=4860&view=by_date_ascending&page=1>
 &thread.id=4860&view=by_date_ascending&page=1

Then again, it's just what worked for me, with no sound basis for why the 
latest code didn't work, so use it at your own risk.

John

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Narasimha, 
Swaroop(IE10)
Sent: Tuesday, September 23, 2008 3:57 AM
To: [email protected]
Cc: Hilot, Sankesh (IE10); Shivaram, Swaroop (IE10)
Subject: [uClinux-dev] USB Problem with MCF5372 Processor



Hello

We are having problem with the USB host interface with MCF5372L processor. We 
are using the MCF532X platform uClinux kernel (kernel message attached below).

When we connect the USB Flash mass storage device, the processor detects this 
as a Full speed USB device, but when requests for the device descriptor 
~sometimes this returns -110 as error code otherwise stops responding.

Could you please help me on this...?



Regards

Swaroop





Linux version 2.6.25-uc0 ([EMAIL PROTECTED]) (gcc version 4.1.1) #18 Wed Sep 17 
17:09:15 IST 2008



uClinux/COLDFIRE(m532x)



COLDFIRE port done by Greg Ungerer, [EMAIL PROTECTED]



Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne



Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128



Kernel command line:



PID hash table entries: 128 (order: 7, 512 bytes)



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



Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)



Memory available: 29504k/32768k RAM, (1556k kernel code, 196k data)



Mount-cache hash table entries: 512



net_namespace: 152 bytes



NET: Registered protocol family 16



USB-MCF532x: MCF532x USB Host device is registered



SCSI subsystem initialized



usbcore: registered new interface driver usbfs



usbcore: registered new interface driver hub



usbcore: registered new device driver usb



NET: Registered protocol family 2



IP route cache hash table entries: 1024 (order: 0, 4096 bytes)



TCP established hash table entries: 1024 (order: 1, 8192 bytes)



TCP bind hash table entries: 1024 (order: 0, 4096 bytes)



TCP: Hash tables configured (established 1024 bind 1024)



TCP reno registered



io scheduler noop registered (default)



ColdFire internal UART serial driver



ttyS0 at MMIO 0xfc060000 (irq = 90) is a ColdFire UART



console [ttyS0] enabled



ttyS1 at MMIO 0xfc064000 (irq = 91) is a ColdFire UART



ttyS2 at MMIO 0xfc068000 (irq = 92) is a ColdFire UART



brd: module loaded



loop: module loaded



nbd: registered device at major 43



Driver 'sd' needs updating - please use bus_type methods



uclinux[mtd]: RAM probe address=0x401d62f0 size=0x110000



Creating 1 MTD partitions on "RAM":



0x00000000-0x00110000 : "ROMfs"



uclinux[mtd]: set ROMfs to be root filesystem



MCF532x USB EHCI: is found. ID=0x5 Rev=0x41



ehci ehci.1: EHCI Host Controller



ehci ehci.1: new USB bus registered, assigned bus number 1



ehci ehci.1: irq 176, io mem 0xfc0b4000



ehci ehci.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004



usb usb1: configuration #1 chosen from 1 choice



hub 1-0:1.0: USB hub found



hub 1-0:1.0: 1 port detected



usb usb1: New USB device found, idVendor=1d6b, idProduct=0002



usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1



usb usb1: Product: EHCI Host Controller



usb usb1: Manufacturer: uClinux 2.6.25-uc0 ehci_hcd



usb usb1: SerialNumber: ehci.1



Initializing USB Mass Storage driver...



usbcore: registered new interface driver usb-storage



USB Mass Storage support registered.



udc: Freescale MCF532x UDC driver version 27 October 2006 init



gadgetfs: USB Gadget filesystem, version 24 Aug 2004



usbcore: registered new interface driver usbhid



drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver



TCP cubic registered



NET: Registered protocol family 1



NET: Registered protocol family 17



VFS: Mounted root (romfs filesystem) readonly.



Freeing unused kernel memory: 56k freed (0x401b9000 - 0x401c6000)



Shell invoked to run file: /etc/rc

Command: hostname uClinux

Command: /bin/expand /etc/ramfs.img /dev/ram1

Command: mount -t proc proc /proc

Command: mount -t ext2 /dev/ram1 /var

Command: mkdir /var/tmp

Command: mkdir /var/log

Command: mkdir /var/run

Command: mkdir /var/lock

Command: mkdir /var/empty

Command: ifconfig lo 127.0.0.1

Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo

Command: dhcpcd -p -a eth0 &

[18]

Command: cat /etc/motd

Welcome to

          ____ _  _

         /  __| ||_|

    _   _| |  | | _ ____  _   _  _  _

   | | | | |  | || |  _ \| | | |\ \/ /

   | |_| | |__| || | | | | |_| |/    \

   |  ___\____|_||_|_| |_|\____|\_/\_/

   | |

   |_|



For further information check:

http://www.uclinux.org/



Execution Finished, Exiting

Nov 30 00:00:01 dhcpcd[18]: dhcpStart: ioctl SIOCGIFHWADDR: No such device



Sash command shell (version 1.1.1)

/> usb 1-1: new low speed USB device using ehci and address 2



_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to