PCI Resource allocation for Cavium MIPS board
Hello,
I am working on Cavium MIPS 5860 Series board, PCI Initialization sequence in uboot seems to be OK, as per Hardware manual. There are two FPGA devices which are connected on BUS 0, however i am unable to read my PCI memory space. I think PCI BAR 0 mapping has some problems. I am able to config space, vendor,class etc., but not able to read any of the target register.
Current code implementation only recognizes both of my PCI devices, however i am unable to see the correct BAR0 address.
My requirement is to correctly allocate the resources (BAR0 memory) for PCI devices in uboot.
Kindly help.
Regds
Sudhanshu B.
Dear Sudhanshu B,
Quoted 7 lines · In message <[email protected]> you wrote:
I am working on Cavium MIPS 5860 Series board, PCI Initialization sequence in uboot seems to be OK, as per Hardware manual. There are two FPGA devices which are connected on BUS 0, however i am unable to read my PCI memory space. I think PCI BAR 0 mapping has some problems. I am able to config space, vendor,class etc., but not able to read any of the target register.
Quoted 5 lines
Current code implementation only recognizes both of my PCI devices, however i am unable to see the correct BAR0 address.
My requirement is to correctly allocate the resources (BAR0 memory) for PCI devices in uboot.
Please contact Cavium support about this. They never pushed their code into mainline, so we cannot help you.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Text processing has made it possible to right-justify any idea, even
one which cannot be justified on any other grounds."
-- J. Finnegan, USC.