Re: could linux support to configure the PLB-PCI bridge of PPC440 into adapter mode
From: 陈 云 <hidden>
Date: 2006-06-20 09:10:38
hi Matthias: thank for your reply. according to information you provide, i should set the proper parameter of register of PPC440GX in U-BOOT(I use u-boot as bootloader),such as PAE,PHCE,PISE of SDR0_XCR and BAR etc. during the time of linux kernel booting, I turn off CONFIG_PCI , let linux kernel don't initialize the PCI bus as host bridge and set PLB address in kernel. then after the linux system operated, the ppc440gx could act as adapter mode. does my understanding correct? i really appreciate your help. chen
From: Matthias Fuchs <redacted> To: hilichen2000@msn.com CC: linuxppc-embedded@ozlabs.org Subject: Re: could linux support to configure the PLB-PCI bridge of PPC440
into adapter mode
Date: Mon, 19 Jun 2006 16:11:54 +0200 Hi chen, it's not easy to setup the PCI-to-PLB mapping in a generic way so that is gets into the kernel. Also it might be too late when the adapter OS configures the bridge. The bridge must be setup quickly after reset so that the host OS can assign resources to the card. The bootloader of your board might be a good place to setup of the adapter stuff. At least number and sizes of the needed address spaces should be setup early. The PLB address can be setup or modified later (e.g. from the target OS).quoted
hi,now I want to use PPC440GX as PCI adapter card bridge. according to user manual, the PLB-PCI bridge should be configured to Adapter mode. after check some code of PCI of linux, i find the linux only support configuring the PLB-PCI bridge into HOST mode. Is my understanding correct ? if the normal version of linux don't support the adapter mode, could i found the patch?Probably not. Matthias
_________________________________________________________________ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com