Re: [RFC PATCH 05/19] powerpc: wii: bootwrapper bits

2009-11-24 Thread Segher Boessenkool
+ * We enter with an unknown cache, high BATs and MMU status. What does this mean? You know the low four BATs on entry and nothing else? That means that we do not make assumptions regarding: - the state of the cache (enabled vs disabled) - if the high BATs are enabled or not - if the MMU is

Re: [RFC PATCH 05/19] powerpc: wii: bootwrapper bits

2009-11-24 Thread Albert Herranz
Segher Boessenkool wrote: >> + * We enter with an unknown cache, high BATs and MMU status. > > What does this mean? You know the low four BATs on entry and > nothing else? > That means that we do not make assumptions regarding: - the state of the cache (enabled vs disabled) - if the high BATs a

Re: [RFC PATCH 05/19] powerpc: wii: bootwrapper bits

2009-11-23 Thread Segher Boessenkool
+ * We enter with an unknown cache, high BATs and MMU status. What does this mean? You know the low four BATs on entry and nothing else? +asm ("\n\ Global asm() is evil. + mfmsr 9\n\ + andi. 0, 9, (1<<4)|(1<<5) /* MSR_DR|MSR_IR */\n\ + andc9, 9, 0\n\ mfmsr 9

Re: [RFC PATCH 05/19] powerpc: wii: bootwrapper bits

2009-11-22 Thread Grant Likely
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote: > Add support for the Nintendo Wii video game console to the powerpc > bootwrapper. > > dtbImage.wii is a wrapped image that contains a flat device tree, > an entry point compatible with the Homebrew Channel and BootMii, > and an optional init

[RFC PATCH 05/19] powerpc: wii: bootwrapper bits

2009-11-22 Thread Albert Herranz
Add support for the Nintendo Wii video game console to the powerpc bootwrapper. dtbImage.wii is a wrapped image that contains a flat device tree, an entry point compatible with the Homebrew Channel and BootMii, and an optional initrd. Signed-off-by: Albert Herranz --- arch/powerpc/boot/Makefile