This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
ixp425 bsp porting...exception at hal_xscale_core_init
- From: <vijay dot peshkar at wipro dot com>
- To: <ecos-discuss at ecos dot sourceware dot org>
- Cc: <vijay dot peshkar at wipro dot com>
- Date: Mon, 13 Feb 2006 16:41:27 +0530
- Subject: [ECOS] ixp425 bsp porting...exception at hal_xscale_core_init
Hi All,
As part of my initial checking of my new ixp425 based board,
am downloading a redboot.img built for GRG and am stepping thru it.
All goes fine till in hal_xscale_core_init an exception
Occurs on line 4. "mcr p15,0,r0,c14,c4,0\n" // dbcon
Am suspecting if my multi-ice debugger is the culprit stopping
the coprocessor configuration. Any pointers?.
Also, any material on the co-processor programming in ixp?.
Below is the code clipping referred above.
hal_xscale_core_init(void)
{
// Initialize debug control unit to sane state
asm volatile ("mov r0,#0\n"
"mcr p15,0,r0,c14,c8,0\n" // ibcr0
"mcr p15,0,r0,c14,c9,0\n" // ibcr1
"mcr p15,0,r0,c14,c4,0\n" // dbcon
"mov r0,#0x80000000\n"
"mcr p14,0,r0,c10,c0,0\n" // dcsr
: /* no outputs */
: /* no inputs */
: "r0" );
}
Regards,
Vijay
?
?
------------------------
Vijay Kumar .P
Wipro Technologies,
Tel: 30295119
------------------------
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.
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