Re: Altera Nios II & PCI Compiler 4.1.0 Question



"Sander & Stieneke Odekerken" <sanderA_en_stienekeB@xxxxxxxxxxxx> wrote in message
news:443be5db$0$117$dbd4d001@xxxxxxxxxxxxxxxxxx
Another problem I'm facing is that I can't read/write any information
from/to the configuration space of the internal PCI master/target device or
any other (external) PCI device (actually I didn't tried that because I first want to know if it
works before I blow up the device :-) ). Should configuration be done in VHDL or can
it be done in software? If it is possible using software, do I have to write
to the Avalon bus or directly to the PCI Bus Access slave port? Do you have
any examples or reference of how to do a configuration by software?


Sander,

I presume this is so you can insert a board with a NIOS core into a
system that has a PCI bus?

The configuration registers are normally initialised by whatever's driving
the PCI bus.

As an example in a PC when it boots up it walks down the PCI bus detecting
devices and allocating memory addresses etc to them. You probably shouldn't be
trying to write to these from the other side of the PIC interface.



Nial.


.



Relevant Pages

  • Re: 2.6.18-rc3-mm2
    ... Using ACPI for SMP configuration information ... CPU: L2 Cache: 1024K ... ACPI: bus type pci registered ... Linux Plug and Play Support v0.97 Adam Belay ...
    (Linux-Kernel)
  • BUG: 2.6.26-git8: spinlock lockup in c1e_idle()
    ... Full dmesg output and my kernel configuration are attached. ... # Bus options (PCI etc.) ... # AX.25 network device drivers ...
    (Linux-Kernel)
  • Two "scheduling while atomic" problems
    ... ACPI: PM-Timer IO Port: 0x808 ... ACPI: Local APIC address 0xfee00000 ... Using ACPI for SMP configuration information ... ACPI: bus type pci registered ...
    (Linux-Kernel)
  • [locking api] Its ok?
    ... ACPI: ... Using ACPI for SMP configuration information ... ACPI: bus type pci registered ... abnormal status 0x7F on port 0x0001efe7 ...
    (Linux-Kernel)
  • Re: ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x0) r0xj0
    ... Using ACPI for SMP configuration information ... ACPI: bus type pci registered ... PCI: Setting latency timer of device 0000:00:01.0 to 64 ... saa7146: register extension 'budget_ci dvb'. ...
    (Linux-Kernel)