Hi, Jeff.

Thank you very much for your information.

I am using LTIB to do the development. After I compared my config with
your config, I found that only CONFIG_USB_DEBUG,
CONFIG_USB_STORAGE_DEBUG, CONFIG_CHR_DEV_SG are not set at my side. I
enabled them and now my config is same as yours.

However, USB host still doesn't work. When I put the USB flash driver
into the slot, nothing happened. LED in my flash driver is still off.

I am trying to enable LIBUSB and USBUTIL to debug. But LIBUSB cannot get
compiled here. I am using libusb-0.1.8.

Do you use these 2 packages? What versions are you using?

What message do you get when you plug a USB flash driver into the USB
slot?

Thank you again,

Allen




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, October 25, 2007 2:50 PM
To: [email protected]
Subject: [uClinux-dev] USB Host on Freescale MCF5329EVB

> Date: Wed, 24 Oct 2007 12:43:38 -0400
> From: "Allen Yang" <[EMAIL PROTECTED]>
> Subject: [uClinux-dev] USB Host on Freescale MCF5329EVB
> To: "uClinux development list" <[email protected]>
> Message-ID:
>    <[EMAIL PROTECTED]>
> Content-Type: text/plain;   charset="us-ascii"
> 
> Hi,
> 
> I am using Freescale MCF5329EVB and uClinux 2.6.17-uc1 kernel.
> 
> It seems that uClinux 2.6.17-uc1 has support for MCF5329 USB host.
> However, when I insert my flash pen driver (128MB) into the USB host
> slot, nothing happens (no message displayed on uClinux console, the
LED
> in my flash pen driver is off).
> 
> Anybody here played with USB Host on Freescale MCF5329EVB? Do I need
to
> do anything to make it work? Any message should be displayed on
uClinux
> console when a USB device is inserted into USB host slot?
> 
> Regards,
> 
> Allen
> 

Allen,
I am using a 2.6.17 kernel that I got from Freescale on my m5329evb
 
http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=01272600610
33202A9
 
I used LTIB to patch the kernel source and then copied the kernel back 
into a uClinux dist.

The USB master and slave works on my m5329evb. 
 The output from my serial port during init for the USB and the usb 
portion of my .config follow.



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 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: uClinux 2.6.17.7-uc1 ehci_hcd
usb usb1: SerialNumber: ehci.1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
MCF532x USB EHCI: is found. ID=0x5 Rev=0x41
ehci ehci.0: EHCI Host Controller
ehci ehci.0: new USB bus registered, assigned bus number 2
ehci ehci.0: irq 175, io mem 0xfc0b0000
ehci ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: uClinux 2.6.17.7-uc1 ehci_hcd
usb usb2: SerialNumber: ehci.0
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ehci-mcf532x: can't find transceiver!
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.

#
# USB support
#
CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB_ARCH_HAS_OHCI is not set
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=y
CONFIG_USB_DEBUG=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_SPLIT_ISO is not set
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_BIG_ENDIAN=y
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_SL811_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#

#
# may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y




#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set


Jeff Johnston



_______________________________________________
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





The information contained in this email and attachments to this email are the 
proprietary and confidential property 
of Nucomm, Inc.  The information is provided in strict confidence and shall not 
be reproduced, copied, or
used (partially or wholly) in any manner without prior, express written 
authorization of Nucomm, Inc.

_______________________________________________
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