Linux for 3DS

Discussion in '3DS - Homebrew Development and Emulators' started by BufferOverflow, May 12, 2015.

?

Would you like have Linux for 3DS?

  1. Yes

    266 vote(s)
    83.6%
  2. No

    8 vote(s)
    2.5%
  3. I dont care

    43 vote(s)
    13.5%
  1. BufferOverflow
    OP

    BufferOverflow Member

    Newcomer
    36
    25
    Nov 15, 2014
    Gambia, The
    Baden-Württemberg
    Today I saw that on a tweet. It look really interesting and like DSLinux.

    [​IMG]

    Here is the tweet link, he isnt the developer. And I dont know who he is.

    TWEET
     
    ariankordi, sl0ps, Alex3dss and 9 others like this.
  2. laharl22

    laharl22 GBAtemp Advanced Maniac

    Member
    1,624
    167
    Dec 19, 2014
    France
    Yeah oh god!!!! I want linux !!!voted yes
     
    Margen67 and BufferOverflow like this.
  3. Warft

    Warft Say my name!

    Member
    263
    177
    Aug 8, 2013
    United States
    Albuquerque, New Mexico
    Margen67 and BufferOverflow like this.
  4. TecXero

    TecXero Technovert

    Member
    2,814
    909
    Apr 13, 2014
    United States
    Mainframe
    It wouldn't surprise me if someone ported an older Android OS to 3DS.
     
  5. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,824
    9,718
    Nov 21, 2005
    United Kingdom
  6. SLiV3R

    SLiV3R 3DS Friend Code: 0473-9069-2206

    Member
    2,212
    1,044
    Jan 9, 2006
    Cool. Could be interesting and useful!
     
    Alex3dss, Margen67 and BufferOverflow like this.
  7. mid-kid

    mid-kid GBAtemp spamBOT

    Member
    879
    962
    Aug 2, 2012
    Xerpi has been working for a while on getting linux working on the 3DS. Not sure if this is a pic of his stuff.
     
    Technicmaster0 likes this.
  8. dicamarques

    dicamarques Definitely not Bruce Wayne.

    Member
    1,020
    179
    Jun 25, 2010
    Portugal
    Your computer's Recycle Bin
    Linux everywhere :O
    Let's hope this doesnt end up only as a proof of concept
     
    Margen67 likes this.
  9. InfoFront

    InfoFront Advanced Member

    Newcomer
    55
    23
    Mar 23, 2015
    United States
    Was Linux DS actually useful for anything?
     
  10. jocopoco

    jocopoco Advanced Member

    Newcomer
    90
    29
    Feb 13, 2014
    I beliese it iusnt a good idea there ius already an os on 3ds
     
  11. pdapanda

    pdapanda GBAtemp Advanced Fan

    Member
    713
    254
    Nov 19, 2014
    Switzerland
    You can play PlayStation games with linux DS on a dstwo card, I'm not kidding
     
  12. BufferOverflow
    OP

    BufferOverflow Member

    Newcomer
    36
    25
    Nov 15, 2014
    Gambia, The
    Baden-Württemberg
    Maybe ;)
     
    Margen67 likes this.
  13. gudenau

    gudenau Largely ignored

    Member
    GBAtemp Patron
    gudenau is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    3,300
    1,253
    Jul 7, 2010
    United States
    /dev/random
    Darn, I was beat to the punch.
     
    Margen67 likes this.
  14. cedeckovec

    cedeckovec Member

    Newcomer
    13
    7
    Oct 9, 2013
    United States
    Linux for 3DS - YES interesting

    Thanks
     
    Margen67 likes this.
  15. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,824
    9,718
    Nov 21, 2005
    United Kingdom
    To an extent it was.
    For a while the web browser was one of the better options for it on the DS. It had some of the better telnet and ssh options for the DS (and this was before netbooks, before tablets rose up and before the mobile phone OS market got something resembling a dominant platform with workable options for end user code) and there are accounts of people using it for real, it was eventually ported out (though with the help of the work done for the DS linux project) but for a while it was the main method of doing a disk check on your actual DS, some of the server options it had did OK as far as such things went, by virtue of the text readers that Linux tends to come with it had some of the more reliable options for text viewing and writing.
    It was never going to be more than a curio, or become anything like the various Linux implementations on something like the raspberry pi are today, but for the time it was usable, useful in many cases and fun if you like tinkering with things like this.

    I know there was the PS1 emulator for the dingux port on the ISMM and later DSTwo but it was not DSlinux as most would know it.
     
    Margen67 and InfoFront like this.
  16. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    672
    402
    Oct 3, 2013
    France
    If it allows us more control on the device without having to use the 3DS OS at all it'd be interesting.

    Does that mean we can cold boot it? Having something similar to Dingux would be wonderful...
     
    cracker, Margen67 and SLiV3R like this.
  17. Apache Thunder

    Apache Thunder I have cameras in your head!

    Member
    4,116
    4,068
    Oct 7, 2007
    United States
    Levelland, Texas
    It would be extremely difficult to fully boot Linux without the underlying OS that 3DS normally uses still running. Mainly because bootrom expects certain files and code.

    Also "cold" booting it is out of the question. For many reasons anyone with common sense on how the 3DS works would already know the answer to. You can not run custom code directly on sysnand during boot. You must either find a bootrom exploit or gain access to the private signing keys that Nintendo only has. So no you can not replace the OS on sysnand on cold boot.
     
    Margen67 likes this.
  18. xerpi

    xerpi GBAtemp Regular

    Member
    169
    452
    Dec 25, 2011
    Barcelona
    I'm actually the guy who's doing the port. I've had only talked about it on IRC because it's still in a very early development stage, and it doesn't do nearly anything.

    Linux source code: https://github.com/xerpi/linux
    Linux ARM11 loader source code: https://bitbucket.org/xerpi/3ds-arm11-linux-loader/src

    Here's the IRC log:
    Code:
    <xerpi> hi
    <xerpi> 3ds linux updated: Simple framebuffer is working :D
    <aurelio> bravo! great job :D
    <Henke37> does linux work with more than one screen?
    <xerpi> http://i.imgur.com/3TusFyI.jpg
    <xerpi> http://i.imgur.com/AUR0g6n.jpg
    <xerpi> and the kernel panic: http://i.imgur.com/m5u78Wn.jpg?1
    <fincs> ^ O_o that's seriously cook
    <fincs> *cool
    <xerpi> I'll change the font to 8x8, it's huge
    <xerpi> also,I'm writing an I2C driver right now
    <Henke37> Id focus on the ir port first
    <Henke37> might as well get a serial port for debugging
    <xerpi> yep
    <Henke37> was that on the i2c bus or not? I can't recall
    <xerpi> yes it is, so I have to write the i2c bus driver first
    <Henke37> I suspected as much
    <xerpi> it looks a bit better now: http://i.imgur.com/vlFkuoy.jpg?1
    <derrek> looks cool xerpi
    <derrek> how did you fix the issue that the kernel was ignoring VRAM btw?
    <xerpi> I was doing it wrong, the kernel only has to map the memory when it's needed
    <xerpi> the framebuffer driver does the map
    <xerpi> you tell the physical address to the driver and it does the ioremap to map the physical address into the kernel virtual address space
    <|OMEGA|> what will you do with Linux on 3Ds? :}
    <xerpi> nothing, just for fun xD
    <|OMEGA|> ok hehe
    <tcm0> can't wait to use apache with the 3DS :D
    <profi200> xD
    <profi200> Better get a RPi 2 for that purpose.
    <tcm0> Well my RPi B serves well enough :P
    <profi200> xerpi: It looks like there is text missing at the right side.
    <Henke37> xerpi, are you usng the bottom screen for anything?
    <xerpi> profi200, on some messages the text is cut, on others it scrolls, weird
    <xerpi> Henke37, not by now, I need to get the timer stuff working first
    <profi200> I wonder if you can get both the ARM9 and the other ARM11 core into the boat.
    <tcm0> and ARM7 :D
    <profi200> For the ARM9 you need some sort of command handler and a PXI driver for Linux.
    <xerpi> profi200, yeah, and I'll need that specially if I want to write to the SD
    Bonus videos:


     
  19. Idaho

    Idaho GBAtemp Advanced Fan

    Member
    672
    402
    Oct 3, 2013
    France
    Seems interesting, if we could boot Linux with total access over the console then I guess it could provide a saner environment to launch homebrews than what we actually have.

    If we really want this to be interesting, we'll have to get people to code effective drivers...
     
    Margen67 likes this.
  20. Technicmaster0

    Technicmaster0 GBAtemp Psycho!

    Member
    3,282
    680
    Oct 22, 2011
    Gambia, The
    Well there he is. It's just a picture that I took from xerpi. But I really didn't expect the tweet to go that viral.
     
    Margen67 likes this.