Wii U Linux

Discussion in 'Wii U - Homebrew' started by pwsincd, Feb 3, 2018.

  1. CompuCat

    CompuCat Advanced Member

    Newcomer
    3
    Sep 16, 2017
    United States
    Hey all! About 5:30-5:45ish CST, I'll be live again! (Like always, we may or may not be playing a bit of MK8 beforehand-join early for a bit of fun!)

    You can find the stream here: tinyurl.com/CompuCatStream
     
    Gunstorm, I pwned U! and lordelan like this.
  2. CompuCat

    CompuCat Advanced Member

    Newcomer
    3
    Sep 16, 2017
    United States
    Hey all, minor snag. It seems Debian Sid, our primary distribution, is no longer hosting PowerPC packages; these were the packages being used to create and maintain Debian installations on linux-wiiu. Expect apt-get, etc. to be broken. We're considering potential solutions right now. (This is also making development quite difficult; our existing systems are fine, but we can't spin up any new Debian PPC systems except old releases of Debian Jessie.)

    Sorry we don't have more good news.

    -the linux-wiiu dev team
     
  3. uyjulian

    uyjulian Homebrewer

    Member
    7
    Nov 26, 2012
    United States
    United States
    Is this useful? https://snapshot.debian.org/

    It's quite annoying when packages are deleted. I was trying to find non-free packages for an old HP thin client based on the Marvell Dove platform, but the only ones on the Ubuntu archive are for free software.
     
    Last edited by uyjulian, Jul 15, 2018
    Lyrin likes this.
  4. KitsumiTheFox

    KitsumiTheFox Advanced Member

    Newcomer
    2
    Jan 9, 2016
    United States
  5. uyjulian

    uyjulian Homebrewer

    Member
    7
    Nov 26, 2012
    United States
    United States
    daxtsu likes this.
  6. CompuCat

    CompuCat Advanced Member

    Newcomer
    3
    Sep 16, 2017
    United States
    Hmm, I'll check out those links soon. Probably won't be until next week, I have poor internet access right now. The repo Kitsumi linked seems like it might have some packages; maybe Debian just moved the packages there? Will investigate later.
     
    I pwned U! and lordelan like this.
  7. CompuCat

    CompuCat Advanced Member

    Newcomer
    3
    Sep 16, 2017
    United States
    Confirming my suspicions, Debian dropped PowerPC support from Sid in August 2017. We got lucky the first time actually-many mirrors just held onto the packages for a while, but now we're starting to lose most of them.

    Again, Quark and I are working on some solutions. For the intrepid, I haven't tested this, but julialy's suggestion of using snapshot.debian.org should work to keep apt running and all. You'll just need to update your sources.list. (I'll test once I'm back in my workspace this coming week with stable Internet access.) YMMV.
     
    uyjulian, Coto, WiisleyU and 3 others like this.
  8. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    10
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    Hey everyone! I'm here with some quick updates with what we've found out and what you can do. Thanks to the help of several people here, on Twitter, and other methods, we've been able to come up with a few solutions for you guys.

    So, here's the stich. In August 2017, Debian officially dropped PowerPC support. We were lucky though, since the unstable/sid packages kept being updated anyway and stayed on the mirrors. However, the time finally came sometime in the past month, and we noticed the packages had vanished and installations had started failing. While we initially thought this was the end of the road for Debian on linux-wiiu, it turns out something much simpler happened - debian moved their powerpc packages onto ports.debian.org, where it now shares a home with architectures like alpha, sparc, sh4 and m68k as an "unofficial port". If you point your Wii U at this new location, you can keep using Debian like you always have.

    Don't do that too quickly, though - I'd also like to announce a new distribution available for linux-wiiu! If you're sick of Debian or you can't get it to work quite right, you can now use Lubuntu 16.04! This version of Lubuntu is much more user friendly than our old Debian image - coming with a fully working X server, desktop environment and internet connection wizard right out of the box. I've also worked hard on the images, and I hope installing will be much easier this time - we'll get to how you can install this in just a bit.

    So, that's your options. You can keep using Debian or switch to Lubuntu. Let's go over how you can do each one:

    Keeping Debian
    Warning: Spoilers inside!

    Installing Lubuntu
    Warning: Spoilers inside!
     
    Last edited by QuarkTheAwesome, Jul 26, 2018
    Lyrin, I pwned U!, Gunstorm and 11 others like this.
  9. Coto

    Coto

    Member
    6
    Jun 4, 2010
    Chile
    Keep up the good work !
     
  10. KitsumiTheFox

    KitsumiTheFox Advanced Member

    Newcomer
    2
    Jan 9, 2016
    United States
    Thanks Quark! It kinda sucks that Debian dropped PowerPC support though...
     
  11. lordelan

    lordelan GBAtemp Addict

    Member
    9
    Jan 4, 2015
    Germany
    That's some effort, Quark. Thanks! :)
     
  12. HunterNate99

    HunterNate99 Member

    Newcomer
    1
    Sep 6, 2016
    United States
    I Haven't Actually used Linux on The Wii U Yet But I'm Curious have they implemented WiFi Yet with Lubuntu?
     
  13. HunterNate99

    HunterNate99 Member

    Newcomer
    1
    Sep 6, 2016
    United States
    I Haven't Actually used Linux on The Wii U Yet But I'm Curious have they implemented WiFi Yet with Lubuntu?

    — Posts automatically merged - Please don't double post! —

    Sorry about that I didn't realize I posted twice is there anyway to delete it?
     
    Gunstorm likes this.
  14. CompuCat

    CompuCat Advanced Member

    Newcomer
    3
    Sep 16, 2017
    United States
    We haven't implemented the onboard Wi-Fi chipset yet; we're still sorting out some SDIO driver issues. With a bit of kernel adjustment, we should be able to get USB Wi-Fi working easily enough.
     
    ry755, I pwned U!, Gunstorm and 3 others like this.
  15. HunterNate99

    HunterNate99 Member

    Newcomer
    1
    Sep 6, 2016
    United States
    Okay Thanks.
     
  16. Coto

    Coto

    Member
    6
    Jun 4, 2010
    Chile
    Would be great if you could document your issues you are finding so far. I want to port some DSi WIFI drivers, but I think I got my hacked DSi 2 days ago and fully busy now. But anything a devops could document (at least issues, timeouts, or basic SDIO init handshake) would be of help.
     
    I pwned U! and Gunstorm like this.
  17. CompuCat

    CompuCat Advanced Member

    Newcomer
    3
    Sep 16, 2017
    United States
    I'll bug rw about that when I get a chance. Not sure how helpful it'll be though; DSi and WiiU are completely different beasts.
     
    Coto likes this.
  18. Coto

    Coto

    Member
    6
    Jun 4, 2010
    Chile
    Entirely different. But since ninty does weird setups as conecting AHB master to SDIO ports, there's some handshake (something like a sync / send to coprocessor command, that's bypassed as a pseudo prefetch abort [the ARM cores have "levels" of exceptions, and if the opcode falls back to coprocessor out, the abort signal is cancelled]) that must be common in there so it allows to send data between cpu -> wifi (albeit that bus controller should be hidden). Also the DRH-WUP 811309G31 seems to use USB or SDIO to access onboard bluetooth, the BCM43362KUB6 802.11n and the BCM43237KMLG.

    I remember reading the whole open source Atheros AR600x (ath6kl) and it consisted of a binary that ran inside the card, and a client running in the host OS (so commands would go through the SDIO bus):

    https://wireless.wiki.kernel.org/en/users/drivers/ath6kl

    and

    https://github.com/digidotcom/atheros/tree/master/compat-wireless

    (ath6kl)

    Well, i woudn't be impressed if ninty came up with a similar setup for WiiU wireless. Would be interesting to see a resemblance in there
     
    Last edited by Coto, Aug 4, 2018
  19. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    10
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    Honestly, we really have no idea how it works. There's a set of sdhci regs that wiiubrew claims is the SDIO link to the 2.4GHz wireless controller (a BCM43362), but you point Linux to it and it'll send command after command, always "timing out" (remarkably fast for a timeout). If any of its commands actually did anything we might be able to try the native Linux drivers, which should - at least in theory - work fine. As it is now though, it won't even detect the card on the other end, let alone communicate with it. It's really weird - the controller claims to be in more or less the same state as the one for the SD card slot, and yet it doesn't want to work.
    On a vaguely related note, I do remember reading that Nintendo uses a custom firmware for the BCM43237 (seems to be a custom chip anyway) to make the DRC work. I'd imagine this is part of the reason the Gamepad works fine even when we're running a fully custom OS (linux-wiiu) - kinda similar to that Atheros chipset.
     
    I pwned U!, uyjulian and Lyrin like this.
  20. KitsumiTheFox

    KitsumiTheFox Advanced Member

    Newcomer
    2
    Jan 9, 2016
    United States
    So, if we were to get the WiFi working, we might also be able to get the gamepad to connect to linux as well.
    An interesting resource might be http://libdrc.org/docs/index.html
     
    I pwned U!, uyjulian and Lyrin like this.
  21. CompuCat

    CompuCat Advanced Member

    Newcomer
    3
    Sep 16, 2017
    United States
    The GamePad uses a separate 5GHz Wi-Fi chipset; that's the BCM43237 Quark's talking about. If we took manual control of that, we could get 5GHz Wi-Fi at the expense of the GamePad or have finer control of the GamePad's display through libdrc. We might just want to leave it as-is, though; we have a framebuffer set up to output to the GamePad independently of the main OS. Using libdrc would likely introduce quite a bit of software overhead.
     
Loading...