Skip to content

WIP UEFI EDK2 Implementation for Nintendo Switch or generic Tegra210 platforms

License

Notifications You must be signed in to change notification settings

imbushuo/NintendoSwitchPkg

Repository files navigation

EDK2 Implementation for Nintendo Switch (Tegra210)

Status

Capable to boot something from SD card. If you have a Linux kernel with EFI stub support, supply the device tree for any Tegra210 device (not limited to Nintendo Switch) should boot.

ACPI also boots Windows and Linux, but limited devices are provided (only CPU at this moment).

Device Support

  • CPU services: GIC and Arch Timer.
  • Clocks (reset, PLL, etc.)
  • Power Management (PMC, PMIC & regulators, etc.)
  • GPIO and Pin Multiplexor.
  • MicroSD (should support SDSC, HC. XC probed and have partition table shown, but not intensively tested). eMMC support will be added soon.
  • Screen and FrameBuffer (need special Coreboot)
  • Side-band buttons, not yet registered as EFI Input Device.
  • UART (Right Joy Con, 115200, 8n1)

Windows Kernel Debugger Enablement

bcdedit /store E:\EFI\Microsoft\Boot\BCD /set {default} debug on
bcdedit /store E:\EFI\Microsoft\Boot\BCD /dbgsettings serial debugport:1 baudrate:115200

Plug in connector on the right-side Joy Con and connect to PC. Use WinDbg serial connection and it should work.

Planned / In-Progress

  • EHCI USB host
  • eMMC
  • Sideband buttons as input device
  • Joy-Con (maybe not. Need high speed serial)

Building

See Lumia950XLPkg. Almost identical!

About

WIP UEFI EDK2 Implementation for Nintendo Switch or generic Tegra210 platforms

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published