Hi Laurent, Thanks for your reply.
Most of the modules of the new product(based on Kernrel 2.6.10) are completed, except for the USB module. Hence we have to work with the kernrel 2.6.10 even for USB module. We integrated cmp2usb project into Kernel 2.6.10, and with some modifications and compiled the kernel successfully. When pendrive is inserted into the USB port we are facing the below mentioned problems. (sorry for a lengthy posting) We would be thankful if you / anyone could suggest us with some solution or idea or an alternative approach. Given below is the Console Output CASE 1: When pendrive is inserted "Directly to USB port of the 8272ADS board". CASE 2: When pendrive is inserted on an "External hub which is conntected to USB port of 8272ADS board". Output from console: CASE 1: Pendrive Directly connected to uSB port of the 8272ADS board USB Universal Host Controller Interface driver v2.2 Registering platform device 'mpc82xx-hcd.3'. Parent at platform => driver mpc82xx-hcd, 2005 mpc82xx-hcd mpc82xx-hcd.3: PQ2 intergrated USB controller v0.1 mpc82xx-hcd mpc82xx-hcd.3: new USB bus registered, assigned bus number 1 usb usb1: Product: PQ2 intergrated USB controller v0.1 usb usb1: Manufacturer: Linux 2.6.10_mvl401-8272ads mpc82xx-hcd usb usb1: SerialNumber: mpc82xx-hcd.3 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected PQ2USB: debug file creation ........after SANDISK pendrive inserted......... usb 1-1: new full speed USB device using mpc82xx-hcd and address 2 usb 1-1: Product: U3 Cruzer Micro usb 1-1: Manufacturer: SanDisk Corporation Oops: Exception in kernel mode, sig: 4 [#1] ........after unknown/generic manufacturer's pendrive inserted....... usb 1-1: new full speed USB device using mpc82xx-hcd and address 2 usb 1-1: device descriptor read/64, error -110 usb 1-1: device descriptor read/64, error -110 usb 1-1: new full speed USB device using mpc82xx-hcd and address 3 usb 1-1: device descriptor read/64, error -110 usb 1-1: device descriptor read/64, error -110 usb 1-1: new full speed USB device using mpc82xx-hcd and address 4 usb 1-1: device not accepting address 4, error -110 usb 1-1: new full speed USB device using mpc82xx-hcd and address 5 usb 1-1: device not accepting address 5, error -110 CASE 2: Pendrive is inserted on an "External hub which is conntected to USB port of 8272ADS board". USB Universal Host Controller Interface driver v2.2 sl811: driver sl811-hcd, 19 May 2005 Registering platform device 'mpc82xx-hcd.3'. Parent at platform => driver mpc82xx-hcd, 2005 mpc82xx-hcd mpc82xx-hcd.3: PQ2 intergrated USB controller v0.1 mpc82xx-hcd mpc82xx-hcd.3: new USB bus registered, assigned bus number 1 usb usb1: Product: PQ2 intergrated USB controller v0.1 usb usb1: Manufacturer: Linux 2.6.10_mvl401-8272ads mpc82xx-hcd usb usb1: SerialNumber: mpc82xx-hcd.3 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected PQ2USB: debug file creation Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. .......after SANDISK pendrive inserted........ usb 1-1.3: new full speed USB device using mpc82xx-hcd and address 3 usb 1-1.3: Product: U3 Cruzer Micro usb 1-1.3: Manufacturer: SanDisk Corporation usb 1-1.3: can't set config #1, error -110 hub 1-1:1.0: cannot disable port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: Cannot enable port 3. Maybe the USB cable is bad? hub 1-1:1.0: cannot disable port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: Cannot enable port 3. Maybe the USB cable is bad? hub 1-1:1.0: cannot disable port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: cannot reset port 3 (err = -110) hub 1-1:1.0: Cannot enable port 3. Maybe the USB cable is bad? hub 1-1:1.0: cannot disable port 3 (err = -110) hub 1-1:1.0: cannot disable port 3 (err = -110) hub 1-1:1.0: hub_port_status failed (err = -110) ........after unknown manufacturer's pendrive inserted........... usb 1-1.1: new full speed USB device using mpc82xx-hcd and address 7 usb 1-1.1: Product: Mass Storage Device usb 1-1.1: Manufacturer: Generic usb 1-1.1: SerialNumber: 6EOG5LAF scsi0 : SCSI emulation for USB Mass Storage devices floating point used in kernel (task=c0306050, pc=c022a5f8) Oops: Exception in kernel mode, sig: 4 [#1] Thanks & Regards Amarendra Reddy -------------------------------------------------------- Laurent Pinchart-4 wrote: > > Hi Amarendra, > > On Wednesday 26 March 2008 17:11, Amarendra_Reddy wrote: >> >> Hi all, >> >> We are working on implementation of the USB host controller driver for >> the >> MPC8272ADS (eval board). >> >> The USB Host controller on MPC8272 chip is neither UHCI nor OHCI >> compliant. >> >> We downloaded the project cpm2usb and the patches created by Mr.Mike >> Rapoport from http://cpm2usb.sourceforge.net >> >> We integrated the 'm82xx-hcd' into the 2.6.10 source with few changes to >> usb >> data structures (usb_hcd,usb_device,usb_host_endpoint) and to struct >> hc_driver. Also updated the function ''tx_err' present in m82xx-hcd.c. > > The cpm2usb project isn't maintained. If possible you should upgrade to a > more > recent kernel and switch to the powerpc architecture where a new USB > driver > called fhci is available. > > The MPC872ADS is supported in recent kernels so switching shouldn't be too > difficult. > > Best regards, > > -- > Laurent Pinchart > CSE Semaphore Belgium > > Chaussée de Bruxelles, 732A > B-1410 Waterloo > Belgium > > T +32 (2) 387 42 59 > F +32 (2) 387 42 75 > > > _______________________________________________ > Linuxppc-embedded mailing list > Linuxppc-embedded@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-embedded > -- View this message in context: http://www.nabble.com/Help-on-MPC82XX-USB-Host-controller-Development-using-m82xx-hcd.-tp16304553p16491756.html Sent from the linuxppc-embedded mailing list archive at Nabble.com. _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded