How to build a LoRaWAN gateway

Revision as of 13:23, 10 April 2019 by Registered User

Template:ArticleMainWriter Template:ArticleFirstDraftVersion


1. Article purpose

This article explains the steps to create your own LoRaWan gateway for the Distribution Package of the OpenSTLinux distribution with the BitBake tool. It also shows how to deploy the results of the cross-compilation on the target.


Info white.png Information
All the examples described on this page use devtool and/or bitbake from OpenEmbededded, see OpenEmbedded - devtool for more information.


Info white.png Information
There are many ways to achieve the same result; this article aims to provide at least one solution per example. You have the liberty to explore other methods that are better adapted to your development constraints.

2. Prerequisites

The prerequisites from Installing the OpenSTLinux distribution must be executed.

The board and the host machine are connected through an Ethernet link, and a remote terminal program is started on the host machine: see How to get Terminal.

The target is started, and its IP address (<board ip address>) is known.

3. Modification with kernel

3.1. Preamble

To start modification with a module, you need to initialize your Distribution Package environment.

 cd <working directory path of distribution>
 DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh


Initialize devtool for kernel component:

 devtool modify virtual/kernel
No categories assignedEdit