[U-Boot-Users] PXA27x USB support?

G'Day,
Has anyone given PXA27X USB support a go? If not, I'm probably going to need to have a crack. Anyone else have a need for it? Any sage words of advice from someone who's looked at USB for another platform?
Cheers,
Dave.

David Snowdon ha scritto:
G'Day,
Has anyone given PXA27X USB support a go? If not, I'm probably going to need to have a crack. Anyone else have a need for it? Any sage words of advice from someone who's looked at USB for another platform?
In my PXA270 Mainstone U-Boot port, it has not been required, neither implemented, but I never needed USB in bootloader.

Unfortunately a client wants to be able to have sealed connectors on their custom PXA270 board, which isn't possible with CF or SD, etc, but is with USB. They want to be able to field upgrade the devices by giving the technicians a USB stick, sending them around to the devices and pressing the reset button.
Thanks Markus and Rodolfo for you thoughts! I'll give it a go and submit a patch.
Cheers,
Dave.
On 05/05/2006, at 4:27 AM, Marco Cavallini wrote:
David Snowdon ha scritto:
G'Day, Has anyone given PXA27X USB support a go? If not, I'm probably going to need to have a crack. Anyone else have a need for it? Any sage words of advice from someone who's looked at USB for another platform?
In my PXA270 Mainstone U-Boot port, it has not been required, neither implemented, but I never needed USB in bootloader.
-- Marco Cavallini Koan s.a.s. - Bergamo - ITALIA Embedded and Real-Time Software Engineering www.koansoftware.com | www.klinux.org

On Mon, May 08, 2006 at 09:36:56PM +1000, David Snowdon wrote:
Thanks Markus and Rodolfo for you thoughts! I'll give it a go and submit a patch.
You are well come.
However I think it could be a good idea to put OHCI support into «common» directory (the new file can be called «usb-ohci.c») and then exporting into it some hooks for several platforms whose wish use it.
Rodolfo

Dear Rodolfo,
in message 20060509151511.GL10349@enneenne.com you wrote:
However I think it could be a good idea to put OHCI support into «common» directory (the new file can be called «usb-ohci.c») and then exporting into it some hooks for several platforms whose wish use it.
You are right. Please feel free to submit a patch.
Best regards,
Wolfgang Denk

The usb boot function does not work well in my target platform pxa27x,so i hope you can forware your patch to my mail box. thanks -- View this message in context: http://www.nabble.com/PXA27x+USB+support--t1558405.html#a4658691 Sent from the Uboot - Users forum at Nabble.com.

"eric.liao" liaofeng97@gmail.com writes:
The usb boot function does not work well in my target platform pxa27x,so i hope you can forware your patch to my mail box.
Please beware that the USB-support in the cpu/pxa directory of the testing-USB branch is only tested with the monahans cpu, and will possibly not work for pxa27x out of the box.
Regards
Markus Klotzbuecher

On Mon, May 08, 2006 at 09:36:56PM +1000, David Snowdon wrote:
Unfortunately a client wants to be able to have sealed connectors on their custom PXA270 board, which isn't possible with CF or SD, etc, but is with USB. They want to be able to field upgrade the devices by giving the technicians a USB stick, sending them around to the devices and pressing the reset button.
Thanks Markus and Rodolfo for you thoughts! I'll give it a go and submit a patch.
Hi, any news on this topic? :)
Rodolfo

David Snowdon daves@cse.unsw.edu.au writes:
Has anyone given PXA27X USB support a go? If not, I'm probably going to need to have a crack. Anyone else have a need for it? Any sage words of advice from someone who's looked at USB for another platform?
Not exactly the PXA27x but its successor monahans, which is more or less identical regarding usb. I started of from the arm920t s3c24x0 usb_ohci driver and it required few changes such as modifying the OHCI base register and clock setup to compile and detect the root hub. Unfortunately I couldn't do any further testing so far due to lack of HW.
Regards
Markus Klotzbuecher

On Fri, May 05, 2006 at 12:58:07AM +0200, Markus Klotzbücher wrote:
David Snowdon daves@cse.unsw.edu.au writes:
Has anyone given PXA27X USB support a go? If not, I'm probably going to need to have a crack. Anyone else have a need for it? Any sage words of advice from someone who's looked at USB for another platform?
Not exactly the PXA27x but its successor monahans, which is more or less identical regarding usb. I started of from the arm920t s3c24x0 usb_ohci driver and it required few changes such as modifying the OHCI base register and clock setup to compile and detect the root hub.
I have the same problem for a MIPS CPU. My driver starts from arm920t one and also my drive recognize the Root hub but not the USB devices...
I think the problem is on the driver itself instead of the several platforms port. :)
Ciao,
Rodolfo

Hello,
using an USB traker I see that the USB driver do _not_ send any packets on the bus, neither the «setup» one!
Also I noticed that if I enable the periodic list (OHCI_CTRL_PLE) the controller sends some OUT packets even if the periodic list descriptor are 0!
I think that the driver wrong initialize the USB host...
Ciao,
Rodolfo
participants (8)
-
David Snowdon
-
eric.liao
-
Marco Cavallini
-
Markus Klotzbücher
-
Markus Klotzbücher
-
Rodolfo Giometti
-
Rodolfo Giometti
-
Wolfgang Denk