Homebrew Wii U Linux

laharl22

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
1,767
Trophies
0
Age
38
XP
615
Country
France
How to start the desktop apt get install nothing via console Im missing I have knowledge only on Debian and Ubuntu on pc on wii u this is completely hard to setup
 
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,908
Country
Australia
Nintendo themselves, as well as other places. Here are a few sources regarding Nintendo Consoles and Linux.

Free Open source Software: https://www.nintendo.co.jp/support/oss/
Switch running BSD: http://nintendotoday.com/nintendo-switch-linux/
Wii U actually uses MULTI, but the game console OS can run and debug embedded Linux: https://ghs.com/products/MULTI_IDE.html
NES Classic runs Linux: https://www.omgubuntu.co.uk/2016/11/nintendo-nes-classic-single-board-pc-linux
While the Wii uses IOS, it is suspected to have a Linux kernel (check the file structure for clues!): https://www.wiibrew.org/wiki/IOS
While IOS (and IOSU, what the WiiU runs) share a lot of ideas from linux (/dev, ioctls, etc.) it's definitely not Actually Linux. It's a custom kernel - this is pretty easy to see when reverse-engineering it (it's full of things that only make sense on the Wii/WiiU hardware - remember that Linux supports many more things, so you'd expect to find code that could be "swapped out" for other device drivers and the like). Another big tell is that the syscalls are completely different.
I get that's a vague answer that's hard to quantify, so here's something a bit more concrete. IOS-FS is one of the modules in the IOSU, which handles all the different filesystem types the wiiu supports - fat for the sdcard, isfs for the nand, wfs for USBs, etc. etc.
Question: why does this exist?
Linux has full filesystem support already in the kernel - a proper vfs, permissions, and heaps of filesystem drivers using a known API. If this was Linux, it would have made much more sense for Nintendo to add their custom filesystems to Linux, perhaps as a module so it could be closed-source. Not only does the IOSU kernel have no evidence of this, it ends up having *less* features than even a stripped-down Linux kernel.
To top it off, Linux ships with a high-quality fat32 driver, supporting many partitions and codepages - generally regarded as Quite Good. However, IOS-FS is known to include a third-party, commercial fat32 driver (if someone could find the press release about this that'd be sweet). It kinda. sucks. hard? It's really slow, doesn't have partition support, and freaks out often if things aren't Just So.
Final point: under GPL, Nintendo would have to upload most of the kernel source code to that page you liked. however, the Wii U download in there is mostly WebKit stuff for the Internet Browser, no sign of a Linux kernel.
MULTI is an IDE, an editor to write code in (like Notepad++ or Atom - a better comparison would be Eclipse or NetBeans) and isn't actually an OS in and of itself.

As far as I know, there's a mention of BSD in the Switch's licenses page because it uses BSD sockets - you can watch the switch console security talk (35c3?) where The Big Names mention it's an extension of Horizon, the custom kernel also used on the 3DS.
The NES Classic does run Linux though, at least there's that~
 

laharl22

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
1,767
Trophies
0
Age
38
XP
615
Country
France
I Cant do nothing on the console sudo wget and many command dont work there are a native desktop?linux on PC is very easy compared to Wii u
 

CompuCat

Well-Known Member
Newcomer
Joined
Sep 16, 2017
Messages
83
Trophies
0
XP
621
Country
United States
@laharl22 Like I said earlier, ping us over at discord.fortheusers.org in the #linux-android channel for support. I'm asking you to do this for two reasons:
  1. Endless support back-and-forth can and will clog up this discussion thread
  2. quarky, rw and I don't actively monitor GBATemp; we respond much, much faster over Discord
If you're really opposed to using Discord as a service (and I don't blame you!), pop on over to https://compucat.me/about or https://heyquark.com/aboutme for alternative ways to contact us. (I'm not sure rw has a public website, sorry)
 
  • Like
Reactions: Gunstorm

depaul

Well-Known Member
Member
Joined
May 21, 2014
Messages
1,293
Trophies
0
XP
2,949
Country
France
How to configure wifi please?i am in no social network for personal raison i can only post hère
@laharl22 Like I said earlier, ping us over at discord.fortheusers.org in the #linux-android channel for support. I'm asking you to do this for two reasons:
  1. Endless support back-and-forth can and will clog up this discussion thread
  2. quarky, rw and I don't actively monitor GBATemp; we respond much, much faster over Discord
If you're really opposed to using Discord as a service (and I don't blame you!), pop on over to https://compucat.me/about or https://heyquark.com/aboutme for alternative ways to contact us. (I'm not sure rw has a public website, sorry)
 
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,908
Country
Australia
Hey folks! Long updates, slow updates.
- We made a Discord! Join it if you want, it's mostly us talking about kernel improvements and then me struggling to find anyone to test them.
- The kernel rewrite we started, uh.. early last year? is finally starting to take shape, so I'm putting it out as a release candidate, or a beta, or whatever you want to call it. Here's a build you can try; ideally you should be able to swap out the old 4.16 dtbImage with this one and have everything Just Work. Remember that this is a beta, so if something doesn't work quite the way you expected, please let us know! If nobody has any issues, I expect to make this the default version by the end of the month, along with updated distro images and documentation and whatever. I'll probably move the 4.16 archive to a different git repo, because it's huge; so watch out for your links.

There's more info on our little beta on Discord, but here's some highlights:
- kernel version 4.19; which was updated recently - 2 days ago. It's projected to be supported until Dec 2020, so you'll get security patches and stuff for a while. This is a stable, release kernel, instead of the random development snapshot we used before. We can even start to think about upstreaming.
- Improvements to the video driver: it's a little bit faster, and the gamepad screen can be used. Note this is still software-rendered.
- A driver for the buttons on the Gamepad (no touch); because why the hell not.
- All the USB ports, all the time. Yes, the ones on the front work.

Thanks to all of you who've stuck with us, I know we kinda let the user-facing kernels rot a bit while this got worked on. Hopefully the beta shows itself to be reasonably low on bugs and we can get it out as the default.

(edit: changed link to second beta; original link was this)
 
Last edited by QuarkTheAwesome,

Valery0p

Well-Known Member
Member
Joined
Jan 16, 2017
Messages
560
Trophies
0
XP
1,644
Country
Italy
the gamepad screen can be used. Note this is still software-rendered.
- A driver for the buttons on the Gamepad (no touch); because why the hell not.
Wait, you can now connect to the gamepad, send video and receive button presses? That's niiice :lol:
This means that, in theory, you can port this driver to work on any computer with an unlocked 5ghz wifi adapter? :O
( I mean, this existed, but it uses lib drc, and you probably already know how it doesn't work with newer kernel versions...)
 
Last edited by Valery0p,
Joined
Apr 19, 2015
Messages
1,023
Trophies
1
Location
Stuck in the PowerPC
Website
heyquark.com
XP
3,908
Country
Australia
Wait, you can now connect to the gamepad, send video and receive button presses? That's niiice :lol:
This means that, in theory, you can port this driver to work on any computer with an unlocked 5ghz wifi adapter? :O
( I mean, this existed, but it uses lib drc, and you probably already know how it doesn't work with newer kernel versions...)
Sadly not - the Wii U actually has a separate chip (DRH) that handles the gamepad communication and video encoding. We actually can't see the 5GHz WiFi card from linux at all - only the DRH can access it. Since you can't boot Linux without booting IOSU first (at the moment), we're kinda piggybacking off the fact that IOSU has got the DRH all set up for us, and connected the gamepad, before Linux even starts.
The video is connected to one of the ports on the Radeon (or so I'm told), and the DRH emulates a USB device for button presses, the microphone, and other things. I'd love to learn the specifics of how the audio/video gets from the main chips and into the DRH, because all my attempts to use the USB interfaces the DRH advertises just disconnects the Gamepad. I had a go at reverse-engineering the DRH firmware, but without any information about the memory map and other things it's not very productive.
 

Flame

Me > You
Global Moderator
Joined
Jul 15, 2008
Messages
7,268
Trophies
3
XP
18,676
There was an issue reported on Discord that stopped the new kernel working with our Lubuntu images; I've updated the link in my post to a second beta that should have that fixed.

im going to put my hands up. it was human error. i dont think they was any problem with your build. it was what i did. i was running debian and not the Lubuntu . i followed the wiki which had this Debian build.
 
Last edited by Flame,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    the vram is one advantage when it comes to AI but ends up being slower even with that and really AI is the only use case that needs more than 12gb vram right now
  • Psionic Roshambo @ Psionic Roshambo:
    Interesting lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think I watched a video where two games at 4K where eating just over 16GB of RAM and it's the one case where the 7900XT and XTX pulled ahead (minus RTX of course)
  • Psionic Roshambo @ Psionic Roshambo:
    So my opinion is that they could age a bit better in the future, and maybe AMD will continue improving them via drivers like they tend to do. No guarantee there but they have done it in the past. Just a feeling I have.
  • The Real Jdbye @ The Real Jdbye:
    cyberpunk at 4k without DLSS/fidelityfx *might* exceed 12gb
    +1
  • The Real Jdbye @ The Real Jdbye:
    but that game barely runs at native 4k
  • Psionic Roshambo @ Psionic Roshambo:
    I think it was some newer games and probably poorly optimized PS4 or PS5 ports
  • The Real Jdbye @ The Real Jdbye:
    they definitely will age better but i feel dlss might outweigh that since it looks about as good as native resolution and much less demanding
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    When I played Cyberpunk on my old 2080 Ti it sucked lol
  • The Real Jdbye @ The Real Jdbye:
    AMD could introduce something comparable to DLSS but nvidia's got a lot more experience with that
  • The Real Jdbye @ The Real Jdbye:
    least amd 7xxx has tensor cores which the previous generations didn't so there is the potential for AI upscaling
  • Psionic Roshambo @ Psionic Roshambo:
    They have FSR or whatever it's called and yeah it's still not great
  • The Real Jdbye @ The Real Jdbye:
    so AMD seem to finally be starting to take AI seriously
  • Psionic Roshambo @ Psionic Roshambo:
    Oh yeah those new 8000 CPUs have AI cores built in that's interesting
  • Psionic Roshambo @ Psionic Roshambo:
    Maybe they plan on offloading to the CPU?
  • Psionic Roshambo @ Psionic Roshambo:
    Would be kinda cool to have the CPU and GPU working in random more
  • Psionic Roshambo @ Psionic Roshambo:
    Tandem even
  • The Real Jdbye @ The Real Jdbye:
    i think i heard of that, it's a good idea, shouldn't need a dedicated GPU just to run a LLM or video upscaling
  • The Real Jdbye @ The Real Jdbye:
    even the nvidia shield tv has AI video upscaling
  • The Real Jdbye @ The Real Jdbye:
    LLMs can be run on cpu anyway but it's quite slow
  • BakerMan @ BakerMan:
    Have you ever been beaten by a wet spaghetti noodle by your girlfriend because she has a twin sister, and you got confused and fucked her dad?
  • Psionic Roshambo @ Psionic Roshambo:
    I had a girlfriend who had a twin sister and they would mess with me constantly.... Until one chipped a tooth then finally I could tell them apart.... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    They would have the same hair style the same clothes everything... Really messed with my head lol
    Psionic Roshambo @ Psionic Roshambo: They would have the same hair style the same clothes everything... Really messed with my head lol