Hi,
David, Grant thank you for providing the info.
From your reply and the other sources what I gather is as below. Please
confirm whether I am on the right track.
1) Bootloader passing BDInfo:
Here, I have to create a .dts file inside /arch/powerpc/boot/dts directory.
dtc compiles the .dts
On Sun, Nov 22, 2009 at 11:01:31PM +0100, Albert Herranz wrote:
> The following patches add the base support for the Nintendo GameCube
> and Wii video game consoles on the powerpc arch.
Cool stuff! \o/
--
Pengutronix e.K. | Wolfram Sang|
Industrial Linux
On Sat, Nov 21, 2009 at 2:20 PM, David Gibson
wrote:
> On Sun, Nov 22, 2009 at 12:16:59AM +0530, Vinayak Kale wrote:
>> 2) If uboot passes BDInfo struct to kernel instead of DT blob, then in this
>> case does kernel creates FDT at run time?
>
> Not exactly. In this case the bootwrapper will be bu
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> Add platform support for the Nintendo Wii video game console.
>
> Signed-off-by: Albert Herranz
> ---
> +static int wii_setup_hw_resets(void)
> +{
> + struct device_node *np;
> + struct resource res;
> + int error = -ENODE
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> 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 use
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> 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
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> The Nintendo Wii has two discontiguous RAM memory areas called
> MEM1 and MEM2.
> MEM1 starts at 0x and contains 24MB of 1T-SRAM.
> MEM2 starts at 0x1000 and contains 64MB of DDR2 RAM.
> Between both memory address ranges there i
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> Add platform support for the Nintendo GameCube video game console.
>
> Signed-off-by: Albert Herranz
> ---
> +static void gamecube_show_cpuinfo(struct seq_file *m)
> +{
> + seq_printf(m, "vendor\t\t: IBM\n");
> + seq_printf(m, "
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> 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: Al
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> 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 c
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> 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
> ---
> arch/powerpc/Kconfig | 2 +-
> 1 f
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> 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
This could just be rolled into the first patch that uses it. B
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
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> Add a device tree source file for the Nintendo Wii video game console.
>
> Signed-off-by: Albert Herranz
Same comments apply here as for the gamecube.dts file, plus a few more below.
Cheers,
g.
> ---
> arch/powerpc/boot/dts/wii.dts | 2
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> 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
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> Add a device tree source file for the Nintendo GameCube video game console.
>
> Signed-off-by: Albert Herranz
Mostly looks good. A few comments below. Biggest comment is you need
to add a brief blurb for every new "compatible" property v
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> 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 seria
On Sunday 22 November 2009, Albert Herranz wrote:
> 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
On Sun, Nov 22, 2009 at 3:01 PM, Albert Herranz wrote:
> The following patches add the base support for the Nintendo GameCube
> and Wii video game consoles on the powerpc arch.
w00t!
Per-patch review to follow, but this is great. Thanks!
g.
>
> For each video game console, the following is in
On Sunday 22 November 2009, Albert Herranz wrote:
> + *
> + */
> +struct mipc_device {
> + void __iomem *io_base;
> + int irq;
> +
> + struct device *dev;
> +
> + spinlock_t call_lock; /* serialize firmware calls */
> + spinlock_t io_lock; /* serialize access to io registe
On Sun, Nov 22, 2009 at 3:42 PM, Grant Likely wrote:
> On Sat, Nov 21, 2009 at 12:45 PM, Arnd Bergmann wrote:
>> On Saturday 21 November 2009, Grant Likely wrote:
>>> BTW, while looking at that file... Arnd, does the .type = "serial"
>>> stuff really need to be there?
>>
>> Well, serial is one of
On Sat, Nov 21, 2009 at 12:45 PM, Arnd Bergmann wrote:
> On Saturday 21 November 2009, Grant Likely wrote:
>> BTW, while looking at that file... Arnd, does the .type = "serial"
>> stuff really need to be there?
>
> Well, serial is one of the few that actually has some preexisting
> binding with a
On Sunday 22 November 2009, Albert Herranz wrote:
> +#ifdef CONFIG_PPC_EARLY_DEBUG_USBGECKO
> +setup_usbgecko_bat:
> + /* prepare a BAT for early io */
> + lis r8, 0x0c00
> + ori r8, r8, 0x002a /* uncached, guarded ,rw */
> + lis r11, 0xcc00
> + ori r11, r11, 0x
On Sunday 22 November 2009, Albert Herranz wrote:
> config NOT_COHERENT_CACHE
> bool
> - depends on 4xx || 8xx || E200 || PPC_MPC512x
> + depends on 4xx || 8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON
> default y
>
> config CHECK_CACHE_COHERENCY
> diff --git a/arch/
On Saturday 21 November 2009, Grant Likely wrote:
> BTW, while looking at that file... Arnd, does the .type = "serial"
> stuff really need to be there?
Well, serial is one of the few that actually has some preexisting
binding with a well defined device-type, so I guess we should use
it.
A
Add a default configuration for the Nintendo Wii video game console.
Signed-off-by: Albert Herranz
---
arch/powerpc/configs/wii_defconfig | 1406
1 files changed, 1406 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/wii_defconfig
diff
Add platform support for the Nintendo Wii video game console.
Signed-off-by: Albert Herranz
---
arch/powerpc/platforms/embedded6xx/Kconfig |8 +
arch/powerpc/platforms/embedded6xx/Makefile |1 +
arch/powerpc/platforms/embedded6xx/wii.c | 270 ++
arch/power
Add support for the BootMii 'mini' firmware replacement for the
Starlet processor.
'mini' is an open source IOS replacement written from scratch by
Team Twiizers. It grants full access to the hardware found on the
Nintendo Wii video game console via a custom IPC mechanism.
Signed-off-by: Albert H
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.
Signed-off
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
---
arch/powerpc
The Nintendo Wii has two discontiguous RAM memory areas called
MEM1 and MEM2.
MEM1 starts at 0x and contains 24MB of 1T-SRAM.
MEM2 starts at 0x1000 and contains 64MB of DDR2 RAM.
Between both memory address ranges there is an address space
where memory-mapped I/O registers are found.
C
Add a default configuration for the Nintendo GameCube video game console.
Signed-off-by: Albert Herranz
---
arch/powerpc/configs/gamecube_defconfig | 1061 +++
1 files changed, 1061 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/configs/gamecube_defcon
Add platform support for the Nintendo GameCube video game console.
Signed-off-by: Albert Herranz
---
arch/powerpc/platforms/embedded6xx/Kconfig|8 ++
arch/powerpc/platforms/embedded6xx/Makefile |1 +
arch/powerpc/platforms/embedded6xx/gamecube.c | 112 +
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
---
arch/powerpc/platforms/embedded6xx/Kconfig
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
---
arch/powe
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
---
arch/powerpc/plat
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
---
arch/powerpc/Kconfig |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/powerp
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
---
arch/powerpc/platforms/Kconfig.cputype |2 +-
arch/powerpc/platforms/embedded6xx/Kconfig |1 +
2 files changed, 2 i
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
---
arch/powerpc/platforms/embedded6xx/Kconfig |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arc
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
Add a device tree source file for the Nintendo Wii video game console.
Signed-off-by: Albert Herranz
---
arch/powerpc/boot/dts/wii.dts | 244 +
1 files changed, 244 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/wii.dts
diff --gi
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
---
arch/powerpc/boot/Makefile |4 ++-
a
Add a device tree source file for the Nintendo GameCube video game console.
Signed-off-by: Albert Herranz
---
arch/powerpc/boot/dts/gamecube.dts | 135
1 files changed, 135 insertions(+), 0 deletions(-)
create mode 100644 arch/powerpc/boot/dts/gamecube.dts
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 suppor
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
---
arch/powerpc/b
45 matches
Mail list logo