> 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=0127260061033202A9
 
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

Reply via email to