Testers wanted - USB3 XHCI USBHCD

This forum is for general developer support questions.
Belxjander
Posts: 297
Joined: Mon May 14, 2012 10:26 pm
Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan
Contact:

Testers wanted - USB3 XHCI USBHCD

Post by Belxjander »

Literally as the topic states...

I have a *partial* USBHCD written for XHCI operations, and mainly need to find a group of volunteers who are willing to test using it with PCI or PCI-Express hardware on machines other than a sam440-flex.

I'm currently building against a Vendor{0x1912=Renasas} Device{0x0014=XHCI} on a PCI card (using a PCI<->PCI-Express Bridge).

If interested let me know what PCI "Vendor:Device" tuple to add into the driver CandidateList and I'll start sharing it for testers to try.

as it is right now... compatability is explicitly Sirion USB only, if anyone wants to try writing for PoseidonUSB based on what I have here...
talk to me... maybe we can collaborate a build and repository so that the codebase is usable for both stacks?
seventhwonder
Beta Tester
Beta Tester
Posts: 215
Joined: Sat Jun 18, 2011 7:08 am

Re: Testers wanted - USB3 XHCI USBHCD

Post by seventhwonder »

Hi Belxjander

Do you think your driver may support this chipset ?

https://www.via-labs.com/product_show.php?id=48

I can buy a PCI-E card for 8 USD to test on X5000/20..
AmigaOS4 Beta-Tester
**AmigaOne X5000 + 8GB RAM + Asus Radeon R7 265 GDDR5**
**Tabor A1222 + 2GB RAM + Asus Radeon HD R7 265 GDDR5 **
**Sam460 + 2GB RAM + Radeon HD 7750 GDDR5 **
Belxjander
Posts: 297
Joined: Mon May 14, 2012 10:26 pm
Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan
Contact:

Re: Testers wanted - USB3 XHCI USBHCD

Post by Belxjander »

Grab the card and test away... According to the website it is xHCI so yeah it should function with what I have written so far.

Just don't expect full immediate functionality straight away.

I'll need the VendorID and DeviceID codes (as shown in ShowConfig/Ranger)
to add it into the Candidate List properly.

I've mostly just started with hardware level access routines and have only gotten register mappings sorted out.

I'm working on the Command, Event and Transfer Buffer Rings next.

Doorbell registers are when adding/removing USB devices and transfers happen.

That's about 1 ~ 2 steps away on the plan so far.

I'm also willing to share the sources though want to keep final say on changes at this point.
seventhwonder
Beta Tester
Beta Tester
Posts: 215
Joined: Sat Jun 18, 2011 7:08 am

Re: Testers wanted - USB3 XHCI USBHCD

Post by seventhwonder »

Hi

I ordered this card..It has the same chip but a bit more up-to-date.

Image
AmigaOS4 Beta-Tester
**AmigaOne X5000 + 8GB RAM + Asus Radeon R7 265 GDDR5**
**Tabor A1222 + 2GB RAM + Asus Radeon HD R7 265 GDDR5 **
**Sam460 + 2GB RAM + Radeon HD 7750 GDDR5 **
User avatar
AlfredOne
Beta Tester
Beta Tester
Posts: 126
Joined: Wed Dec 22, 2010 11:45 pm
Location: Terlizzi (BA) , Italy
Contact:

Re: Testers wanted - USB3 XHCI USBHCD

Post by AlfredOne »

Hi,
I have this card in my X1000:
https://www.inateck.com/inateck-ktu3fr- ... -card.html

Infos from Ranger:

ID: Bus:0x0E Device: 0x00 Function: 0x00
Class: Base: 0x0C Sub: 0x03 IFace: 0x30 (Undefined USB)
Device: 0x1100 Rev: 0x10 (N/A)
Vendor: 0x1B73 (Fresco Logic)
Header Type: Normal
Chacheline Size: 64 Bytes
Status: CapList FastDevSel
Capabilities: BusMaster Intercard
Command: IO Mem Master Parity SERR
Interrupt: Line: 0x32 Pin: A Number: 66
Amiga500 Kickstart1.3
AmigaONE XE G4 833MHz - 2GB RAM - Radeon9200 256MB
AmigaONE X1000 - 2GB RAM - Radeon R9-280X 3GB + Radeon HIS4670 1GB DDR3 - AmigaOS4.1
My site: http://project4a.webs.com
Belxjander
Posts: 297
Joined: Mon May 14, 2012 10:26 pm
Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan
Contact:

Re: Testers wanted - USB3 XHCI USBHCD

Post by Belxjander »

Added Fresco Logic VendorID:DeviceID tuple to candidates
EDIT: AlfredOne's card values

Right now I'm working through the hardware controller setup logic.

1st attempt locked up, double-checking all the hard reads and writes.
Last edited by Belxjander on Wed Jun 17, 2020 12:31 am, edited 1 time in total.
seventhwonder
Beta Tester
Beta Tester
Posts: 215
Joined: Sat Jun 18, 2011 7:08 am

Re: Testers wanted - USB3 XHCI USBHCD

Post by seventhwonder »

Hi Belxjander

I have received my new USB3 Card.

Plugged to Sam460 (my hardware test machine)

Details are:

ID: Bus: 0x06 Device: 0x00 Function: 0x00
Class: Base: 0x0C Sub: 0x03 IFace: 0x30 (Undefined USB)
Device:0x3483 Rev: 0x01 (N/A)
Vendor:0x1106 (N/A)
Header Type: Nomal
Cacheline Size: 32Bytes
Status: Caplist FastDevSel
Capabilities: Busmaster Intercard
Command: Mem Master Init
Interrupt: 0x60 Pin: A Number: 112
AmigaOS4 Beta-Tester
**AmigaOne X5000 + 8GB RAM + Asus Radeon R7 265 GDDR5**
**Tabor A1222 + 2GB RAM + Asus Radeon HD R7 265 GDDR5 **
**Sam460 + 2GB RAM + Radeon HD 7750 GDDR5 **
Belxjander
Posts: 297
Joined: Mon May 14, 2012 10:26 pm
Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan
Contact:

Re: Testers wanted - USB3 XHCI USBHCD

Post by Belxjander »

Added "Seventhwonder"s VIA Technologies USB3 controller ID's to CandidateList

working on "ReverseInPlace" Transfer Ring Buffer Operations for Commands and Events
User avatar
Amigo1
Posts: 221
Joined: Sun Jan 01, 2012 3:32 pm

Re: Testers wanted - USB3 XHCI USBHCD

Post by Amigo1 »

Belxjander wrote: Wed Jun 10, 2020 9:54 am Literally as the topic states...

I have a *partial* USBHCD written for XHCI operations, and mainly need to find a group of volunteers who are willing to test using it with PCI or PCI-Express hardware on machines other than a sam440-flex.

I'm currently building against a Vendor{0x1912=Renasas} Device{0x0014=XHCI} on a PCI card (using a PCI<->PCI-Express Bridge).

If interested let me know what PCI "Vendor:Device" tuple to add into the driver CandidateList and I'll start sharing it for testers to try.

as it is right now... compatability is explicitly Sirion USB only, if anyone wants to try writing for PoseidonUSB based on what I have here...
talk to me... maybe we can collaborate a build and repository so that the codebase is usable for both stacks?
That's great!

I'd like to offer my help with testing too, unless this is meant for OS4 betatester only.

I would buy one of the cards below. Personally, I like the last two cards with an internal usb 3.0 connector, so the front 3.0 connectors of the X1000 will be put to good use, but I leave it to you to choose wich one you want to have tested.

1) Same as the one of seventhwonder.

2) eBay 283624353799 https://www.ebay.com/itm/ITHOO-19PIN-Du ... Swa0ddiwHK

3) eBay 274103429863 https://www.ebay.com/itm/ITHOO-PCI-e-To ... Swlkhd05kD

Taken from the specs, they all appear to use the same renesas chip:
micro-pd720201.html https://www.renesas.com/us/en/products/ ... 20201.html
Belxjander
Posts: 297
Joined: Mon May 14, 2012 10:26 pm
Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan
Contact:

Re: Testers wanted - USB3 XHCI USBHCD

Post by Belxjander »

I'm not restricting the testers group yet (I'm still sorting out hosting the code to make the driver available!)

The only restrictions are ... AmigaOS 4.x with Sirion USB as that is what I'm writing for,
and XHCI hardware of some kind.

after that It's a matter of co-ordinating updates...

I'm thinking of AmiUpdate for that...
and will probably just give the driver to the community to ab/use however...

I'm also thinking about whether to open source it or not too.

maybe once I get past init and exit and have the driver actively reading/writing?
Post Reply