From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dieter Kiermaier Date: Fri, 24 Jul 2009 08:09:28 +0200 Subject: [U-Boot] kirkwood openRD-base / PCI support In-Reply-To: <73173D32E9439E4ABB5151606C3E19E202DE13BE67@SC-VEXCH1.marvell.com> References: <73173D32E9439E4ABB5151606C3E19E202DE13BE67@SC-VEXCH1.marvell.com> Message-ID: <200907240809.31025.dk-arm-linux@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Freitag 24 Juli 2009 05:59:41 schrieb Prafulla Wadaskar: > > > -----Original Message----- > > From: Dieter Kiermaier [mailto:dk-arm-linux at gmx.de] > > Sent: Thursday, July 23, 2009 6:25 PM > > To: u-boot at lists.denx.de > > Cc: Prafulla Wadaskar; Simon Kagstrom > > Subject: kirkwood openRD-base / PCI support > > > > Hi Prafulla, hi list, > > > > is there anywhere pci support available for u-boot on > > openrd-base board? > > I've googled and searched the list archive but aren't > > sucessful :-( It looks like there is no PCI support until > > now, Are there any plans to do this from marvell side? > > > > I use Simons patches for initial openrd-base support and try > > to get up kirkwoods PCI port. > > u-boot without PCI is running fine on my openrd-base board. > > Dear Dieter > PCIe port on Kirkwood SOC can be enabled in the u-boot by defining CONFIG_KIRKWOOD_PCIE_INIT in board configuration header file. > This enables PCIe interface to work from kernel, > I have tested it for MV88F6281GTW_GE board. > > Apart from this there is no PCIe support yet enabled in u-boot for kirkwood at this moment > Mmh, so I fear I have to wait a while. I've enabled CONFIG_KIRKWOOD_PCIE_INIT allready. And also written an empty #ifdef CONFIG_KIRKWOOD_PCIE_INIT void pci_init_board() { printf("kirkwood: pci_init_board() called\n"); } #endif /* CONFIG_KIRKWOOD_PCIE_IN */ #endif in cpu.c The function is called on bootup - nice. But if I try pci 0 on the u-boot prompt it gives me Marvell>> pci Scanning PCI devices on bus 0 BusDevFun VendorId DeviceId Device Class Sub-Class _____________________________________________________________ pci_bus_to_hose() failed pci_bus_to_hose() failed pci_bus_to_hose() failed pci_bus_to_hose() failed pci_bus_to_hose() failed pci_bus_to_hose() failed ... What is not really suprisingly. but then I was a bit confused what else is needed ;-) It looks like I have to learn about some basic PCI frameworks inside u-boot first. Also there are a few other tasks on my desk which have to be done first so I stopped working on it for the moment. But nevertheless, if there are any news regarding PCIe it would be nice if you could keep me up to date! Dieter > Regards.. > Prafulla . . > > > > > Many thanks, > > Dieter > > > > > > > >