All Projects → nickaknudson → snapcast-pi

nickaknudson / snapcast-pi

Licence: other
This project uses buildroot to build snapcast for the raspberry pi.

Projects that are alternatives of or similar to snapcast-pi

snapos
Snapcast OS
Stars: ✭ 73 (+284.21%)
Mutual labels:  buildroot, snapcast
firmware
Alternative IP Camera firmware from an open community
Stars: ✭ 236 (+1142.11%)
Mutual labels:  buildroot
Businesscard Linux
A Buildroot distribution small enough to run on my business card
Stars: ✭ 1,573 (+8178.95%)
Mutual labels:  buildroot
browser-vm
A small Linux x86 VM meant for use in the browser
Stars: ✭ 122 (+542.11%)
Mutual labels:  buildroot
Barge Os
Yet another lightweight Linux distribution for Docker containers
Stars: ✭ 151 (+694.74%)
Mutual labels:  buildroot
HydraPlay
A multiroom audio player setup, based on snapcast and mopidy.
Stars: ✭ 102 (+436.84%)
Mutual labels:  snapcast
Br Hisicam
*WIP* Buildroot based sample firmware with embedded GoHisiCam for HiSilicon`s System-On-a-Chip ip cameras
Stars: ✭ 89 (+368.42%)
Mutual labels:  buildroot
snapdroid
Snapcast client for Android
Stars: ✭ 84 (+342.11%)
Mutual labels:  snapcast
oscimpDigital
OscillatorIMP ecosystem for the digital characterization of ultrastable oscillators and Software Defined Radio (SDR) frontend processing
Stars: ✭ 41 (+115.79%)
Mutual labels:  buildroot
spotifypiHome
"Install and go" multiroom music playback solution, with support for spotify, airplay and bluetooth.
Stars: ✭ 32 (+68.42%)
Mutual labels:  snapcast
openipc.github.io
Alternative IP Camera firmware from an open community, http://openipc.org site source code
Stars: ✭ 28 (+47.37%)
Mutual labels:  buildroot
Kios
A Linux OS created by Buildroot which runs Kerberos Open Source out-of-the-box.
Stars: ✭ 178 (+836.84%)
Mutual labels:  buildroot
buildroot
Configure and build dahliaOS Linux-based builds
Stars: ✭ 56 (+194.74%)
Mutual labels:  buildroot
Rpi Webapplication
Text Guide and snippets to have 60fps web application using Raspberry
Stars: ✭ 142 (+647.37%)
Mutual labels:  buildroot
buildroot-at91
Buildroot for Microchip SoC (aka AT91) - use with buildroot external tree
Stars: ✭ 14 (-26.32%)
Mutual labels:  buildroot
Operating System
🔰 Home Assistant Operating System
Stars: ✭ 1,920 (+10005.26%)
Mutual labels:  buildroot
python-snapcast
Python API for controlling Snapcast, a multi-room synchronous audio solution.
Stars: ✭ 56 (+194.74%)
Mutual labels:  snapcast
FireMarshal
Software workload management tool for RISC-V based SoC research. This is the default workload management tool for Chipyard and FireSim.
Stars: ✭ 37 (+94.74%)
Mutual labels:  buildroot
shredos.x86 64
Shredos Disk Eraser 64 bit for all Intel 64 bit processors as well as processors from AMD and other vendors which make compatible 64 bit chips. ShredOS - Secure disk erasure/wipe
Stars: ✭ 383 (+1915.79%)
Mutual labels:  buildroot
Skiffos
SkiffOS: lightweight & robust cross-compiled Linux distribution optimized for hosting containers.
Stars: ✭ 151 (+694.74%)
Mutual labels:  buildroot

DEPRECATED IN FAVOR OF https://github.com/badaix/snapos/

snapcast-pi

This project uses buildroot to build snapcast for the raspberry pi. This example was tested with the raspberry pi zero, but has configurations for all raspberry pi models.

Build Environment

For convenience the build environment has been containerized using docker. To get started, simply install docker for your machine.

For more information on the docker image or to build it yourself see nickaknudson/buildroot-docker and nickaknudson/buildroot.

If you do not wish to use the provided docker container then you will need to install all of the buildroot dependencies yourself.

Building

Clone this repository and change directory:

git clone https://github.com/nickaknudson/snapcast-pi.git && cd snapcast-pi

Enter the build environment:

docker run -it -v $(pwd):/home/buildroot/snapcast-pi -w /home/buildroot/snapcast-pi nickaknudson/buildroot /bin/bash

(Use the following if using a SElinux-enabled host such as Fedora, RHEL, Scientific Linux, etc.:)

docker run -it -v $(pwd):/home/buildroot/snapcast-pi:Z -w /home/buildroot/snapcast-pi nickaknudson/buildroot /bin/bash

Clone buildroot:

BUILDROOT_VERSION=2016.11.2
git clone --branch $BUILDROOT_VERSION --depth=1 git://git.buildroot.net/buildroot ~/buildroot

Clone snapcast:

git clone --depth=1 https://github.com/badaix/snapcast.git ~/snapcast

Configure buildroot (this command is for raspberry pi zero, see buildroot-external/configs folder for other configurations):

make O=~/buildroot-output BR2_DL_DIR=~/buildroot-dl BR2_EXTERNAL=~/snapcast/buildroot:~/snapcast-pi/buildroot-external -C ~/buildroot snapcastpi0_defconfig

Use menuconfig to add additional packages (optional):

make O=~/buildroot-output BR2_DL_DIR=~/buildroot-dl BR2_EXTERNAL=~/snapcast/buildroot:~/snapcast-pi/buildroot-external -C ~/buildroot menuconfig

Build:

make O=~/buildroot-output BR2_DL_DIR=~/buildroot-dl BR2_EXTERNAL=~/snapcast/buildroot:~/snapcast-pi/buildroot-external -C ~/buildroot

Just build the snapcast binary:

make O=~/buildroot-output BR2_DL_DIR=~/buildroot-dl BR2_EXTERNAL=~/snapcast/buildroot:~/snapcast-pi/buildroot-external -C ~/buildroot package/snapcast

Flashing

Copy the build products from the container back to the host machine:

cp -R ~/buildroot-output/images .

Exit the build environment:

exit

Find your SD card:

df -h

Flash the SD card (where dev/sdX is from above):

dd bs=4M if=images/sdcard.img of=/dev/sdX

Tips

By design, docker will launch a new container every time you call docker run. But you can attach to old containers which will still contain all of the old build products.

First find the container that you want:

docker ps -a

Then start it if it is stopped:

docker start <container_id>

Then attach to it:

docker attach <container_id>

If you want to remove old containers to free up hard disk space:

docker containers prune
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].