Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Linux 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 9: Line 9:
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/3dshomebrew/Linux3ds.rar
|download=https://dlhb.gamebrew.org/3dshomebrew/Linux3ds.rar
|website=https://www.reddit.com/r/3dshacks/comments/it6awe/update_3ds_linux_port_updated_to_590rc5/
|website=https://www.reddit.com/r/3dshacks/comments/it6awe/update_3ds_linux_port_updated_to_590rc5
|source=https://gist.github.com/xerpi/3c720d345820691a2985502fcd80268f
|source=https://gist.github.com/xerpi/3c720d345820691a2985502fcd80268f
}}
}}
==Media==
'''3DS Linux''' ([https://www.youtube.com/watch?v=al8aohdZjFE kevansevans]) <br>
<youtube>al8aohdZjFE</youtube>
'''[Nintendo 3DS]Running Linux on the 3DS with A9LH''' ([https://www.youtube.com/watch?v=VUHW46EDObE Gnmpolicemata]) <br>
<youtube>VUHW46EDObE</youtube>
<youtube>VUHW46EDObE</youtube>


Hi there!
This is a Linux port for the 3DS, which launches a minimalist Linux environment with Busybox (a one executable alternative to several unix utilities such ls, cat, top, etc) and a Wayland compositor for graphics.
 
It was created by xerpi in 2015 till 2020 and developement has moved to a new repository [[Linux_for_3DS|Linux For 3DS]].
 
==Installation==
===Installing===
'''Note:''' You should already have boot9strap or fastboot3DS installed (if you followed the 3DS Hacks Guide, boot9strap is your bootloader and Luma is your chainloader).
 
Release contains the folllowing precompiled binaries:
* zImage, nintendo3ds_ctr.dtb from linux (Linux kernel source tree).
* 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 and it should look like this:
 
Root
  |-linux/
  |  |-arm9linuxfw.bin
  |  |-nintendo3ds_ctr.dtb or nintendo3ds_ktr(N3DS)
  |  |-zImage
  |-luma/
  |  |-payloads/
  |  |  |-firm_linux_loader.firm
 
==Building==
Please refer to the [https://gist.github.com/xerpi/3c720d345820691a2985502fcd80268f build instructions].
 
==User guide==
Power on the 3DS pressing Start (or the button you have assocciated with the FIRM Linux Loader Luma3DS payload), the username is <code>root</code> and the password is <code>root</code>.
 
You can start Weston by running:
# /start-weston.sh
 


I have rebased my Linux port for the 3DS to the latest Linux version (5.9.0-rc5) which was literally released yesterday (September 14th). It took me quite a few hours to get it working but hey, the effort paid off!
You can change the input mode (keybord, mouse) by pressing Select.


[Update] 3DS Linux port updated to 5.9.0-rc5 Linux 5.9.0-rc5 running on a Nintendo 3DS (CTR)
==Changelog==
'''5.10.0+ 2020/12/20'''
* nintendo3ds: Initial port.


Unfortunately, I'm quite busy these days so I'm writing this post to see if anybody is interested in helping improve the port and write more drivers/features.
'''4.12.0-rc7 2020/09/15'''
* Nintendo 3DS: Add atheros,ath6kl to the DTS.


Check this for boot instructions and this for build instructions.
==External links==
* GitHub (Linux 3DS) - https://github.com/xerpi/linux_3ds
* GitHub (FIRM Linux loader) - https://github.com/xerpi/firm_linux_loader
* GitHub (arm9linuxfw) - https://github.com/xerpi/arm9linuxfw
* GBAtemp - https://gbatemp.net/threads/release-linux-for-the-3ds.407187
* Reddit - https://www.reddit.com/r/3dshacks/comments/it6awe/update_3ds_linux_port_updated_to_590rc5


Feel free to ping me if you have questions!
[[Category:3DS homebrew applications]]
[[Category:Homebrew operating systems on 3DS]]

Revision as of 08:08, 29 November 2021

Linux
File:Linux3ds.jpg
General
Authorxerpi
TypeOperating systems
Version5.10.0+
LicenseMixed
Last Updated2020/12/20
Links
Download
Website
Source


Media

3DS Linux (kevansevans)

[Nintendo 3DS]Running Linux on the 3DS with A9LH (Gnmpolicemata)

This is a Linux port for the 3DS, which launches a minimalist Linux environment with Busybox (a one executable alternative to several unix utilities such ls, cat, top, etc) and a Wayland compositor for graphics.

It was created by xerpi in 2015 till 2020 and developement has moved to a new repository Linux For 3DS.

Installation

Installing

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

Release contains the folllowing precompiled binaries:

  • zImage, nintendo3ds_ctr.dtb from linux (Linux kernel source tree).
  • 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 and it should look like this:

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


Building

Please refer to the build instructions.

User guide

Power on the 3DS pressing Start (or the button you have assocciated with the FIRM Linux Loader Luma3DS payload), the username is root and the password is root.

You can start Weston by running:

# /start-weston.sh


You can change the input mode (keybord, mouse) by pressing Select.

Changelog

5.10.0+ 2020/12/20

  • nintendo3ds: Initial port.

4.12.0-rc7 2020/09/15

  • Nintendo 3DS: Add atheros,ath6kl to the DTS.

External links

Advertising: