Add 3DS-CLI - #175
Open
cmdada wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
3DS-CLI boots real RISC-V Linux on the Wii. It emulates an RV32IMA machine with
a full Sv32 MMU and runs a stock Linux 6.6 kernel with a glibc userspace off the
SD card, so the result is an actual shell rather than a simulation of one: bash,
vim, nano, htop, tree, wget and dropbear, with writes going straight to the
filesystem image on the card.
The top of the screen is an ANSI terminal (24-bit colour, scrollback, zoom) and
the bottom is an on-screen keyboard you point at with the Wiimote. A GameCube
controller works too, and the d-pad walks the key grid where neither is
convenient.
It started on the 3DS, which is where the name comes from, and this release
ports it to the Wii, Wii U, Switch and GameCube from one shared core.
Notes for review:
supported_platformsiswiiandvwiionly, deliberately. Wii Mini has noSD card slot, and the root filesystem is ~200MB, so it cannot work there.
apps/3ds-cli/{boot.dol,meta.xml,icon.png}plusImageat theroot.
Imageis the guest kernel with the root filesystem bundled inside it;the app unpacks it to
rootfs.ext2on first boot and uses that writable copyfrom then on. That is why the download is large.
the Linux image: https://github.com/cmdada/3DS-CLI