-
-
Save bensuperpc/1d024e1044c04e25060553eda6d65617 to your computer and use it in GitHub Desktop.
Linux 3DS scripts
This file contains 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
#!/bin/sh | |
TOOLCHAIN=/opt/armv6-eabihf--glibc--bleeding-edge-2020.02-2/bin/arm-buildroot-linux-gnueabihf- | |
cp arch/arm/configs/nintendo3ds_defconfig .config | |
make ARCH=arm CROSS_COMPILE=$TOOLCHAIN -j8 | |
make ARCH=arm CROSS_COMPILE=$TOOLCHAIN nintendo3ds_ctr.dtb | |
echo "Output file: ./arch/arm/boot/zImage" | |
echo "Output DTB: ./arch/arm/boot/dts/nintendo3ds_ctr.dtb" |
This file contains 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
#!/bin/bash | |
partprobe | |
mkdir -p /media/sd | |
mount /dev/nintendo3ds_mmc1 /media/sd | |
echo "SD mounted at /media/sd" |
This file contains 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
#!/bin/bash | |
if test -z "${XDG_RUNTIME_DIR}"; then | |
export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir | |
if ! test -d "${XDG_RUNTIME_DIR}"; then | |
mkdir "${XDG_RUNTIME_DIR}" | |
chmod 0700 "${XDG_RUNTIME_DIR}" | |
fi | |
fi | |
openvt -c 2 -- weston -Bfbdev-backend.so --config=/weston.ini | |
/bin/bash |
This file contains 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
[output] | |
name=fbdev | |
transform=90 | |
[libinput] | |
enable_tap=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment