powerpc: Nintendo Wii U support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest11 patches 4 repliesIn review
- v312 patches 6 repliesSuperseded
- v212 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 12 patches | 22 replies | Superseded |
Changes in v4 from the cover letter
- Reworked devicetree bindings - thanks Krzysztof Kozlowski for the review.
- Update devicetree source to match.
- Fixes to ensure patches apply to current source.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | dt-bindings: wiiu: Document the Nintendo Wii U devicetreeDocumentation/ Documentation/ Documentation/ +6 more | +333 | 4 replies | |
| 2/11 | powerpc: wiiu: device treearch/ | +319 | 0 replies | |
| 3/11 | powerpc: wiiu: bootwrapper supportarch/ arch/ arch/ +1 more | +184 | 0 replies | |
| 4/11 | powerpc: wiiu: introduce wiiu platformarch/ arch/ arch/ +1 more | +11 | 0 replies | |
| 5/11 | powerpc: wiiu: declare as non-coherentarch/ | +1 | 0 replies | |
| 6/11 | powerpc: wiiu: udbg support for latteipcarch/ arch/ arch/ +5 more | +201 | 0 replies | |
| 7/11 | powerpc: wiiu: espresso interrupt controller supportarch/ arch/ arch/ | +243 | 0 replies | |
| 8/11 | powerpc: wiiu: latte interrupt controller supportarch/ arch/ arch/ +1 more | +284 | 0 replies | |
| 9/11 | powerpc: espresso processor supportarch/ | +15 | 0 replies | |
| 10/11 | powerpc: wiiu: platform supportarch/ arch/ | +61 | 0 replies | |
| 11/11 | powerpc: wiiu: add minimal default configarch/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 00/11] powerpc: Nintendo Wii U support
The following patches add basic support for the Nintendo Wii U video game console, a PowerPC system somewhat similar to the GameCube and Wii.
This includes:
- devicetree source
- bootwrapper support
- udbg console to bootloader
- early udbg console
- interrupt controllers
- platform support
- recognition of the Espresso processor
This is enough to boot on hardware. dmesg pics (with a small hack to udbg-immortal, not included):
For those who have hardware and would like to try these patches, some modification is required to the stock OS to allow Linux. For info:
https://wiki.linux-wiiu.org/wiki/AdvancedSetup
Some of the design choices (new platform > embedded6xx) were discussed previously:
Turns out even less changes were needed than previously anticipated for discontiguous memory, and KUAP is yet to give trouble. Thanks to those who helped and discussed this.
Changes since v3:
- Reworked devicetree bindings - thanks Krzysztof Kozlowski for the review.
- Update devicetree source to match.
- Fixes to ensure patches apply to current source.
Changes since v2:
- Fixed some overzealous deleting in the devicetree, oops.
- Fixed missing declarations for some functions (thanks robots)
- Fixed some checkpatch warnings.
- Mark latte as a simple-bus and use of_platform_default_populate.
Changes since v1:
- Style and formatting tweaks to the devicetree, thanks Rob Herring for the review.
Ash Logan (11):
dt-bindings: wiiu: Document the Nintendo Wii U devicetree
powerpc: wiiu: device tree
powerpc: wiiu: bootwrapper support
powerpc: wiiu: introduce wiiu platform
powerpc: wiiu: declare as non-coherent
powerpc: wiiu: udbg support for latteipc
powerpc: wiiu: espresso interrupt controller support
powerpc: wiiu: latte interrupt controller support
powerpc: espresso processor support
powerpc: wiiu: platform support
powerpc: wiiu: add minimal default config
.../bindings/powerpc/nintendo/wiiu.yaml | 25 ++ .../powerpc/nintendo/wiiu/espresso-pic.yaml | 48 +++ .../bindings/powerpc/nintendo/wiiu/gpu7.yaml | 42 +++ .../powerpc/nintendo/wiiu/latte-ahci.yaml | 50 +++ .../powerpc/nintendo/wiiu/latte-dsp.yaml | 35 ++ .../powerpc/nintendo/wiiu/latte-pic.yaml | 55 +++ .../powerpc/nintendo/wiiu/latte-sdhci.yaml | 46 +++ .../bindings/powerpc/nintendo/wiiu/latte.yaml | 31 ++ .../devicetree/bindings/usb/generic-ehci.yaml | 1 + arch/powerpc/Kconfig.debug | 9 + arch/powerpc/boot/Makefile | 4 + arch/powerpc/boot/dts/wiiu.dts | 319 ++++++++++++++++++ arch/powerpc/boot/wiiu-head.S | 103 ++++++ arch/powerpc/boot/wiiu.c | 73 ++++ arch/powerpc/boot/wrapper | 4 + arch/powerpc/configs/wiiu_defconfig | 7 + arch/powerpc/include/asm/udbg.h | 1 + arch/powerpc/kernel/cpu_specs_book3s_32.h | 15 + arch/powerpc/kernel/head_book3s_32.S | 20 ++ arch/powerpc/kernel/udbg.c | 3 + arch/powerpc/platforms/Kconfig | 1 + arch/powerpc/platforms/Kconfig.cputype | 2 +- arch/powerpc/platforms/Makefile | 1 + arch/powerpc/platforms/wiiu/Kconfig | 22 ++ arch/powerpc/platforms/wiiu/Makefile | 4 + arch/powerpc/platforms/wiiu/espresso-pic.c | 183 ++++++++++ arch/powerpc/platforms/wiiu/espresso-pic.h | 59 ++++ arch/powerpc/platforms/wiiu/latte-pic.c | 259 ++++++++++++++ arch/powerpc/platforms/wiiu/latte-pic.h | 23 ++ arch/powerpc/platforms/wiiu/setup.c | 60 ++++ arch/powerpc/platforms/wiiu/udbg_latteipc.c | 126 +++++++ arch/powerpc/platforms/wiiu/udbg_latteipc.h | 27 ++ 32 files changed, 1657 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/powerpc/nintendo/wiiu.yaml create mode 100644 Documentation/devicetree/bindings/powerpc/nintendo/wiiu/espresso-pic.yaml create mode 100644 Documentation/devicetree/bindings/powerpc/nintendo/wiiu/gpu7.yaml create mode 100644 Documentation/devicetree/bindings/powerpc/nintendo/wiiu/latte-ahci.yaml create mode 100644 Documentation/devicetree/bindings/powerpc/nintendo/wiiu/latte-dsp.yaml create mode 100644 Documentation/devicetree/bindings/powerpc/nintendo/wiiu/latte-pic.yaml create mode 100644 Documentation/devicetree/bindings/powerpc/nintendo/wiiu/latte-sdhci.yaml create mode 100644 Documentation/devicetree/bindings/powerpc/nintendo/wiiu/latte.yaml create mode 100644 arch/powerpc/boot/dts/wiiu.dts create mode 100644 arch/powerpc/boot/wiiu-head.S create mode 100644 arch/powerpc/boot/wiiu.c create mode 100644 arch/powerpc/configs/wiiu_defconfig create mode 100644 arch/powerpc/platforms/wiiu/Kconfig create mode 100644 arch/powerpc/platforms/wiiu/Makefile create mode 100644 arch/powerpc/platforms/wiiu/espresso-pic.c create mode 100644 arch/powerpc/platforms/wiiu/espresso-pic.h create mode 100644 arch/powerpc/platforms/wiiu/latte-pic.c create mode 100644 arch/powerpc/platforms/wiiu/latte-pic.h create mode 100644 arch/powerpc/platforms/wiiu/setup.c create mode 100644 arch/powerpc/platforms/wiiu/udbg_latteipc.c create mode 100644 arch/powerpc/platforms/wiiu/udbg_latteipc.h
base-commit: 094226ad94f471a9f19e8f8e7140a09c2625abaa
Signature · 1 line
2.38.1