Homebrew [Release] Linux for the 3DS

  • Thread starter Thread starter xerpi
  • Start date Start date
  • Views Views 398,710
  • Replies Replies 870
  • Likes Likes 118
@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 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.
 
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
 
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
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
 
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.
 
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
 
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.
 
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.
 
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,
It is possible to program with GNU GCC on 3ds?
In theory, this is doable, but do you really want to write C code using a touchscreen?

You're also better off cross-compiling 3DS software on a PC, anyway. Compiles faster and doesn't have the resource constraints.
 
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