Skip to contentSkip to conversation

750/107 - PCI or Interrupt problem?

DISCUSSION Richard Danter 1 participant 2 messages Aug 4, 2003 – Aug 5, 2003

lore
Share & tools
lore
#0 lore raw

Hi All,

I have made some progress in porting Linux 2.4.x to a wrPPMC7xx board. Yipee!

But now I have hit another problem...

It seems the kernel finds the ethernet card plugged into one of the PCI slots. All the diagnostics seem to work too. In fact, it even sends out a BOOTP request, as I can see it logged on my server.

The problem is it does not seem to be getting the BOOTP reply. It eventually times out. But I can see from my server that a reply is being sent.

At the moment I think the problem is most likely in my <board>_pci.c code or <board>_setup.c. I don't get any hardware interrupts (ie setting a hardware breakpoint on 0x0500 does not stop the CPU) and I would have expected that... or am I way off track here?? I am also unsure if I have set up my pci_irq_table or <board>_openpic_initsenses structures correctly.

Any suggestions where I should be looking in the code??

Hopefully if this part works then I get an IP address and can mount my NFS root filesystem...

Thanks
Rich

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Re: 750/107 - PCI or Interrupt problem? - FIXED

Hi all,

FYI, fixed it - it was an incorrect IRQ number pci_irq_table. :)

Rich

Quoted 22 lines · Richard Danter

Hi All,

I have made some progress in porting Linux 2.4.x to a wrPPMC7xx board. Yipee!

But now I have hit another problem...

It seems the kernel finds the ethernet card plugged into one of the PCI slots. All the diagnostics seem to work too. In fact, it even sends out a BOOTP request, as I can see it logged on my server.

The problem is it does not seem to be getting the BOOTP reply. It eventually times out. But I can see from my server that a reply is being sent.

At the moment I think the problem is most likely in my <board>_pci.c code or <board>_setup.c. I don't get any hardware interrupts (ie setting a hardware breakpoint on 0x0500 does not stop the CPU) and I would have expected that... or am I way off track here?? I am also unsure if I have set up my pci_irq_table or <board>_openpic_initsenses structures correctly.

Quoted 11 lines

Any suggestions where I should be looking in the code??

Hopefully if this part works then I get an IP address and can mount my NFS root filesystem...

Thanks
Rich

--

Richard Danter
Product Specialist - Tools
EMEA Customer Support Team

Wind River UK Ltd.
Freephone: 00 800 4977 4977
e-mail: [email protected]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/