Coder Social home page Coder Social logo

arcade's Introduction

Arcade

Get Raspberry Pi image

  • Locate your USB or SD drive with diskutil list on macOS or fdisk-l on Linux.
  • Unmount is with diskutil unmountDisk /dev/disk1 or sudo umount /dev/sdb1
  • Download 'Raspberry Pi OS Lite' raspi image from https://www.raspberrypi.com/software/operating-systems/
  • Decompress with gunzip -d
  • Blast the ISO onto the drive.
sudo dd bs=1m if=2017-04-10-raspbian-jessie-lite.img of=/dev/disk<N>
  • Unmount it again.

  • Make sure raspi-config is set up to boot from your chosen format (SD or USB).

  • Reboot.

Console

Setup SSH

sudo systemctl enable ssh
sudo systemctl start ssh

From Personal machine

scp ~/.ssh/$PRIVATE_KEY_FILENAME* your-raspberry-pi:~/.ssh/

Fix virtual console fonts

sudo dpkg-reconfigure console-setup

Fix caps-lock -> control mapping

Remap Caps-lock to control. In /etc/default/keyboard, add or append using comma separator.

echo 'XKBOPTIONS="ctrl:nocaps"' | sudo tee -a /etc/default/keyboard

Fix DRM boot config

Change kms to fkms in this line in /boot/config.txt.

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d

Issue: raysan5/raylib#2259

Enable audio

sudo raspi-config
<Select System Options>
<Select S2 Audio>
Pick the right thing here, probably headphones.

Install tools

# Add 
cat >>"$HOME"/.ssh/config <<EOF
Host github.com
	User git
	IdentityFile $PRIVATE_KEY_FILENAME
EOF
cat $PRIVATE_KEY_FILENAME.pub >>authorized_keys

# Install git
sudo apt update -y
sudo apt install -y git

# Make src dir
mkdir "$HOME"/src
cd; cd src

# Install your dotfiles

# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Build DevX

# Get raylib sources
git clone [email protected]:raysan5/raylib.git $HOME/src/raylib
cd $HOME/src/raylib

# Install raylib build dependencies
sudo apt-get install cmake libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev clang

# Install raylib runtime dependencies
# From https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi
sudo apt-get install libdrm-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev

mkdir build
cd build
cmake -DPLATFORM=DRM ..
make 
sudo make install

arcade's People

Contributors

wbbradley avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.