-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small OS for Raspberry Zero Clients #143
Comments
Hi, I also think that it would be cool to have a small distri. Snapclients are easy - they only have the problem of the WiFi configuration. BTW: It seems that there are wireless speakers that are using Snapcast: |
Volumio2 will provide a decently small & music oriented distribution when snapcast is fully integrated in it I guess... |
Has anyone tried DietPi? it seems to target this sort of use case. |
Just try it on a Raspberry Zero. Maybe a small Webinterface to switch sound output and set WLAN and Hostname and this can be a nice Client OS root@DietPi:~# df -h |
What about your efforts of using piCore @bjwelker ? I like the idea of the system not using the SD at all card after boot and the extremely fast boot time |
@1337sup3rh4x0r no not any downsides only one maybe that you have to build a new tcz everytime for the clients. Not that fast like the .deb you can get here and install it. For what i have read the DietPi issnt using the SD Card all the time too. |
Just a high level comment on this: a rock solid system should mount the sdcard read-only |
I have no Clou how i Can make the Image feom picore with snapcast build in :-( |
Maybe a good starting point would be Buildroot. Main difficulties would be adding snapcast in the application tree and offering easy network configuration. Bonus would be that the solution could be compiled on all platforms supported by buildroot. |
Maybe @nickaknudson Can Show how to make a Small Client Image with his pull request for buildroot. |
Buildroot supports raspberry pi zero out of the box: https://git.busybox.net/buildroot/tree/board/raspberrypi/readme.txt#n27 Just shallow clone buildroot from the latest release tag:
And then run make:
If that is successful then follow my instructions to integrate Snapcast: https://github.com/badaix/snapcast/blob/master/doc/build.md#buildroot-cross-compile |
@nickaknudson did you use it as Client or Server ? |
I've not actually tried it - just trying to give buildroot noobs a place to start. But yes, you would also need to add some other libraries to your buildroot The soundcard drivers should get built into the linux kernel automatically as buildroot sources from the raspberry pi linux distro: https://github.com/raspberrypi/linux/blob/rpi-4.4.y/arch/arm/configs/bcmrpi_defconfig I may have time to try it later this week and if so can add it to the guide. |
That would be very nice. Then WE Can build very fast clients |
It builds for raspberry pi. Tested on raspberry pi zero. |
Sorry I had no Time to test but I will do |
last weekend I managed to merge some PRs, especially #212 that added CMake support. |
Great! This will make life a bit easier for many single nodes!
…On Mon, Feb 5, 2018 at 10:54 PM, Johannes Pohl ***@***.***> wrote:
last weekend I managed to merge some PRs, especially #212
<#212> that added CMake support.
Great thanks to @joerg-krause <https://github.com/joerg-krause> !
Based on that, it was easy to make a first buildroot integration "SnapOS
<https://github.com/badaix/snapos>"
Feel tree to try it out. I'm happy about your feedback!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#143 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGU9ICqYGXP7UbII2DZeHfP4IHc4ETnoks5tRxYggaJpZM4K8LHP>
.
|
Thanks to @badaix for his great work for snapcast as well as for snapos. I tried it it works fine. Boot time to audible audio is about 20sec. I'm also trying around with buildroot for a while to build a simple client system for snapclients. If you are interested please have a look to snapcastbox. |
Is it also planned to extend the support for SnapOS to OpenWRT/LEDE capable devices? |
You should consolidate changes between these two folders:
Right now you have duplicated code. When I initially made the buildroot contribution, I had intended for https://github.com/badaix/snapcast/tree/master/buildroot/package/snapcast to be a buildroot overlay as well. Note that with buildroot you can have multiple overlays. |
I also would suggest to seperate snapcast package from the buildroot distro. You will have full flexibility and you are still able to configure the package in the way you want. Even patching for distro needs is possible. E.g. in my trials I replaced the startup script, resolving an issue which is relevant in this environment only. |
@1337sup3rh4x0r I've created an openwrt directory with a Makefile for the @nickaknudson fully agree, it's work in progress. Thanks a lot for your contributions to the buildroot support! |
Wanted to add: I had to remove
[Edit] Well, it was more complicated. In any case, I wrote down the process for buildroot 2021.02.1 and SnapOS0.20.0 |
Sorry for posting on an old topic but not an easy way to pass the info on. I've raised a PR against DietPi to add snapcast client as one of their standard software packages: MichaIng/DietPi#4465 If you want a small distro for a Pi Zero W but are intimidated by the SnapOS building then that might be a good compromise. |
This is a feature request ;) @badaix
Issn´t it possible to build a small Distri for the Raspberry Zero so more people without the knowledge about Linux and so on can use Snapcast at home ? I think snapcast is enough for the most ppl not everyone needs sonos and snapcast works perfectly.
The text was updated successfully, but these errors were encountered: