Wii U Linux

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

  1. AriaHiro

    AriaHiro Advanced Member

    Newcomer
    1
    May 12, 2016
    United States
    the wiiu is apparently based on a custom radeon hd 7000 series gpu. it could be possibe to try modify the opensource drivers to get opengl out of it.
     
    DarthDub and Gunstorm like this.
  2. rw-r-r_0644

    rw-r-r_0644 GBAtemp Fan

    Member
    4
    Jan 13, 2016
    Italy
    The problem is that, while linux includes drivers for r7xx, they rely on pci, while the wii u card is not on a pci bus.

    Make sure the file is in the correct location on the sdcard. If it still doesn't work, you might have a broken sdcard slot/bad contacts.
     
    Last edited by rw-r-r_0644, Feb 13, 2018
    DarthDub, Traace and Gunstorm like this.
  3. Medveitsi

    Medveitsi Advanced Member

    Newcomer
    2
    Jul 1, 2016
    Finland
    Nice work:yayu: been waiting this from the day one
     
    rw-r-r_0644 likes this.
  4. lordelan

    lordelan GBAtemp Psycho!

    Member
    9
    Jan 4, 2015
    Germany
    Followed this ever since it was on gitlab. Great to have a pre compiled fw.img now.
    I flashed the IMG file from MEGA on a 4 GB usb stick and will try that out.

    One question though: In the readme it's written that only the back USB ports are supported. If that is the case, how am I supposed to use
    • USB mouse
    • USB keyboard
    • USB stick with Debian
    with only two ports? Does it support USB hubs?
     
  5. lordelan

    lordelan GBAtemp Psycho!

    Member
    9
    Jan 4, 2015
    Germany
    That's what I'm getting now:
    20180214_231349.

    My GamePad:
    20180214_231326.

    Edit: What I did is taking the IMG file from page 2 of this thread and writing it with Win32DiskImager to a USB flash drive.
    I tried a 4 GB and a 8 GB drive but get the same error every time. I always tried using the back USB ports of the Wii U, as it's written in the readme, that they are the only supported ones (if I got that right).
    The kernel and the fw.img are in their right places.
    What am I doing wrong?
     
    Last edited by lordelan, Feb 14, 2018
  6. rw-r-r_0644

    rw-r-r_0644 GBAtemp Fan

    Member
    4
    Jan 13, 2016
    Italy
    USB hubs are supported

    The problem is likely with the USB image I made, as I said it's untested. I'll try to make another one tomorrow (if you have a linux computer though, you can just format the drive as ext4 and extract the archive to the root of the drive)
     
    DarthDub and lordelan like this.
  7. lordelan

    lordelan GBAtemp Psycho!

    Member
    9
    Jan 4, 2015
    Germany
    Alright thx. I'll try to do that today.
     
  8. lordelan

    lordelan GBAtemp Psycho!

    Member
    9
    Jan 4, 2015
    Germany
    I did this in a Ubuntu VM:
    by using that command I get
    Code:
    tar: Exiting with faulure status due to previous errors
    Although that error appears, the drive is full of all needed folders and files (over 400 MB in total) as far as I can see.
    To avoid errors I can do this with sudo but then all files on the USB flash drive are owned by root (obviously) and I think that won't work on the Wii U due to permissions then, am I right?
    I'm at work right now so I can't test it but I will once I get at home.
     
  9. lordelan

    lordelan GBAtemp Psycho!

    Member
    9
    Jan 4, 2015
    Germany
    I tried the flash drive that I made in an Ubuntu VM as I wrote above but still am getting the same error message on the Wii U. :(
     
  10. rw-r-r_0644

    rw-r-r_0644 GBAtemp Fan

    Member
    4
    Jan 13, 2016
    Italy
    You have to run tar as root (sudo tar [...]), otherwise file permissions will will be wrong, and some files won't get extracted at all, since tar cannot create files which are owned by root and have no acces to common users without having root permissions. It's normal that in a linux linufs some files are owned by root; also make sure the files are extracted to the root of the drive.
     
    Last edited by rw-r-r_0644, Feb 15, 2018
    DarthDub and Gunstorm like this.
  11. ItsAshleyFTW

    ItsAshleyFTW Member

    Newcomer
    1
    Sep 20, 2017
    United States
    To be honest, I think there should be a video tutorial for this, so it would be much easier for people who aren't experienced with Linux.
     
    uyjulian, AboodXD, I pwned U! and 2 others like this.
  12. lordelan

    lordelan GBAtemp Psycho!

    Member
    9
    Jan 4, 2015
    Germany
    I was thinking that if I do that, it would belong to the "root of my VM" and won't be accessable by the "root of Wii U's Linux". But thanks, guess I'll try this again then.
    If this has to be done as root you should note that here:
    https://gitlab.com/linux-wiiu/linux-wiiu/blob/master/README.md
    Although I'm a bit experienced in Linux it wasn't clear to me.

    If I got it working it would be exactly as written in the github readme except you would have to put "sudo " before the tar command:
    Code:
    sudo tar -xvpf <path/to/debian.tar.xz>
    
    Then put in your root password and hit ENTER.

    To get a quick setup, install VirtualBox, then download and follow this thread:
    https://gbatemp.net/threads/ubuntu-...ransistor-and-retroarch-preconfigured.489753/

    It's a preconfigured Ubuntu for PegaSwitch but that doesn't matter. You would even benefit from using it if you have a Switch as well like I do. :)
     
    Last edited by lordelan, Feb 16, 2018
  13. ItsAshleyFTW

    ItsAshleyFTW Member

    Newcomer
    1
    Sep 20, 2017
    United States
    Do I type <path/to/debian.tar.xz> or path/to/debian.tar.xz?
     
  14. ItsAshleyFTW

    ItsAshleyFTW Member

    Newcomer
    1
    Sep 20, 2017
    United States
    All right, I think I did it correctly. I entered wiiu login: root and Password: root. What do I do at this screen?

    image.
     
  15. lordelan

    lordelan GBAtemp Psycho!

    Member
    9
    Jan 4, 2015
    Germany
    Neither nor.

    You'll end up with something like a debian-wiiu-03-02-2018.tar.xz or something like that which most likely should at /home/itsashleyftw/debianwii-u-03-02-2018.tar.xz
    So in case you're using Ubuntu in a VM you will attach a flash drive, open the filebrowser, right click on it, chose "format" and format it to EXT4.
    Then open a terminal and enter
    Code:
    cd /mnt
    dir
    
    Thanks to dir you will see what you're flash drive is called. Most likely it will be an endless digit code. Let's assume it starts with a 3, then you enter
    Code:
    cd 3*
    
    to get into its folder.
    Now you enter
    Code:
    sudo tar -xvpf /home/itsashleyftw/debianwii-u-03-02-2018.tar.xz
    
    or whatever your exact path and file name is.
    Then hit your root pw (for the PegaSwitch VM it is 1111) and wait for it. Done.

    Edit: lol, ninja'd, but glad you got it to work that far.
     
  16. ItsAshleyFTW

    ItsAshleyFTW Member

    Newcomer
    1
    Sep 20, 2017
    United States
    Never mind; I got it.
     
  17. lordelan

    lordelan GBAtemp Psycho!

    Member
    9
    Jan 4, 2015
    Germany
    I guess that's it. Dunno if there's a Xserver aka GUI @rw-r-r_0644 ?
    So you'll end up with a Debian dash. Google for commands you can use.
     
  18. THEELEMENTKH

    THEELEMENTKH GBAtemp Advanced Maniac

    Member
    8
    May 31, 2016
    Spain
    Have you tried using the command "sudo startx" (without quotation marks) to see if ut does something?
     
  19. ItsAshleyFTW

    ItsAshleyFTW Member

    Newcomer
    1
    Sep 20, 2017
    United States
    I tried and it says, “sudo: command not found”
     
    Randy95354 likes this.
  20. lordelan

    lordelan GBAtemp Psycho!

    Member
    9
    Jan 4, 2015
    Germany
    Try su instead.
     
Loading...