Hi Hippo,
PCI problems solved.
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif
GigaBit Ethernet works fine with uClinux
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif
But your last tip doesn't work. The PCI-Compiler doesn't accept the highest Bit set.
To get PCI for me to work i just masked out the highest bit in the Device Bar Setup in ALTPCI.C
I wondered why you haven't done it. I think PCI can't work without that. Or just I/O-Access is possible.
Solong, i have a cheap and well working Gigabit-Ethernet on my uClinux-Board.
Tomorrow i will make a performance test. The results i will post here.
Thanx and Bye
Marco
--- Quote Start ---
originally posted by hippo@Sep 27 2006, 11:33 PM
hi marco,
when i perpared the altpci driver, i had tried to simplify the address translation between pci space and avalon space. i decided to use the same address mapping for both spaces, so that i don't have to add another address tables in drivers.
i checked your ptf and altpci.c .
please update in the pci core toolbench, page 4, avalon config.
change the pci base address in the address translation table,
row 0, pci config space, pci base 0, == avalon 0x06000000 uncached to nios2 0x86000000
row 1, pci mem space, pci base 0x86100000, == nios2 0x86100000
row 2, pci mem space, pci base 0x86200000, == nios2 0x86200000
....
row 7, pci io space, pci base 0x86700000, == nios2 0x86700000
note, we need to uncache the access for nios2, by setting address bit 31 .
hope this will help.
hippo
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18476)
--- quote end ---
--- Quote End ---
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif