PCI-E to PCI Bridge: Sam460EX

This forum is for all AmigaOne 500, Sam440 and Sam460 specific issues.

PCI-E to PCI Bridge: Sam460EX

Postby graffias79 » Thu Sep 13, 2012 12:35 am

Hi,

I feel like maybe I might be asking a lot here, but I was wondering if anyone could verify that the Sam460EX running the latest release of Amiga OS4 cannot use PCI-E to PCI bridge adapters.

My evidence for this is:

1. A sound card with a "most likely" supported sound chip on a PCI-E sound card that contains a PCI-E to PCI bridge chip onboard. Ranger sees the bridge chip and the card but no audio works.

2. 2 sound cards that work on the Micro AmigaOne (CMI8738 and SB Audigy) attached to a StarTech PCI-E to PCI adapter card with a different PCI-E to PCI bridge. Ranger sees the bridge chip (even reporting the brand) and the card attached but audio does not work.

3. My Silicon Image Sil3512 card does not boot when attached to the Sam460EX via the above mentioned StarTech PCI-E to PCI bridge adapter card.

The PCI-E to PCI bridge adpater card was verified to be working correctly using my linux machine.

Thanks,
Jamie
graffias79
 
Posts: 11
Joined: Sun Jul 22, 2012 7:22 pm

Re: PCI-E to PCI Bridge: Sam460EX

Postby Spectre660 » Thu Sep 13, 2012 4:04 am

You are getting further along here than I am.
With My adapter ,a Pex 8112 based one, Ranger will show the bridge. the card attached will not show up.
Tried with a PCI Sii3512 and a PCI sii3112 and a PCI FM802 based sound card and a PCI radeon 9250 .
Also with the 5v card which is the FM802 the Sam460ex would not boot.
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: PCI-E to PCI Bridge: Sam460EX

Postby m3x » Fri Sep 14, 2012 9:57 am

Currently the AmigaOS4,1 kernel for Sam460ex boards doesn't support I/O over PCI Express, it support only Memory Mapped access.
That's the reason why gfx cards like the Radeon HD works, and sata/audio controller don't, since the laters require I/O accesses.
Using a PCI-PCI-E bridge doesn't solve the problem, if the PCI card requires I/O accesses to work too.

Using Ranger it's possible to check if the PCI-E (or PCI) board requires I/O accesses, just select the PCI Bus tab, choose a board from the list on the left, and in the Resource Ranges check for the Flags files, if it reports only IO, than the board won't work with the current AmigaOS4.1 kernel.
Max Tretene, ACube Systems Srl - Soft3
User avatar
m3x
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 11
Joined: Sat Jun 18, 2011 8:51 pm
Location: Bologna, Italy

Re: PCI-E to PCI Bridge: Sam460EX

Postby m3x » Fri Sep 14, 2012 10:03 am

Spectre660 wrote:You are getting further along here than I am.
With My adapter ,a Pex 8112 based one, Ranger will show the bridge. the card attached will not show up.
Tried with a PCI Sii3512 and a PCI sii3112 and a PCI FM802 based sound card and a PCI radeon 9250 .
Also with the 5v card which is the FM802 the Sam460ex would not boot.

Never use a 5V card on a Sam ! You risk to seriously damage it, even is you use a bridge in between.
Max Tretene, ACube Systems Srl - Soft3
User avatar
m3x
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 11
Joined: Sat Jun 18, 2011 8:51 pm
Location: Bologna, Italy

Re: PCI-E to PCI Bridge: Sam460EX

Postby Spectre660 » Fri Sep 14, 2012 1:22 pm

Noted.
Thank you.

m3x wrote:
Spectre660 wrote:You are getting further along here than I am.
With My adapter ,a Pex 8112 based one, Ranger will show the bridge. the card attached will not show up.
Tried with a PCI Sii3512 and a PCI sii3112 and a PCI FM802 based sound card and a PCI radeon 9250 .
Also with the 5v card which is the FM802 the Sam460ex would not boot.

Never use a 5V card on a Sam ! You risk to seriously damage it, even is you use a bridge in between.
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: PCI-E to PCI Bridge: Sam460EX

Postby graffias79 » Thu Dec 20, 2012 5:54 pm

Thanks for the update to the kernel to allow PCIe use!

I wanted to post my experiences:

Envy24DT based PCIe sound card: Now Workbench does not lock when the card is inserted and the driver (Envy24HT) is loaded into AHI. The system behaves like the audio is working but nothing comes out of the card (which works fine in my linux box). As an example, TuneNet will play a song, showing the bouncing level meters and everything but audio does not come out of the card.

I believe the Envy24HT driver does not work properly with cards based on Envy24DT chips. I wonder if the driver can be updated as these Envy24DT chips can be a very inexpensive alternative to the SAM460ex onboard audio.

The other experience I had was with the Startech "PEX1PCI1" PCIe to PCI bridge adapter card. This card does not work at all with a CMI 8738 sound card that I tried and with a 3Com Prism2 Wireless adapter card. The sound card cause programs to stop responding, and the Prism2 card caused the WiFi signal monitor to completely lock the machine as soon as it was executed.

I also tried the Sii3512 card with this Startech bridge card and the system did not recognize the Sii card to boot from it.
graffias79
 
Posts: 11
Joined: Sun Jul 22, 2012 7:22 pm

Re: PCI-E to PCI Bridge: Sam460EX

Postby Spectre660 » Sun Dec 23, 2012 1:05 pm

I am also having the same results as with the earlier kernel.
The Pex8112 bridge is visible in Ranger but the the PCI sii3112 SATA card attached does not show up.
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: PCI-E to PCI Bridge: Sam460EX

Postby graffias79 » Sun Dec 23, 2012 4:38 pm

Oddly, the sound card that mostly works (no sound but the driver mostly recognizes the chipset) has an Asmedia ASM1083 PCIe to PCI bridge chip that seems to work just fine. Before the kernel update I wasn't able to do anything in workbench, but now I can see the card, act like i'm playing music, etc. I wonder what the big deal is, I didn't think these bridge chips needed any drivers.
graffias79
 
Posts: 11
Joined: Sun Jul 22, 2012 7:22 pm

Re: PCI-E to PCI Bridge: Sam460EX

Postby Spectre660 » Sun Dec 23, 2012 4:51 pm

They need Uboot support to setup the device behind the bridge.

graffias79 wrote:Oddly, the sound card that mostly works (no sound but the driver mostly recognizes the chipset) has an Asmedia ASM1083 PCIe to PCI bridge chip that seems to work just fine. Before the kernel update I wasn't able to do anything in workbench, but now I can see the card, act like i'm playing music, etc. I wonder what the big deal is, I didn't think these bridge chips needed any drivers.
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: PCI-E to PCI Bridge: Sam460EX

Postby Spectre660 » Fri Dec 28, 2012 2:40 am

BridgeDump output

http://hdrlab.org.nz/forums/amiga-os-projects/show/107

Sam460ex

Hidden Text - Click to Show :
Programs:Tools/BridgeDump/BridgeDump:
Scanning for PCI-to-PCI(e) bridges
Unknown bridge
Cannot enable blind prefetch for PCI:5.0,0, because this device doesn't support it.
Found a bridge: PCI:5.0,0
PCI_DEVICE_ID: 0x0
PCI_VENDOR_ID: 0xacbe
PCI_STATUS: ECP enable, DEVSEL# timing 0,
PCI_COMMAND: I/O space enabled, Mem space enabled, Bus master enabled,
PCI_CLASS: 0x60400
PCI_REVISION_ID: 0x1
PCI_HEADER_TYPE: 0x1
PCI_LATENCY_TIMER: 0
PCI_CACHE_LINE_SIZE: 8
PCI_SEC_LATENCY_TIMER: 0
PCI_PRIMARY_BUS: 0
PCI_SECONDARY_BUS: 1
PCI_SUBORDINATE_BUS: 2
PCI_SEC_STATUS: DEVSEL# timing 0, Received master abort,
PCI_IO_BASE (full): 0x2000
PCI_IO_LIMIT (full): 0x1fff
PCI_MEMORY_BASE (full): 0xc0000000
PCI_MEMORY_LIMIT (full): 0xbfffffff
PCI_PREF(ETCH)_MEMORY_BASE (full): 0x10000000
PCI_PREF(ETCH)_MEMORY_LIMIT (full): 0xfffff
PCI_BRIDGE_CONTROL:
PCI_INTERRUPT_PIN: 0x0

Bridge is a PEX 8112
Enabling blind prefetch on the PEX 8112 bridge
Found a bridge: PCI:6.0,0
PCI_DEVICE_ID: 0x8112
PCI_VENDOR_ID: 0x10b5
PCI_STATUS: ECP enable, DEVSEL# timing 0,
PCI_COMMAND: I/O space enabled, Mem space enabled, Bus master enabled,
PCI_CLASS: 0x60400
PCI_REVISION_ID: 0xaa
PCI_HEADER_TYPE: 0x1
PCI_LATENCY_TIMER: 0
PCI_CACHE_LINE_SIZE: 8
PCI_SEC_LATENCY_TIMER: 0
PCI_PRIMARY_BUS: 1
PCI_SECONDARY_BUS: 2
PCI_SUBORDINATE_BUS: 2
PCI_SEC_STATUS: 66 MHz capable, DEVSEL# timing 1, Received master abort,
PCI_IO_BASE (full): 0x2000
PCI_IO_LIMIT (full): 0x1fff
PCI_MEMORY_BASE (full): 0xc0000000
PCI_MEMORY_LIMIT (full): 0xbfffffff
PCI_PREF(ETCH)_MEMORY_BASE (full): 0x10000000
PCI_PREF(ETCH)_MEMORY_LIMIT (full): 0xfffff
PCI_BRIDGE_CONTROL:
PCI_INTERRUPT_PIN: 0x1

Unknown bridge
Cannot enable blind prefetch for PCI:7.0,0, because this device doesn't support it.
Found a bridge: PCI:7.0,0
PCI_DEVICE_ID: 0x1
PCI_VENDOR_ID: 0xacbe
PCI_STATUS: ECP enable, DEVSEL# timing 0,
PCI_COMMAND: I/O space enabled, Mem space enabled, Bus master enabled,
PCI_CLASS: 0x60400
PCI_REVISION_ID: 0x1
PCI_HEADER_TYPE: 0x1
PCI_LATENCY_TIMER: 0
PCI_CACHE_LINE_SIZE: 8
PCI_SEC_LATENCY_TIMER: 0
PCI_PRIMARY_BUS: 0
PCI_SECONDARY_BUS: 1
PCI_SUBORDINATE_BUS: 1
PCI_SEC_STATUS: DEVSEL# timing 0, Received master abort,
PCI_IO_BASE (full): 0x2000
PCI_IO_LIMIT (full): 0x2fff
PCI_MEMORY_BASE (full): 0xa0000000
PCI_MEMORY_LIMIT (full): 0xb00fffff
PCI_PREF(ETCH)_MEMORY_BASE (full): 0x10000000
PCI_PREF(ETCH)_MEMORY_LIMIT (full): 0xfffff
PCI_BRIDGE_CONTROL:
PCI_INTERRUPT_PIN: 0x0


Sam440ep-Flex

Hidden Text - Click to Show :
Programs:Tools/BridgeDump/BridgeDump:
Scanning for PCI-to-PCI(e) bridges
Unknown bridge
Cannot enable blind prefetch for PCI:0.10,0, because this device doesn't support it.
Found a bridge: PCI:0.10,0
PCI_DEVICE_ID: 0x8150
PCI_VENDOR_ID: 0x12d8
PCI_STATUS: ECP enable, 66 MHz capable, Fast back-to-back capable, DEVSEL# timing 1,
PCI_COMMAND: I/O space enabled, Mem space enabled, Bus master enabled,
PCI_CLASS: 0x60400
PCI_REVISION_ID: 0x2
PCI_HEADER_TYPE: 0x1
PCI_LATENCY_TIMER: 32
PCI_CACHE_LINE_SIZE: 8
PCI_SEC_LATENCY_TIMER: 0
PCI_PRIMARY_BUS: 0
PCI_SECONDARY_BUS: 1
PCI_SUBORDINATE_BUS: 1
PCI_SEC_STATUS: 66 MHz capable, Fast back-to-back capable, DEVSEL# timing 1, Received master abort,
PCI_IO_BASE (full): 0x1000
PCI_IO_LIMIT (full): 0xfff
PCI_MEMORY_BASE (full): 0xa0000000
PCI_MEMORY_LIMIT (full): 0xa00fffff
PCI_PREF(ETCH)_MEMORY_BASE (full): 0x10000000
PCI_PREF(ETCH)_MEMORY_LIMIT (full): 0xfffff
PCI_BRIDGE_CONTROL:
PCI_INTERRUPT_PIN: 0x0

Bridge is a PEX 8112
Enabling blind prefetch on the PEX 8112 bridge
Found a bridge: PCI:0.12,0
PCI_DEVICE_ID: 0x8112
PCI_VENDOR_ID: 0x10b5
PCI_STATUS: ECP enable, 66 MHz capable, DEVSEL# timing 1,
PCI_COMMAND: I/O space enabled, Mem space enabled, Bus master enabled,
PCI_CLASS: 0x60400
PCI_REVISION_ID: 0xaa
PCI_HEADER_TYPE: 0x1
PCI_LATENCY_TIMER: 32
PCI_CACHE_LINE_SIZE: 8
PCI_SEC_LATENCY_TIMER: 0
PCI_PRIMARY_BUS: 0
PCI_SECONDARY_BUS: 2
PCI_SUBORDINATE_BUS: 2
PCI_SEC_STATUS: DEVSEL# timing 0, Received master abort,
PCI_IO_BASE (full): 0x1000
PCI_IO_LIMIT (full): 0x1fff
PCI_MEMORY_BASE (full): 0xa0200000
PCI_MEMORY_LIMIT (full): 0xc00fffff
PCI_PREF(ETCH)_MEMORY_BASE (full): 0x10000000
PCI_PREF(ETCH)_MEMORY_LIMIT (full): 0xfffff
PCI_BRIDGE_CONTROL:
PCI_INTERRUPT_PIN: 0x1
Spectre660
 
Posts: 1489
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Next

Return to Platform: AmigaOne 500 and Sam series

Who is online

Users browsing this forum: No registered users and 2 guests