Allwinner A20 USB0 as Mass storage device not working

This forum is for supported devices using an ARMv7 Allwinner SoC.

Allwinner A20 USB0 as Mass storage device not working

Postby ponsenthilrajan » Tue Jul 14, 2015 11:55 am

Dear All,
We are porting linux-3.4 kernel for an Allwinner A20 board. We have successfully booted the device. We are now enabling the peripherals of the board. When enabling USB0 as mass storage device, the device enumerates successfully and appears as a empty drive in the windows PC. when i captured the USB packets i observed that during bulk transfer the device issues a stall and waits for a clear stall response from the host and the host issues clear stall but it is cancelled.

But when I observe the same thing in the kernel code the device only issues the stall packet and when it receives a clear stall packet it gets locked in the function "sw_udc_set_halt" at "spin_lock_irqsave" and the device is loaded as empty drive in windows PC.

Any help on Mass storage Gadget is appreciated.

Thanks in advance,
senthil
ponsenthilrajan
 
Posts: 1
Joined: Tue Jul 14, 2015 10:57 am

Re: Allwinner A20 USB0 as Mass storage device not working

Postby WarheadsSE » Tue Jul 14, 2015 6:33 pm

You need to take this up with the folks @ linux-sunxi. We do not maintain that 3.4 kernel tree.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Allwinner

Who is online

Users browsing this forum: No registered users and 8 guests