Re: [RFC PATCH v2 08/11] powerpc: gamecube/wii: early debugging using usbgecko

2009-11-29 Thread Benjamin Herrenschmidt
On Mon, 2009-11-30 at 07:28 +0100, Albert Herranz wrote: > > > Heh, I was told to identity map it :) Hah ? By whome ? :-) > Originally it used kernel address space ( > 0xc{c,d}006800). In any case, kernel space also needs to be reserved. There is no magic free spot in the kernel virtual space

Re: [RFC PATCH v2 08/11] powerpc: gamecube/wii: early debugging using usbgecko

2009-11-29 Thread Albert Herranz
Benjamin Herrenschmidt wrote: > On Mon, 2009-11-30 at 06:50 +0100, Albert Herranz wrote: >> Benjamin Herrenschmidt wrote: >>> On Sat, 2009-11-28 at 21:43 +0100, Albert Herranz wrote: +* Prepare again the same BAT for MMU_init. +* This allows udbg I/O to continue working af

Re: [RFC PATCH v2 08/11] powerpc: gamecube/wii: early debugging using usbgecko

2009-11-29 Thread Albert Herranz
Albert Herranz wrote: > Benjamin Herrenschmidt wrote: >> On Sat, 2009-11-28 at 21:43 +0100, Albert Herranz wrote: >>> +* Prepare again the same BAT for MMU_init. >>> +* This allows udbg I/O to continue working after the MMU is >>> +* turned on for real. >>> +* >>> +

Re: [RFC PATCH v2 08/11] powerpc: gamecube/wii: early debugging using usbgecko

2009-11-29 Thread Benjamin Herrenschmidt
On Mon, 2009-11-30 at 06:50 +0100, Albert Herranz wrote: > Benjamin Herrenschmidt wrote: > > On Sat, 2009-11-28 at 21:43 +0100, Albert Herranz wrote: > >> +* Prepare again the same BAT for MMU_init. > >> +* This allows udbg I/O to continue working after the MMU is > >> +* tu

Re: [RFC PATCH v2 08/11] powerpc: gamecube/wii: early debugging using usbgecko

2009-11-29 Thread Albert Herranz
Benjamin Herrenschmidt wrote: > On Sat, 2009-11-28 at 21:43 +0100, Albert Herranz wrote: >> +* Prepare again the same BAT for MMU_init. >> +* This allows udbg I/O to continue working after the MMU is >> +* turned on for real. >> +* >> +* We are assuming here

Re: [RFC PATCH v2 08/11] powerpc: gamecube/wii: early debugging using usbgecko

2009-11-29 Thread Benjamin Herrenschmidt
On Sat, 2009-11-28 at 21:43 +0100, Albert Herranz wrote: > +* Prepare again the same BAT for MMU_init. > +* This allows udbg I/O to continue working after the MMU is > +* turned on for real. > +* > +* We are assuming here that exi_io_base is identity mapped.

[RFC PATCH v2 08/11] powerpc: gamecube/wii: early debugging using usbgecko

2009-11-28 Thread Albert Herranz
Add support for using the USB Gecko adapter as an early debugging console on the Nintendo GameCube and Wii video game consoles. The USB Gecko is a 3rd party memory card interface adapter that provides a EXI (External Interface) to USB serial converter. Signed-off-by: Albert Herranz --- v1 -> v2 -