Skip to contentSkip to conversation

MSR__EE flag cause problem

DISCUSSION Liu Fred-a18596 2 participants 2 messages Dec 7, 2002

lore
Share & tools
lore
#0 lore raw

Hi, Greetings,

I am porting PPCBoot-1.1.5 to a PPC852 board. When PPCboot executes this statement

       set_msr(get_msr() | MSR_EE);

in "interrupt_init()" which located at "cpu/mpc8xx/interrupts.c", the console will display random characters.
But if I get rid of MSR_EE, that is "set_msr(get_msr());", then PPCBoot will go on and display prompt.

I am a newbie for 8xx. What should I do?

BR,
Fred

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Dear Fred,

Quoted 3 lines · in message <[email protected]> you wrote:

I am porting PPCBoot-1.1.5 to a PPC852 board. When PPCboot executes this statement

This is probably not a wise decision. PPCBoot 1.1.5 is very, very old. I strongly recommend to use a more current version - more precisely, don't use any version of PPCBoot at all for current work. The PPCBoot development has been stopped. The project is continued under the new name "U-Boot" (Universal Boot Loader) and now supports PowerPC, ARM, and x86 (and probably soon MIPS).

Quoted 1 line

I am a newbie for 8xx. What should I do?

Start with the following actions:

Subscribe to the u-boot-users mailing list.
Use a current version of the source code.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected]
"Free markets select for winning solutions." - Eric S. Raymond

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/