PPC405GPWalnutPciBusMaster
Hi,
I am trying to install Intel eepro100 onto WalnutPPC405GP. Basic PCI settings seem good but no frame is transmitted. The environment is WalnutPPC305GP with HardHatLinux 2.4.2 from MonraVista.
I can read or write eepro configuration registers and other control registers via PCI memory space.
But Bus Master operations do not seem functional. I am confirmed that MASTER operation bit in eepro100 is enabled.
I think some more settings are needed for PPC405GP built-in PCI control registers and/or Walnut board jumpers/dipswitches.
Has anyone tried PCI cards with BUS MASTER operations for Walnut PPC405GP?
Thanks in advance,
Hideo
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 2 lines · Hideo Noda
Has anyone tried PCI cards with BUS MASTER operations for Walnut PPC405GP?
I have tried and failed. I have other things to work on right now so I have just delayed looking into it anymore until the 2.0 CDK comes out. I think that should be by the end of the month.
I think there is a problem with the virt_to_phys matching the PTM1/BAR1. In the preliminary 405gp docs that I have Fig 17-59 on page 17-62 give a good overview on how things need to be setup on the chip, but I am not sure on what the values need to be.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 9 lines · Hideo Noda
Quoted 2 lines
Has anyone tried PCI cards with BUS MASTER operations for Walnut PPC405GP?
I have tried and failed. I have other things to work on right now so I have just delayed looking into it anymore until the 2.0 CDK comes out. I think that should be by the end of the month.
Quoted 5 lines
I think there is a problem with the
virt_to_physmatching the PTM1/BAR1. In the preliminary 405gp docs that I have Fig 17-59 on page 17-62 give a good overview on how things need to be setup on the chip, but I am not sure on what the values need to be.
Which bootloader/firmware are you using? The pci configuration should be done within the bootloader. If you are using PPCBoot, I am not shure if the configuration is correct regarding the busmaster setup (although I did the port based on the IBM OpenBios). The bus master functionality was never tested - sorry for that.
Stefan.
*******************************************
esd gmbh
Vahrenwalder Str. 205
D-30165 Hannover
Phone: +49-511-37298-0 Fax: +49-511-37298-198 email: [email protected] www: http://www.esd-electronics.de
*******************************************
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 15 lines · Stefan Roese
Quoted 9 lines · Hideo Noda
Quoted 2 lines
Has anyone tried PCI cards with BUS MASTER operations for Walnut PPC405GP?
I have tried and failed. I have other things to work on right now so I have just delayed looking into it anymore until the 2.0 CDK comes out. I think that should be by the end of the month.
Quoted 5 lines
I think there is a problem with the
virt_to_physmatching the PTM1/BAR1. In the preliminary 405gp docs that I have Fig 17-59 on page 17-62 give a good overview on how things need to be setup on the chip, but I am not sure on what the values need to be.
Quoted 5 lines
Which bootloader/firmware are you using? The pci configuration should be done within the bootloader. If you are using PPCBoot, I am not shure if the configuration is correct regarding the busmaster setup (although I did the port based on the IBM OpenBios). The bus master functionality was never tested - sorry for that.
I am just using the OpenBios for now. We will be spinning our own board within the year so I was going to delay looking into doing the PPCBoot code until then. I was able to look at the PCI registers when the kernel booted and they appeared to be OK. For the hell of it I tried to change them in the kernel and it hung during boot. I did not see in the docs the constraints on when I could change those registers. Is it possible to do it very early in the Linux boot code?
Thanks
--
Andrew May
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Now I have the same problem as you meet before.
Have you find a good solutions?
Thank you very mcuh.
machael
Quoted 15 lines
Hi,
I am trying to install Intel eepro100 onto WalnutPPC405GP. Basic PCI settings seem good but no frame is transmitted. The environment is WalnutPPC305GP with HardHatLinux 2.4.2 from MonraVista.
I can read or write eepro configuration registers and other control registers via PCI memory space.
But Bus Master operations do not seem functional. I am confirmed that MASTER operation bit in eepro100 is enabled.
I think some more settings are needed for PPC405GP built-in PCI control registers and/or Walnut board jumpers/dipswitches.
Quoted 9 lines
Has anyone tried PCI cards with BUS MASTER operations for Walnut PPC405GP?
Thanks in advance,
Hideo
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Until a newer kernel is released by Monta Vista that includes a fix, you can use setpci to change the settings of the PCI bridge as follows:
setpci -s 0:0.1 14.L=0x8
Then you should be able to "insmod eepro100"...
Regards,
John
Quoted 28 lines · machael thailer
Now I have the same problem as you meet before.
Have you find a good solutions?
Thank you very mcuh.machael
Quoted 21 lines
Hi,
I am trying to install Intel eepro100 onto WalnutPPC405GP. Basic PCI settings seem good but no frame is transmitted. The environment is WalnutPPC305GP with HardHatLinux 2.4.2 from MonraVista.
I can read or write eepro configuration registers and other control registers via PCI memory space.
But Bus Master operations do not seem functional. I am confirmed that MASTER operation bit in eepro100 is enabled.
I think some more settings are needed for PPC405GP built-in PCI control registers and/or Walnut board jumpers/dipswitches.Has anyone tried PCI cards with BUS MASTER operations for Walnut PPC405GP?
Thanks in advance,
Hideo
------------------------------
John Cagle <[email protected]>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/