Ok, that means you are using normal U-Boot (CFG_PCI_BOOT not defined) and that may be causing the ‘if’ part being executed even on unmodified board since U-Boot sets (forces) PINMUX to EMIFA mode.
Can you comment out that (PINMUX0 setting) part in U-Boot and try? Thanks, Hemant ________________________________ From: lingyun [mailto:[email protected]] Sent: Friday, June 19, 2009 12:06 PM To: Pedanekar, Hemant Cc: davinci-linux-open-source Subject: Fw: Re: RE: [PATCH 2/2] ARM: DaVinci: DM646x PCIHOST: PCI Host Driver Hi Hemant, i had add a spiflash chip to the EVM use the SPI CS1 i had modified the UBL to load u-boot image from the SPI flash so i can boot the kenel , but i have not modify the CPLD logic. ________________________________ lingyun 2009-06-19 ________________________________ 发件人: Pedanekar, Hemant 发送时间: 2009-06-18 17:36:53 收件人: lingyun 抄送: davinci-linux-open-source 主题: RE: [PATCH 2/2] ARM: DaVinci: DM646x PCIHOST: PCI Host Driver Hi Lingyun, It is strange that you are hitting that code, because on unmodified EVMs, the code inside 'if' block in dm646xevm_pci_setup is not supposed to be executed. The reason is, when the (unmodified) EVM is put into PCI slot, the on-board logic automatically enables PCI (EMIF disabled). Can you clarify how are you loading U-Boot and kernel images? Thanks, Hemant > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf > Of lingyun > Sent: Thursday, June 18, 2009 2:20 PM > To: davinci-linux-open-source > Subject: [PATCH 2/2] ARM: DaVinci: DM646x PCIHOST: PCI Host Driver > > Hi Hemant : > i tried to use your patch with 2.6.10 kernel, > I have a PCI backplane with minimum 2 slots . > The DM646x EVM (without h/w modification ) is put in one of the slots and > a 10/100 Mbps Ethernet PCI Adapter was used in other slot. > > when my linux kenerl run to this function > void dm646xevm_pci_setup(void) > after davinci_cfg_reg(DM646X_PCIEN) excuted > the kernel hang!! > > my bootmod is Nandboot the PCIEN in SW3 is off > > > thanks . > > lingyun > > > > > lingyun > 2009-06-18 > > > _______________________________________________ > Davinci-linux-open-source mailing list > [email protected] > http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
