Homebrew [Release] Linux for the 3DS

Mik4Z

New Member
Newbie
Joined
Feb 7, 2019
Messages
3
Trophies
0
Age
25
XP
46
Country
France
Hello, i'm new and i'm very interressing by 3DS Linux. I would like to know if the wifi driver has been write, there is lot of message and release, i'm lost. What the most advanced kernel ? And someone have repair Weston (click) or replace him by a best graphical interface ? I have lot of question x) I wwant just a fonctionnal linux with graphical interface and most advanced driver. I don't know to explain better my demand.

PS: Sorry for my english i'm French --'
 

Nemos59

A random user
Member
Joined
Aug 1, 2018
Messages
135
Trophies
0
Location
Somewhere
XP
533
Country
France
Hello, i'm new and i'm very interressing by 3DS Linux. I would like to know if the wifi driver has been write, there is lot of message and release, i'm lost. What the most advanced kernel ? And someone have repair Weston (click) or replace him by a best graphical interface ? I have lot of question x) I wwant just a fonctionnal linux with graphical interface and most advanced driver. I don't know to explain better my demand.

PS: Sorry for my english i'm French --'
J'suis aussi français tkt.
I don't think the wifi driver has been written so far, but someone actually updated Linux to one of the latest kernel (if I remember correctly) (there's actually no releases, you need to compile them manually). xerpi's Linux has Weston (not been updated for quite some time), but the keyboard function isn't working and the console cannot be opened for whatever reason. To activate Weston and have a Graphical Interface, type ./start-weston.sh

Edit: If you need more infos, ParzivalWolfram is updating xerpi's Linux, and he's adding a bunch more features.
 
Last edited by Nemos59,

Mik4Z

New Member
Newbie
Joined
Feb 7, 2019
Messages
3
Trophies
0
Age
25
XP
46
Country
France
It seems to me that the mouse click don't work because xerpi didn't code it
And I like linux but i'm not ready and i don't have the determination to compile the kernel (I heard that to add packages in kernel).
If ParzivalWolfram read this, please update Weston or replace it for a good GI.
Otherwise, i think waiting that he released an update or i ask him to compile the kernel.
(PS: Si tu veux passer PV Nemos pas de soucis)
 

Mik4Z

New Member
Newbie
Joined
Feb 7, 2019
Messages
3
Trophies
0
Age
25
XP
46
Country
France
seeing that 3DS Linux is the alone OS to be run, we assign all cores of 3DS (2 cores for 3DS/2DS or 4 cores for n3DS/n2DS)
while distinguishing the old and new models at startup. Such for ram (128 Mo Old and 256 New), i understand the actually build don't use all cores (2 for new 2DS /3DS, idk for old) and ram ( 16 or 32 Mo, if I remember).
After i'm not a specialist in compilation and driver coding (but i want to become a programmer)
 

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
seeing that 3DS Linux is the alone OS to be run, we assign all cores of 3DS (2 cores for 3DS/2DS or 4 cores for n3DS/n2DS)
while distinguishing the old and new models at startup. Such for ram (128 Mo Old and 256 New), i understand the actually build don't use all cores (2 for new 2DS /3DS, idk for old) and ram ( 16 or 32 Mo, if I remember).
After i'm not a specialist in compilation and driver coding (but i want to become a programmer)
I'm using a device-detection system that is unused in Xerpi's builds to select specific device features based on the model. I'm planning on using Xorg instead of Wayland/Weston.

Progress has been slow due to school, issues with my laptop, my laptop being as old as it is, etc. I hope to get SD read/write running by the summer.
 
  • Like
Reactions: Itzumi

Xeddius

Member
Newcomer
Joined
Apr 8, 2018
Messages
12
Trophies
0
Age
30
XP
99
Country
United States
I'm glad to see some progress has been made and I'm looking forward to the next build! I'm willing to test whenever any new builds become available.
 

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
god, devkitPro's community is cancer.

https://github.com/devkitPro/buildscripts/issues/38

I got my issue locked for trying to get help simply due to mentioning that I don't want to add another package manager in passing, and they escalated THAT instead of the issue, prompting me to again say (this time more aggressively) that i'm not going to switch managers and that I still need help... and was locked.

EDIT: i'm now banned from making issues, yaaaaaaaay
 
Last edited by ParzivalWolfram,

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,568
Trophies
2
Location
United States
Website
sites.google.com
XP
3,907
Country
United States
Maybe it's time to give up?

I really don't like the way the devkitPro maintainers are acting, but I like the idea of a user using one method that is easy to assist with, rather than other obscure/undocumented methods that may or may not work.
 

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
Heads up -- new tester12 build incoming!

--------------------- MERGED ---------------------------

actually scratch that I ran out of memory trying to boot on an N3DS.
Still, prep for it. It's happening soon!!!

EDIT: turns out the zImage was 81MB, which is too big to fit at all in memory on old models, and too big (after decompression) to fit AND allow Linux to run on new models. Time to strip it down, I guess...
 
Last edited by ParzivalWolfram,

j0rv4r

Active Member
Newcomer
Joined
Dec 26, 2018
Messages
27
Trophies
0
Age
34
XP
65
Country
Uruguay
god, devkitPro's community is cancer.

https://github.com/devkitPro/buildscripts/issues/38

I got my issue locked for trying to get help simply due to mentioning that I don't want to add another package manager in passing, and they escalated THAT instead of the issue, prompting me to again say (this time more aggressively) that i'm not going to switch managers and that I still need help... and was locked.

EDIT: i'm now banned from making issues, yaaaaaaaay
most of linux troubleshooting forum are horrible... thats why everybody use windows instead
 

ParzivalWolfram

Well-Known Member
Member
Joined
Jun 28, 2017
Messages
294
Trophies
0
Age
54
XP
754
Country
United States
NEW RELEASE!

https://drive.google.com/open?id=1oqq3HS6pIjefusMgp32uEXT2-ZajSnoj

Thanks to the combined efforts of both @Wolfvak and I, Linux 3DS has been restructured to more closely resemble desktop Linux distros. (This project would be dead without them, HUGE props!)

Changes include:
  • SD/NAND support finally fucking works
  • RAM usage is lower and N3DS-based hardware can use 128MB of RAM, more than the O3DS' 32MB (memory is halved due to requiring a RAMdisk for initramfs)
  • Swap is now supported
  • SD/NAND speeds are up to 4MiB/s, being fast enough to use swap
  • Chainloading new images is now possible, so you can easily build your own images and chainload them
Most of these changes are due to @Wolfvak's work, i've done some work into image chainloading after we cracked SD/NAND.

Instructions for use:
  • Extract the "linux/" folder and "img.ext4" files to the root of your SD card, overwrite all prior files.
  • Load the FIRM from the old build (get it from the first post in this thread if you don't have it)
  • After Linux boots, do "sh switch.sh".
  • BUG: Due to a typo in switch.sh, you must manually run command "exec switch_root /chroot /bin/sh". switch.sh does set everything up for this, however.
  • You should see one or two lines and be given back to the shell. Run "sh fixdev.sh" to repopulate /dev, then mount the SD card (/mnt/sd), NAND (/mnt/nand, may fail due to bugs needing ironed out), persistent storage (/home), and SD partition 2 as swap (if present and correctly formatted).
Known bugs:
  • switch.sh has a typo preventing automatic chainloading of "img.ext4".
  • fixdev.sh should mount persistent storage before NAND and swap, as sometimes the NAND doesn't show up as having any partitions and, if so, breaks out of the script before persistent storage can be mounted
  • Xorg in the supplied "img.ext4" is broken, and fluxbox hangs the machine if started.
  • initramfs isn't fully unloaded, meaning we lose a couple extra usable KiB of RAM.
  • Writing a large amount of data to the SD card at once hangs the machine
 
Last edited by ParzivalWolfram,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
    AncientBoi @ AncientBoi: Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D