Linux for 3DS

From GameBrew
Revision as of 02:51, 30 November 2021 by HydeWing (talk | contribs)
Linux for 3DS
Linuxfor3ds2.png
General
Authorkleo, nickdesaulniers, ParzivalWolfram, Wolfvak, xerpi
TypeOperating systems
Version2021
LicenseMixed
Last Updated2021/10/19
Links
Download
Website
Source

Linux for 3DS is a homebrew project that allows you to run Linux on your 3DS.

Installation

Installing

Note: You should already have boot9strap or fastboot3DS installed (if you followed the guide, boot9strap is your bootloader and Luma is your chainloader).

You will need the following files:

  • zImage, nintendo3ds_ctr.dtb or nintendo3ds_ktr.dtb(N3DS) from linux (Linux kernel source tree), can be built from buildroot.
  • firm_linux_loader.firm from firm_linux_loader (FIRM Linux Loader for the Nintendo 3DS).
  • arm9linuxfw.bin from arm9linuxfw (implement virtio over PXI for ARM11 <-> ARM9 communications on the Nintendo 3DS console).

Copy them to your SD card so it looks something like this:

Root 
 |-linux/ 
 |  |-arm9linuxfw.bin
 |  |-nintendo3ds_ctr.dtb or nintendo3ds_ktr.dtb(N3DS)
 |  |-zImage
 |-luma/
 |  |-payloads/
 |  |  |-firm_linux_loader.firm

Building

Please see the official wiki pages and the tutorial video below.

Uer guide

You need to boot the firm_linux_loader.firm file, which will in turn load all the generated binaries (zImage, nintendo3ds_ctr.dtb or nintendo3ds_ktr.dtb depending on your model and arm9linuxfw.bin) into memory and boot the kernel.

The default rootfs will ask you a username and password, currently there are no users so you can log in as root with the password toor.

Media

Building Linux for the Nintendo 3DS (Kleo Bercero)

External links

Advertising: