GithubHelp home page GithubHelp logo

morris-murigi / chirpstack-gateway-os Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chirpstack/chirpstack-gateway-os

0.0 0.0 0.0 1.14 MB

OpenWrt based gateway images including ChirpStack components.

Home Page: https://www.chirpstack.io

Shell 57.28% Makefile 42.72%

chirpstack-gateway-os's Introduction

ChirpStack Gateway OS

ChirpStack Gateway OS is an open-source OpenWrt based embedded OS for LoRa® gateways. It provides a web-interface for configuration and contains pre-defined configuration options for common LoRa hardware to make it easy to setup a LoRa gateway and optionally a ChirpStack-based LoRaWAN® Network Server.

Note: If you are looking for the Yocto recipes of the previously Yocto based ChirpStack Gateway OS, please switch to the v4_yocto branch.

Documentation and binaries

Please refer to the ChirpStack Gateway OS documentation for documentation and pre-compiled images.

Building from source

Requirements

Building ChirpStack Gateway OS requires:

Initialize

To initialize the OpenWrt build environment, run the following command:

make init

This will:

  • Clone the OpenWrt code
  • Fetch all the OpenWrt feeds, including the ChirpStack OpenWrt Feed
  • Symlink configuration and files

Update

This step is not required after running make init, but allows you to update the OpenWrt source and feeds at a later point:

make update

Build

For building the ChirpStack Gateway OS, you must enter the Docker-based development environment first:

make devshell

Switch configuration

Each target and image has its own OpenWrt configuration file, files and patches. These can be found under the conf directory of this repository.

To switch to one of these configuration environments, you must execute:

make switch-env ENV=name-of-env

Fo example if you would like to switch to base_raspberrypi_bcm27xx_bcm2709, you execute:

make switch-env ENV=base_raspberrypi_bcm27xx_bcm2709

This will:

  • Undo all previously applied patches.
  • Update the symlinks for OpenWrt configuration and files.
  • Apply all patches.

Building image

Once the configuration has been set, run the following command to build the ChirpStack Gateway OS image:

make

Note that this can take a couple of hours depending on the selected configuration and will require a significant amount of disk-space.

Making configuration changes

Note: The commands listed below must be executed within the openwrt directory.

To make configuration changes (e.g. add additional packages), you can execute:

make menuconfig

As updates to OpenWrt packages can introduce new configuration options over time, you can run the following command to update the configuration:

make defconfig

Please refer also to the OpenWrt build system usage documentation.

Links

chirpstack-gateway-os's People

Contributors

brocaar avatar sophiekovalevsky avatar piechade avatar dougreese avatar evandavey avatar fiv21 avatar papadkostas avatar macpijan avatar proffalken avatar ryanteck avatar tonysmith55 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.