Homebrew [Release] Linux for the 3DS

NermaN

Active Member
Newcomer
Joined
Nov 6, 2016
Messages
30
Trophies
0
Age
29
XP
236
Country
Russia
@xerpi Your work on 3ds support for linux is quite impressive, but it seems very not convenient for me to play with it without Wi-Fi, seems like ath9k should support AR6014 chipset, which is used in 3DS, but seems like you currently don't tried to run it, it there any reasons? If i would do it, i would start with wifi rather then screen, cause remote ssh it everything xD
 
  • Like
Reactions: uyjulian

xerpi

Well-Known Member
OP
Member
Joined
Dec 25, 2011
Messages
212
Trophies
1
Age
28
Location
Barcelona
XP
1,329
Country
@xerpi Your work on 3ds support for linux is quite impressive, but it seems very not convenient for me to play with it without Wi-Fi, seems like ath9k should support AR6014 chipset, which is used in 3DS, but seems like you currently don't tried to run it, it there any reasons? If i would do it, i would start with wifi rather then screen, cause remote ssh it everything xD

You are right, I'm aware of the ath9k driver and I hope it's compatible with AR6014. I'll try to get it working when I finish university, later this month.
 

Nulla

Member
Newcomer
Joined
Jun 8, 2017
Messages
9
Trophies
0
Age
29
XP
100
Country
United States
Is the mouse broken in the latest release? Can't seem to be able to click on anything in weston. I can move the cursor but it is not registering mouse clicks. Pressing select appears to do nothing. It was working fine for me back on the old A9LH version
 

xerpi

Well-Known Member
OP
Member
Joined
Dec 25, 2011
Messages
212
Trophies
1
Age
28
Location
Barcelona
XP
1,329
Country
Is the mouse broken in the latest release? Can't seem to be able to click on anything in weston. I can move the cursor but it is not registering mouse clicks. Pressing select appears to do nothing. It was working fine for me back on the old A9LH version
Yeah you are right, I'm aware of this. I'll try to fix it in a few weeks.
 
  • Like
Reactions: Manzini and Nulla

Nulla

Member
Newcomer
Joined
Jun 8, 2017
Messages
9
Trophies
0
Age
29
XP
100
Country
United States
My laptop is not fast enough

If your laptop has something better than a core 2 duo, then it's fast enough (hw virtualization instructions).

try it anyway. VirtualBox is free, and you are just looking at the command line

if that doesn't suit your purposes, use digital ocean then
you can rent a vm .007/hour, then just follow the steps sshed using PuTTY

Just wanted to say that if he had Windows 10 he could also just install Windows Subsystems for Linux straight from Microsoft and have native 64-bit Linux support plus apt-get with Ubuntus repos
 

anoraktrend

Member
Newcomer
Joined
Sep 11, 2016
Messages
24
Trophies
0
Age
26
XP
93
Country
United States
then install Ubuntu as a secondary OS, it's decently easy to install a Xubuntu or Lubuntu to a flash drive to test out, and even easier to install it.
 

YugamiSekai

Mr. Picross
Member
Joined
Dec 24, 2014
Messages
2,015
Trophies
1
Age
22
XP
2,286
Country
United States
then install Ubuntu as a secondary OS, it's decently easy to install a Xubuntu or Lubuntu to a flash drive to test out, and even easier to install it.
I'd rather not dual-boot any Linux distros after screwing up the partition and having to format Windows last time I had it
 

TheCyberQuake

Certified Geek
Member
Joined
Dec 2, 2014
Messages
5,012
Trophies
1
Age
28
Location
Las Vegas, Nevada
XP
4,432
Country
United States
I'd rather not dual-boot any Linux distros after screwing up the partition and having to format Windows last time I had it
You shouldn't ever have to format windows (if you know what you are doing). At most you would just need to repair the mbr, which I had to do after having dual boot Linux+windows (using grub) and removing Linux later.
 

chaoskagami

G̷̘̫̍̈́̊̓̈l̴̙͔̞͠i̵̳͊ţ̸̙͇͒̓c̵̬̪̯̥̳͒͌̚h̵̹̭͛̒̊̽̚
Developer
Joined
Mar 26, 2016
Messages
1,365
Trophies
1
Location
↑↑↓↓←→←→BA
Website
github.com
XP
2,287
Country
United States
It is possible to program with GNU GCC on 3ds?

Right now, probably not. The entire root filesystem is still compiled into the kernel as a initramfs; you'll need a disk-backed partition due to how large GCC is (it will not fit in RAM, period.)

I don't think buildroot will be sufficient for use as an actual development system, either.

The 3DS is also particularly RAM-starved, so you might need swap. I'm unsure. In addition, using -pipe is probably impossible, and you probably can't spawn multiple processes (make -jN) due to memory constraints.
 

Nulla

Member
Newcomer
Joined
Jun 8, 2017
Messages
9
Trophies
0
Age
29
XP
100
Country
United States
Right now, probably not. The entire root filesystem is still compiled into the kernel as a initramfs; you'll need a disk-backed partition due to how large GCC is (it will not fit in RAM, period.)

I don't think buildroot will be sufficient for use as an actual development system, either.

The 3DS is also particularly RAM-starved, so you might need swap. I'm unsure. In addition, using -pipe is probably impossible, and you probably can't spawn multiple processes (make -jN) due to memory constraints.
One thing that could simplify adding programs is chroot. And yes, 3DS Linux does come with chroot via Busybox, but I've never tried it myself. In theory you could run any Linux distro you want this way. The SDCard is still readonly though so you'll need to add programs to your root from a PC
 
Last edited by Nulla,

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,887
Country
United States
Compiler performance might be improved by using ssh or telnet to a computer that has the correct cross-compilers installed.

However, I agree about writing C code with a touchscreen. The touchscreen doesn't even have multi-touch, so it will be a pain to program.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Att is displaying prices like it's an ingredients list now lol