[U-Boot-Users] machine check interrupt on AdderII ( MPC852T )

Raghu raghu_dk at yahoo.com
Wed Aug 6 05:31:17 CEST 2003


Hi,

I am getting this "Machine Check Interrupt" at one
Instruction. But using BDI if I proceed using "go"
command, it goes ahead fine. 

The instruction I am getting this is at "0xfe0024fc"
*****************************************************
BDI>go 0xfe000100
- TARGET: target has entered debug mode
BDI>i
    Target state      : debug mode
    Debug entry cause : machine check interrupt
    Current PC        : 0xfe002500
    Data  address     : 0x00000000
    DSISR value       : 0x080a0000
BDI>    

***************************************************
The equivalent assembly listing is as below, from 
function "cpu_init_f" in file "cpu/mpc8xx/cpu_init.c"
----------------------------------------------------
#if (defined(CFG_OR1_PRELIM) &&
defined(CFG_BR1_PRELIM))
        memctl->memc_or1 = CFG_OR1_PRELIM;
fe0024e0:       3d 60 ff 80     lis     r11,-128
fe0024e4:       61 08 00 01     ori     r8,r8,1
fe0024e8:       91 03 01 00     stw     r8,256(r3)
fe0024ec:       94 21 ff e8     stwu    r1,-24(r1)
fe0024f0:       61 6b 0e 00     ori     r11,r11,3584
fe0024f4:       91 49 00 04     stw     r10,4(r9)
fe0024f8:       90 03 01 00     stw     r0,256(r3)
        memctl->memc_br1 = CFG_BR1_PRELIM;
fe0024fc:       38 00 00 81     li      r0,129
fe002500:       91 49 00 04     stw     r10,4(r9)
fe002504:       91 69 00 0c     stw     r11,12(r9)
fe002508:       90 09 00 08     stw     r0,8(r9)
#endif
---------------------------------------------------

warm Regards
Raghu.




__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




More information about the U-Boot mailing list