Re: [RFC PATCH v2 0/6] powerpc: nintendo wii support

2009-12-12 Thread Albert Herranz
Grant Likely wrote: On Fri, Dec 11, 2009 at 5:18 PM, Albert Herranz albert_herr...@yahoo.es wrote: Grant Likely wrote: Hi Albert. Hi, I'm ready to pick up your Gamecube and Wii patch sets for merging. You seem to have 4 distinct patch sets. What order do they need to be applied in, and

Re: [RFC PATCH v2 4/6] powerpc: wii: hollywood interrupt controller support

2009-12-12 Thread Segher Boessenkool
Add support for the dual interrupt controller included in the Hollywood chipset of the Nintendo Wii video game console. This interrupt controller serves both the Broadway processor (as a cascade) and the Starlet processor, and is used to manage interrupts for the non-classic hardware.

Re: [RFC PATCH v2 5/6] powerpc: wii: platform support

2009-12-12 Thread Segher Boessenkool
Add platform support for the Nintendo Wii video game console. Signed-off-by: Albert Herranz albert_herr...@yahoo.es Acked-by: Segher Boessenkool seg...@kernel.crashing.org ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org

[PATCH v2 00/22] powerpc: nintendo gamecube and wii support

2009-12-12 Thread Albert Herranz
The following patches add the base support for the Nintendo GameCube and Wii video game consoles on the powerpc arch. For each video game console, the following is included: - a device tree source - bootwrapper support - udbg console option - early udbg console option - interrupt controller

[PATCH v2 02/22] powerpc: gamecube: device tree

2009-12-12 Thread Albert Herranz
Add a device tree source file for the Nintendo GameCube video game console. Signed-off-by: Albert Herranz albert_herr...@yahoo.es Acked-by: Segher Boessenkool seg...@kernel.crashing.org --- .../powerpc/dts-bindings/nintendo/gamecube.txt | 109 +++

[PATCH v2 01/22] powerpc: gamecube/wii: usbgecko bootwrapper console support

2009-12-12 Thread Albert Herranz
Add support for using the USB Gecko adapter as a bootwrapper 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

[PATCH v2 03/22] powerpc: gamecube: bootwrapper bits

2009-12-12 Thread Albert Herranz
Add support for the Nintendo GameCube video game console to the powerpc bootwrapper. dtbImage.gamecube is a wrapped image that contains a flat device tree, an entry point compatible with SDload, and an optional initrd. Signed-off-by: Albert Herranz albert_herr...@yahoo.es Acked-by: Segher

[PATCH v2 04/22] powerpc: gamecube/wii: introduce GAMECUBE_COMMON

2009-12-12 Thread Albert Herranz
Add a config option GAMECUBE_COMMON to be used as a dependency for all options common to the Nintendo GameCube and Wii video game consoles. Signed-off-by: Albert Herranz albert_herr...@yahoo.es Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/powerpc/platforms/embedded6xx/Kconfig |4

[PATCH v2 05/22] powerpc: gamecube/wii: declare as non-coherent platforms

2009-12-12 Thread Albert Herranz
The processors bundled in the Nintendo GameCube and Wii video game consoles require explicit cache handling when DMA engines are used. Signed-off-by: Albert Herranz albert_herr...@yahoo.es --- arch/powerpc/platforms/Kconfig.cputype |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[PATCH v2 06/22] powerpc: gamecube/wii: do not include PCI support

2009-12-12 Thread Albert Herranz
The Nintendo GameCube and Wii video game consoles do not have PCI hardware. Avoid wasting their scarce memory by not including PCI support into the kernel. Signed-off-by: Albert Herranz albert_herr...@yahoo.es Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/powerpc/Kconfig |2 +- 1

[PATCH v2 07/22] powerpc: gamecube/wii: udbg support for usbgecko

2009-12-12 Thread Albert Herranz
Add support for using the USB Gecko adapter via the udbg facility 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

[PATCH v2 08/22] powerpc: gamecube/wii: flipper interrupt controller support

2009-12-12 Thread Albert Herranz
Add support for the interrupt controller included in the Flipper chipset of the Nintendo GameCube video game console. The same interrupt controller is also present in the Hollywood chipset of the Nintendo Wii. Signed-off-by: Albert Herranz albert_herr...@yahoo.es Acked-by: Segher Boessenkool

[PATCH v2 09/22] powerpc: gamecube: platform support

2009-12-12 Thread Albert Herranz
Add platform support for the Nintendo GameCube video game console. Signed-off-by: Albert Herranz albert_herr...@yahoo.es --- arch/powerpc/platforms/embedded6xx/Kconfig|8 ++ arch/powerpc/platforms/embedded6xx/Makefile |1 + arch/powerpc/platforms/embedded6xx/gamecube.c | 118

[PATCH v2 10/22] powerpc: gamecube: default config

2009-12-12 Thread Albert Herranz
Add a default configuration for the Nintendo GameCube video game console. Signed-off-by: Albert Herranz albert_herr...@yahoo.es --- arch/powerpc/configs/gamecube_defconfig | 1061 +++ 1 files changed, 1061 insertions(+), 0 deletions(-) create mode 100644

[PATCH v2 11/22] powerpc: wii: device tree

2009-12-12 Thread Albert Herranz
Add a device tree source file for the Nintendo Wii video game console. Signed-off-by: Albert Herranz albert_herr...@yahoo.es Acked-by: Segher Boessenkool seg...@kernel.crashing.org Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org --- .../powerpc/dts-bindings/nintendo/wii.txt |

[PATCH v2 12/22] powerpc: wii: bootwrapper bits

2009-12-12 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 albert_herr...@yahoo.es

[PATCH v2 13/22] powerpc: broadway processor support

2009-12-12 Thread Albert Herranz
This patch extends the cputable entry of the 750CL to also match the 750CL-based Broadway cpu found on the Nintendo Wii. As of this patch, the following Broadway design revision levels have been seen in the wild: - DD1.2 (87102) - DD2.0 (87200) Signed-off-by: Albert Herranz

[PATCH v2 14/22] powerpc: wii: hollywood interrupt controller support

2009-12-12 Thread Albert Herranz
Add support for the dual interrupt controller included in the Hollywood chipset of the Nintendo Wii video game console. This interrupt controller serves both the Broadway processor (as a cascade) and the Starlet processor, and is used to manage interrupts for the non-classic hardware.

[PATCH v2 15/22] powerpc: wii: platform support

2009-12-12 Thread Albert Herranz
Add platform support for the Nintendo Wii video game console. Signed-off-by: Albert Herranz albert_herr...@yahoo.es Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org Acked-by: Segher Boessenkool seg...@kernel.crashing.org --- RFC v2 - v2 - turn off blue led and ir light on boot Note

[PATCH v2 17/22] powerpc: reserve fixmap entries for early debug

2009-12-12 Thread Albert Herranz
Add a set of entries to the fixmap table to allow usage of known reserved virtual address space by early debug code. The address space reserved is the top 128K of the 32-bit address space. This allows, if required, the use of a BAT to do the mappings. Signed-off-by: Albert Herranz

[PATCH v2 16/22] powerpc: wii: default config

2009-12-12 Thread Albert Herranz
Add a default configuration for the Nintendo Wii video game console. Signed-off-by: Albert Herranz albert_herr...@yahoo.es Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org --- arch/powerpc/configs/wii_defconfig | 1406 1 files changed, 1406

[PATCH v2 18/22] powerpc: gamecube/wii: early debugging using usbgecko

2009-12-12 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

[PATCH v2 19/22] wii: bootwrapper: add fixup to calc useable mem2

2009-12-12 Thread Albert Herranz
The top portion of MEM2 (the second 64MB memory block) in the Nintendo Wii video game console is used by the firmware running on the Starlet processor. Add code to calculate the portion of MEM2 safely useable by the Broadway processor. When running under the 'mini' firmware this is easily

[PATCH v2 20/22] wii: use both mem1 and mem2 as ram

2009-12-12 Thread Albert Herranz
The Nintendo Wii video game console has two discontiguous RAM regions: - MEM1: 24MB @ 0x - MEM2: 64MB @ 0x1000 Unfortunately, the kernel currently does not support discontiguous RAM memory regions on 32-bit PowerPC platforms. This patch adds a series of workarounds to allow the use

[PATCH v2 21/22] powerpc: allow ioremap within reserved memory regions

2009-12-12 Thread Albert Herranz
Add a flag to let a platform ioremap memory regions marked as reserved. This flag will be used later by the Nintendo Wii support code to allow ioremapping the I/O region sitting between MEM1 and MEM2 and marked as reserved RAM in the patch wii: use both mem1 and mem2 as ram. This will no longer

[PATCH v2 22/22] powerpc: wii: allow ioremap within the memory hole

2009-12-12 Thread Albert Herranz
Enable the flag that allows a platform to ioremap memory marked as reserved. This is currently needed on the Nintendo Wii video game console due to the workaround introduced in wii: use both mem1 and mem2 as ram. This will no longer be needed when proper discontig memory support for 32-bit

Please pull nintendo wii/gamecube support

2009-12-12 Thread Grant Likely
Hi Ben, I've picked up the Nintendo Gamecube Wii support patch series and compile tested it. Looks all good to me. Please pull. Cheers, g. The following changes since commit 22763c5cf3690a681551162c15d34d935308c8d7: Linus Torvalds (1): Linux 2.6.32 are available in the git