From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18147 invoked by alias); 3 Mar 2006 04:52:28 -0000 Received: (qmail 18139 invoked by uid 22791); 3 Mar 2006 04:52:28 -0000 X-Spam-Check-By: sourceware.org Received: from wip-ectls-mx3.wipro.com (HELO wip-ectls-mx3.wipro.com) (203.91.193.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 03 Mar 2006 04:52:27 +0000 Received: from wip-ectls-mx3.wipro.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 653FA224113 for ; Fri, 3 Mar 2006 10:22:22 +0530 (IST) Received: from blr-ec-bh01.wipro.com (blr-ec-bh01.wipro.com [10.201.50.91]) by wip-ectls-mx3.wipro.com (Postfix) with ESMTP id 56EFF22407A for ; Fri, 3 Mar 2006 10:22:22 +0530 (IST) Received: from BLR-EC-MBX04.wipro.com ([10.201.50.165]) by blr-ec-bh01.wipro.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 3 Mar 2006 10:22:22 +0530 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Fri, 03 Mar 2006 04:52:00 -0000 Message-ID: From: To: X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] strucking up in infinite loop for IXP 425 X-SW-Source: 2006-03/txt/msg00037.txt.bz2 =0D Hi Andrew thanks for your help Andrew I have changed the address from 20000 to 0 location as given in manual as per your sugessition in .mlt and .ldi files with this I am able to continue upto cyg_hal_plf_pci_init , I am strucking=0D at pci , I am strucked up at this call =0D HAL_PCI_CFG_WRITE_UINT32(0, 0, CYG_PCI_CFG_BAR_1, 0x01000000); =0D are there any pointers at this situation that can help me Thanks & regards, Sumanth. -----Original Message----- From: Andrew Lunn [mailto:andrew@lunn.ch]=0D Sent: Tuesday, February 28, 2006 4:35 PM To: Sumanth Kumar Kondlada (WT01 - Product Engineering Solutions) Cc: ecos-discuss@ecos.sourceware.org Subject: Re: [ECOS] strucking up in infinite loop for IXP 425 On Tue, Feb 28, 2006 at 02:15:38AM -0800, sumanth wrote: >=0D > Hi, >=0D > we are porting ecos for ixp425 we have flashed the=0D > image as per the sugessition in the forum but we are running in the=0D > infinite loop at this point >=0D > icache_boundary:=0D > // Here is where we switch from boot address (0x000000000) to the=0D > // actual flash runtime address. We align to cache boundary so we=0D > // execute from cache during the switchover. Cachelines are 8 words.=0D > str r1, [r2, #IXP425_EXP_CNFG0] // make the EXP bus switch=0D > nop=0D > nop=0D > nop=0D > nop=0D > ----> mov pc, r0=0D > nop >=0D > where the instruction says pc value to load into r0 is at the same=0D > location and it goes into infinite loop and never stops execution > =0D > if i change the pc to ignore the=0D > step mov pc,r0 then the code is allowing single stepping but the=0D > instruction is not getting effected > =0D > can any one help out to sort this problem.=0D You probably have your memory map wrong in the linker file .mlt. What address are you linking the image to run at. Andrew The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and ma= y contain proprietary, confidential or privileged information. If you are n= ot the intended recipient, you should not disseminate, distribute or copy t= his e-mail. Please notify the sender immediately and destroy all copies of = this message and any attachments.=0D WARNING: Computer viruses can be transmitted via email. The recipient shoul= d check this email and any attachments for the presence of viruses. The com= pany accepts no liability for any damage caused by any virus transmitted by= this email. =0D www.wipro.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss