Skip to content

epicfrequency/Buildroot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

        NanoPi NEO|NEO2 and ZeroPi configs for Buildroot
        ================================================


Intro
=====

Create a network audio player with
  - the smallest SBC 4cm x 4cm
  - a minimal Linux system
  - UPnP/OpenHome renderer: upmpdcli/mpd (works with MinimServer)
  - Apple AirPlay: shairport-sync
  - streaming services: Qobuz, Tidal and Google Music
  - OpenHome Radio service for internet radio stations
  - Squeezelite installed but not used (for LMS)
  - Roon Bridge (uncomment a few lines in post-build.sh)
  - USB audio output
  - CPU isolation: cores 2 and 3 only for MPD, Squeezelite and Roon Bridge


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

  $ sudo apt-get install libncurses-dev build-essential gettext-base  

  $ git clone https://github.com/bz31/Buildroot.git br
  $ cd br
  $ git clone -b 2019.02.x --single-branch git://git.buildroot.net/buildroot buildroot-2019.02.x
  
  $ mkdir nanopineo2-output (mkdir nanopineo-output) (mkdir zeropi-output)
  $ cd nanopineo2-output (cd nanopineo-output) (cd zeropi-output)
  $ make O=$PWD -C ../buildroot-2019.02.x defconfig BR2_DEFCONFIG=../configs/nanopi-neo2_buildroot-2019.02.x_linux-4.19.x_defconfig
   (make O=$PWD -C ../buildroot-2019.02.x defconfig BR2_DEFCONFIG=../configs/nanopi-neo_buildroot-2019.02.x_linux-4.19.x_defconfig)
   (make O=$PWD -C ../buildroot-2019.02.x defconfig BR2_DEFCONFIG=../configs/zeropi_buildroot-2019.02.x_linux-4.19.x_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


Insert the microSD card in NanoPi NEO|NEO2 or ZeroPi, and power it up. 
Use ssh to connect to NanoPi NEO|NEO2 or ZeroPi: login/password = root/root
See http://bz31.tuxfamily.org/dokuwiki/doku.php?id=buildroot for more details.


Raspberry Pi 3 (Model B)
========================

  $ sudo apt-get install libncurses-dev build-essential gettext-bas

  $ git clone https://github.com/bz31/Buildroot.git br
  $ cd br
  $ wget https://buildroot.org/downloads/buildroot-2019.08.2.tar.gz
  $ tar zxvf buildroot-2019.08.2.tar.gz

  $ mkdir raspberrypi3-output
  $ cd raspberrypi3-output
  $ make O=$PWD -C ../buildroot-2019.08.2 defconfig BR2_DEFCONFIG=../configs/raspberrypi3_buildroot-2019.08.x_linux-4.19.x_defconfig
  [$ make menuconfig]
  [$ make savedefconfig]
  [$ make linux-menuconfig]
  $ make

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

About

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

Languages

  • Shell 96.1%
  • Batchfile 3.9%