[U-Boot] U-Boot Crashes with Dumps

Stefan Roese sr at denx.de
Mon Jan 18 09:00:22 CET 2010


On Saturday 16 January 2010 10:48:21 anup behare wrote:
> Thanks Stenfan for your valuable inputs.
> 
> I have implemented the code suggested by you after completing the ddr
> initialization :
> 
> #if defined(CONFIG_DDR_DATA_EYE)
>                /*
>                 * Running denali_core_search_data_eye() when ECC is enabled
>                 * causes non-ECC machine checks.  This clears them.
>                 */
>                print_mcsr();
>                mtspr(SPRN_MCSR, mfspr(SPRN_MCSR));
>                print_mcsr();
> #endif
> 
> before mtspr and after mtspr i am getting the same prints i.e EE,ME,CE
> disabled.

Please note that I am not referring to MSR, but to the MCSR register here. Not 
all PPC4xx variants have this register implemented. But most 44x ones should 
(SPR 0x23c).
 
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list