Code Monkey home page Code Monkey logo

buildroot's Introduction

        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

buildroot's People

Contributors

bz31 avatar

Watchers

James Cloos 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.