Skip to content
/ Buildroot Public

Network Audio Players: My NanoPi NEO/NEO2, ZeroPi and Rasperry Pi 3 configs files for Buildroot

Notifications You must be signed in to change notification settings

bz31/Buildroot

Repository files navigation

        NanoPi NEO, NanoPi NEO2, ZeroPi and Raspberry Pi 3 (Model B) configs for Buildroot
        ==================================================================================


Intro
=====

Build a network audio player with
  - the smallest SBC 4cm x 4cm (NanoPi NEO, NanoPi NEO2 and ZeroPi)
  - a minimal Linux system
  - 2 players:
    - squeezelite (for LMS)
    - Apple AirPlay: shairport-sync
  - USB audio output
  - CPU isolation: cores 2 and 3 only for Squeezelite (NanopiNEO2 and RaspberryPi3)


How to build
============

  $ sudo apt-get install libncurses-dev build-essential gettext-base git rsync bc python wget unzip python3 python3-distutils python-dev python3-dev 

  $ git clone https://github.com/bz31/Buildroot.git br
  $ cd br

  $ git clone -b 2022.02.x --single-branch git://git.buildroot.net/buildroot buildroot-2022.02.x
  $ cd buildroot-2022.02.x
  $ patch -p1 <../buildroot-2022.02.x_squeezelite.patch
  $ cd ..

  $ mkdir nanopineo2-output (mkdir zeropi-output) (mkdir nanopineo-output) (mkdir rpi3-output)
  $ cd nanopineo2-output (cd zeropi-output) (cd nanopineo-output) (cd rpi3-output)
  $ make O=$PWD -C ../buildroot-2022.02.x defconfig BR2_DEFCONFIG=../configs/nanopi-neo2_buildroot-2022.02.x_linux-5.10.x_squeezelite_defconfig
  ($ make O=$PWD -C ../buildroot-2022.02.x defconfig BR2_DEFCONFIG=../configs/zeropi_buildroot-2022.02.x_linux-5.15.x_squeezelite_defconfig)
  ($ make O=$PWD -C ../buildroot-2022.02.x defconfig BR2_DEFCONFIG=../configs/nanopi-neo_buildroot-2022.02.x_linux-5.15.x_squeezelite_defconfig)
  ($ make O=$PWD -C ../buildroot-2022.02.x defconfig BR2_DEFCONFIG=../configs/raspberrypi3_buildroot-2022.02.x_linux-5.10.x_squeezelite_defconfig)
  
  [$ make menuconfig]
  [$ make savedefconfig]
  [$ make linux-menuconfig]
  $ make


Write the image file to a microSD card (for example /dev/sdb)
=============================================================

  $ sudo dd bs=4M if=images/sdcard.img of=/dev/sdb  
  $ sudo sync

  Raspberry Pi 3: If using only WiFi, edit /etc/wpa_supplicant.conf for SSID/passwd.

Insert the microSD card in NanoPi NEO, Nanopi NEO2, ZeroPi or Raspberry Pi 3, and power it up. 
Use ssh to connect to NanoPi NEO, Nanopi NEO2, ZeroPi or Raspberry Pi 3: login/password: root/root



http://bz31.tuxfamily.org/dokuwiki/doku.php

About

Network Audio Players: My NanoPi NEO/NEO2, ZeroPi and Rasperry Pi 3 configs files for Buildroot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published