Re: [RFC PATCH v2 0/6] powerpc: nintendo wii support
Grant Likely wrote: > On Fri, Dec 11, 2009 at 5:18 PM, Albert Herranz > 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 what kernel version are they based on? >>> >> The patches were based on 2.6.32-rc8. >> The apply order should be: >> >> v2 powerpc: nintendo gamecube support >> powerpc: gamecube/wii: usbgecko bootwrapper console support >> powerpc: gamecube: device tree >> powerpc: gamecube: bootwrapper bits >> powerpc: gamecube/wii: introduce GAMECUBE_COMMON >> powerpc: gamecube/wii: declare as non-coherent platforms >> powerpc: gamecube/wii: do not include PCI support >> powerpc: gamecube/wii: udbg support for usbgecko >> powerpc: gamecube/wii: flipper interrupt controller support >> powerpc: gamecube: platform support >> powerpc: gamecube: default config >> >> v2 powerpc: nintendo wii support >> powerpc: wii: device tree >> powerpc: wii: bootwrapper bits >> powerpc: broadway processor support >> powerpc: wii: hollywood interrupt controller support >> powerpc: wii: platform support >> powerpc: wii: default config >> >> v4 rework of usbgecko-based early debug >> powerpc: reserve fixmap entries for early debug >> powerpc: gamecube/wii: early debugging using usbgecko >> >> v2 powerpc: wii: mem2 as ram support >> wii: bootwrapper: add fixup to calc useable mem2 >> wii: use both mem1 and mem2 as ram >> powerpc: allow ioremap within reserved memory regions >> powerpc: wii: allow ioremap within the memory hole >> >> But if you prefer it, I can re-send them as one patch set again rebased on >> top of v2.6.32. > > Hmmm.. Looks like there are some inconsistencies in here. For > example, the 7th patch of the first series, and the 2nd patch of the > 3rd series are different version of the same thing. The whole thing > doesn't apply as is. Reposting the current state of the whole series > would help. Add any acked-by lines that you've received from Ben, > Segher, or anybody else before you repost so I can see the full > current state. > The 7th patch of the first series is "normal" udbg support. The 2nd patch of the third series is "early" udbg support. I'll repost the whole series later adding the Acked-by lines. I'll send them as PATCH v2 (not RFC PATCH). I'll add a minor correction for "powerpc: gamecube/wii: early debugging using usbgecko" suggested by Segher (use Vp=0 instead of Vp=1 in the early mapping). And code to "powerpc: wii: platform support" to turn off the front blue led and sensor bar on boot. > Thanks > g. > Thanks, Albert ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [RFC PATCH v2 0/6] powerpc: nintendo wii support
On Fri, Dec 11, 2009 at 5:18 PM, Albert Herranz 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 what kernel version are they based on? >> > > The patches were based on 2.6.32-rc8. > The apply order should be: > > v2 powerpc: nintendo gamecube support > powerpc: gamecube/wii: usbgecko bootwrapper console support > powerpc: gamecube: device tree > powerpc: gamecube: bootwrapper bits > powerpc: gamecube/wii: introduce GAMECUBE_COMMON > powerpc: gamecube/wii: declare as non-coherent platforms > powerpc: gamecube/wii: do not include PCI support > powerpc: gamecube/wii: udbg support for usbgecko > powerpc: gamecube/wii: flipper interrupt controller support > powerpc: gamecube: platform support > powerpc: gamecube: default config > > v2 powerpc: nintendo wii support > powerpc: wii: device tree > powerpc: wii: bootwrapper bits > powerpc: broadway processor support > powerpc: wii: hollywood interrupt controller support > powerpc: wii: platform support > powerpc: wii: default config > > v4 rework of usbgecko-based early debug > powerpc: reserve fixmap entries for early debug > powerpc: gamecube/wii: early debugging using usbgecko > > v2 powerpc: wii: mem2 as ram support > wii: bootwrapper: add fixup to calc useable mem2 > wii: use both mem1 and mem2 as ram > powerpc: allow ioremap within reserved memory regions > powerpc: wii: allow ioremap within the memory hole > > But if you prefer it, I can re-send them as one patch set again rebased on > top of v2.6.32. Hmmm.. Looks like there are some inconsistencies in here. For example, the 7th patch of the first series, and the 2nd patch of the 3rd series are different version of the same thing. The whole thing doesn't apply as is. Reposting the current state of the whole series would help. Add any acked-by lines that you've received from Ben, Segher, or anybody else before you repost so I can see the full current state. Thanks g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [RFC PATCH v2 0/6] powerpc: nintendo wii support
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 what kernel version are they based on? > The patches were based on 2.6.32-rc8. The apply order should be: v2 powerpc: nintendo gamecube support powerpc: gamecube/wii: usbgecko bootwrapper console support powerpc: gamecube: device tree powerpc: gamecube: bootwrapper bits powerpc: gamecube/wii: introduce GAMECUBE_COMMON powerpc: gamecube/wii: declare as non-coherent platforms powerpc: gamecube/wii: do not include PCI support powerpc: gamecube/wii: udbg support for usbgecko powerpc: gamecube/wii: flipper interrupt controller support powerpc: gamecube: platform support powerpc: gamecube: default config v2 powerpc: nintendo wii support powerpc: wii: device tree powerpc: wii: bootwrapper bits powerpc: broadway processor support powerpc: wii: hollywood interrupt controller support powerpc: wii: platform support powerpc: wii: default config v4 rework of usbgecko-based early debug powerpc: reserve fixmap entries for early debug powerpc: gamecube/wii: early debugging using usbgecko v2 powerpc: wii: mem2 as ram support wii: bootwrapper: add fixup to calc useable mem2 wii: use both mem1 and mem2 as ram powerpc: allow ioremap within reserved memory regions powerpc: wii: allow ioremap within the memory hole But if you prefer it, I can re-send them as one patch set again rebased on top of v2.6.32. > Thanks, > g. Thanks, Albert ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [RFC PATCH v2 0/6] powerpc: nintendo wii support
Hi Albert. 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 what kernel version are they based on? Thanks, g. On Thu, Dec 3, 2009 at 3:47 PM, Albert Herranz wrote: > The following patches add the base support for the Nintendo Wii > video game console on the powerpc arch. > > The following is included: > - a device tree source > - bootwrapper support > - recognition of the Broadway processor > - native interrupt controller support > - platform support > - default configuration > > With these patches the video game console can fully boot up to the > root filesystem mount phase. > > Note that at this stage the video game console will _only_ use the > first contiguous memory range (MEM1, 24MB) as RAM. > Changes needed to support the second memory range (MEM2, 64MB) will > be posted separately to simplify the review and possible merging. > > Albert Herranz (6): > powerpc: wii: device tree > powerpc: wii: bootwrapper bits > powerpc: broadway processor support > powerpc: wii: hollywood interrupt controller support > powerpc: wii: platform support > powerpc: wii: default config > > .../powerpc/dts-bindings/nintendo/wii.txt | 184 +++ > arch/powerpc/boot/Makefile | 3 +- > arch/powerpc/boot/dts/wii.dts | 218 +++ > arch/powerpc/boot/wii-head.S | 142 ++ > arch/powerpc/boot/wii.c | 46 + > arch/powerpc/boot/wrapper | 2 +- > arch/powerpc/configs/wii_defconfig | 1406 > > arch/powerpc/kernel/cputable.c | 6 +- > arch/powerpc/platforms/embedded6xx/Kconfig | 8 + > arch/powerpc/platforms/embedded6xx/Makefile | 1 + > arch/powerpc/platforms/embedded6xx/hlwd-pic.c | 241 > arch/powerpc/platforms/embedded6xx/hlwd-pic.h | 22 + > arch/powerpc/platforms/embedded6xx/wii.c | 195 +++ > 13 files changed, 2469 insertions(+), 5 deletions(-) > create mode 100644 Documentation/powerpc/dts-bindings/nintendo/wii.txt > create mode 100644 arch/powerpc/boot/dts/wii.dts > create mode 100644 arch/powerpc/boot/wii-head.S > create mode 100644 arch/powerpc/boot/wii.c > create mode 100644 arch/powerpc/configs/wii_defconfig > create mode 100644 arch/powerpc/platforms/embedded6xx/hlwd-pic.c > create mode 100644 arch/powerpc/platforms/embedded6xx/hlwd-pic.h > create mode 100644 arch/powerpc/platforms/embedded6xx/wii.c > > ___ > Linuxppc-dev mailing list > Linuxppc-dev@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/linuxppc-dev > -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev