[Release] Linux for the 3DS

Discussion in '3DS - Homebrew Development and Emulators' started by xerpi, Dec 29, 2015.

  1. Zhongtiao1

    Zhongtiao1 GBAtemp Advanced Fan

    Member
    8
    Feb 24, 2015
    United States
    Can X window managers support Linux on the 3ds?
     
  2. Marijnnl32

    Marijnnl32 Member

    Newcomer
    1
    Feb 24, 2018
    Netherlands
    what can i do whit it
     
  3. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    Nothing useful to you right now.
     
    Last edited by uyjulian, Mar 24, 2018
  4. Xeddius

    Xeddius Newbie

    Newcomer
    1
    Apr 8, 2018
    United States
    Wow, all of the tools are there, it shouldn't take much to port a decent browser and some apps over to this! I'm surprised someone hasn't already, to be honest.
     
  5. kittensauce

    kittensauce GBAtemp Regular

    Member
    4
    Mar 22, 2016
    United States
    Creating a functional browser would require reverse-engineering the 3DS WiFi card, which I do not believe anyone has done yet, nor do I believe it to be very easy. A "decent" browser would not run well at all; we would be lucky to get a graphical version of links running on Weston.
     
  6. Xeddius

    Xeddius Newbie

    Newcomer
    1
    Apr 8, 2018
    United States
    That brings me to another question, why Weston? Why not X11 with a display manager? I3, Cinnamon, Mate, Gnome, Fluxbox, LXDM, etc? Sure, Weston/Wayland are new and all, but they're so new nothing really works with them. I feel like that's the major hangup, I've had Firefox and Chrome working on X11 LXDM on an old single core Pentium running at 100mhz with 512mb of ram. It wasn't incredibly fast, but it did run. The 3ds has a dual-core arm11 running at 268mhz. I've had smartphones that could barely boast the same specs and still ran pretty well. I honestly feel like the 3ds receives a lot of criticism and skepticism because it's not the most powerful system out there, but yet time and time again I've seen projects where people have taken devices to the literal extreme and made them do amazing things. (Like running snes games on a GBA.) Things that nobody thought would be possible.

    Basically, the possibility is there, it seems that the attitude and people required to make it happen, aren't invested.

    Edit: also, someone has added the 3ds wireless drivers to the github page I believe.

    All in all, right now this isn't even as functional as DSLinux used to be. I hope it gets more development and the love it deserves someday.
     
    Last edited by Xeddius, Apr 12, 2018
  7. kittensauce

    kittensauce GBAtemp Regular

    Member
    4
    Mar 22, 2016
    United States
    Take all this with a grain of salt. It's getting late; I might not have though everything below entirely through.

    Perhaps because Weston does not require much to run (slow CPU / low RAM). Though, the same can be said about X11, so I'm not entirely sure. Personal preference, I guess.

    LXDM requires a lot more to run compared to Weston or X11. Sure, it ran well on your -- wait, a 100mHz processor? Jeez. Well, I guess it had all of the perks of an i586 CPU compared to ARM? Of course, whatever OS you were running was most likely far more optimized for its hardware than Linux for the 3DS is.

    Yes, and the 3DS runs pretty well on its stock firmware; Horizon is the name, IIRC. It would require a large amount of work and optimization to get Linux and a GUI running at the same speed as Horizon. Don't forget that Linux is running off of the SD card, in this case.

    Is Linux running natively on the 3DS not already "taken to the literal extreme"? Also, assuming you are referring to games like Super Mario Advance, those games were ported by Nintendo themselves, who has access to the source code of the original Super Mario games. I doubt they used much of it, but I'm sure having access to such a thing made the porting process far easier. We do not have access to the source code of the 3DS software, like the BootROM or Horizon, that would make it easier to port and install an entirely new operating system.

    Make what happen? Have the 3DS run Linux, a GUI, and a web browser at an acceptable speed? While it is possible to accomplish such a feat, it's simply impractical. Why spend countless weeks working on a secondary OS for a comparatively underpowered device when you could, for example, buy a Raspberry Pi Zero and shove it in a calculator? Actually, maybe that's not too good of an example...
    The point I'm trying to make is, why waste your time on something that has, in a sense, already been done? Sure, you can't use a full-fledged web browser on a 3DS, but you can on a smartphone.
    Though I guess I can't argue with "because I can;" I will admit that I have used that excuse more than once. Just this night, I got DOOM running on my Microsoft Zune HD...

    Interesting; do you have a link? I couldn't find it in a five second Google search, so I'll probably have to connect to a VPN and crawl the dark web with Tor to find it. </sarcasm>
     
    AlmostBadKoala likes this.
  8. Xeddius

    Xeddius Newbie

    Newcomer
    1
    Apr 8, 2018
    United States
    No, I mean there was literally a SNES emulator for the GBA.
    Google "pocketsnes"

    github(dot)com/xerpi/linux_3ds is where the github for the linux drivers/kernel is located.
     
    Last edited by Xeddius, Apr 12, 2018
  9. kittensauce

    kittensauce GBAtemp Regular

    Member
    4
    Mar 22, 2016
    United States
    Wow. Though I guess I can't say I'm surprised.

    I do not see any WiFi drivers/firmware there. Not for the chip inside the 3DS, at least.
     
  10. ParzivalWolfram

    ParzivalWolfram GBAtemp Regular

    Member
    4
    Jun 28, 2017
    United States
    Any way to get Xvesa/Xorg and a package manager on this?
     
  11. MrJason005

    MrJason005 √2

    Member
    8
    Nov 26, 2014
    Greece
    Κάπου
    what would it take to get a newer version of the kernel running?
     
  12. MrJason005

    MrJason005 √2

    Member
    8
    Nov 26, 2014
    Greece
    Κάπου
    also, would it be possible to have a proper gnu/linux system instead of busybox + linux?
     
  13. ParzivalWolfram

    ParzivalWolfram GBAtemp Regular

    Member
    4
    Jun 28, 2017
    United States
    I'm trying to get gcc and make on this thing but how do I compile them without having access to them...?

    (Probably shouldn't be doing this as I don't know C, nor do I mess with Linux much, but I'm trying anyway...)

    Also, unrelated but weird, RetroArch 3DS reports my n3dsxl a having 4 cores... is that a dual-core ARM11 and ARM9?
     
    Last edited by ParzivalWolfram, Aug 3, 2018
  14. MrJason005

    MrJason005 √2

    Member
    8
    Nov 26, 2014
    Greece
    Κάπου
    The N3DS has an upgraded quad-core, over the O3DS's dual-core ARM11
    ARM9 is never taken into consideration when in 3DS mode as it never runs anything userland related
     
    xerpi and Giodude like this.
  15. ParzivalWolfram

    ParzivalWolfram GBAtemp Regular

    Member
    4
    Jun 28, 2017
    United States
    Ah, okay. I'd imagine it'd be possible to use both processors with some tricks (and in turn the ARM7, a stretch but would be cool) to speed up emulators and such.

    Does this kernel use the 9 or 11?

    EDIT: It's the ARM9.
     
    Last edited by ParzivalWolfram, Aug 9, 2018
  16. pcs3rd

    pcs3rd Advanced Member

    Newcomer
    1
    Jan 10, 2017
    United States
    The Absolute freak'n MIDDLE OF NOWHERE.
    @xerpi ,May I ask what the controls are for the newer 3ds linux?
     
  17. pthfdr

    pthfdr Advanced Member

    Newcomer
    3
    Sep 6, 2017
    China
    So a unrelated question:Is it possible to run busybox/bash/ksh etc in the 3DS OS? Not a complete OS, just a shell.
    As the 3DS' builtin browser cannot download anything and you won't need multiple homebrews like ftpd as busybox have it included.
     
  18. uyjulian

    uyjulian Homebrewer

    Member
    9
    Nov 26, 2012
    United States
    United States
    No, because HorizonOS doesn't provide a POSIX interface.
     
    Itzumi and xerpi like this.
  19. cj_beans

    cj_beans Newbie

    Newcomer
    1
    Jul 29, 2018
    United States
    Hey, I'm having trouble toggling keyboard modes. I'm preesing/holding SELECT and nothings changing. Any reason why?
     
  20. zacchi4k

    zacchi4k GBAtemp Maniac

    Member
    7
    Feb 6, 2015
    Italy
    Somewhere eating pizza
    Changing from mouse to keyboard doesn't seem to work for me :/

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

    same here
     
Loading...