[ECOS] strucking up in infinite loop for IXP 425

sumanth.kondlada@wipro.com sumanth.kondlada@wipro.com
Fri Mar 3 04:52:00 GMT 2006

Hi Andrew

           thanks for your help Andrew

           I have changed the address from 20000 to 0 location as given
           manual as per your sugessition in .mlt and .ldi files with
           I am able to continue upto cyg_hal_plf_pci_init , I am
           at pci , I am strucked up at this call 

           HAL_PCI_CFG_WRITE_UINT32(0, 0, CYG_PCI_CFG_BAR_1,
           are there any pointers at this situation that can help me

Thanks & regards,

-----Original Message-----
From: Andrew Lunn [mailto:andrew@lunn.ch]
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:
> Hi,
>               we are porting  ecos for ixp425 we have flashed the
> image as per the sugessition in the forum but we are running in the
> infinite loop at this point
> icache_boundary:
>         // Here is where we switch from boot address (0x000000000) to
>         // actual flash runtime address. We align to cache boundary so
>         // execute from cache during the switchover. Cachelines are 8
>         str     r1, [r2, #IXP425_EXP_CNFG0]    // make the EXP bus
>         nop
>         nop
>         nop
>         nop
>    ----> mov     pc, r0
>         nop
>   where the instruction says pc value to load into r0 is at the same
> location and it goes into infinite loop and never stops execution
>                                   if i change the pc to ignore the
> step mov pc,r0 then the code is allowing single stepping but the
> instruction is not getting effected
> can any one help out to sort this problem.

You probably have your memory map wrong in the linker file .mlt.  What
address are you linking the image to run at.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.


Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list