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.
2. Prerequisites
This LoRaWan gateway is based on the RAK831
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