Table of Contents:
- 1. Overview
- 2. Development Guide
- 3. Package Maintain Note
1. Overview
This is a general instruction for the use of Armbian base OS of Dragino devices. Current models include:
- HP0A
- HP0C
- LPS8v2
- MS20
2. Development Guide
For advanced users to develop Driver/ Linux etc
2.1 How to recompile LoRaWAN Concentrator Driver ( dragino-fwd package).
Step 1. Clone dragino-fwd package
Requirements:
Run command clone dragino-fwd package:
Step 2. Compile dragino_fwd
After cloning is complete, Run the command starts compiling:
The following example compilers HP0C fwd.
When the compilation is complete a draginofwd-*.deb package is generated.
Step 3. Install the dragino_fwd
Run command:
Step 4. Test
Check the dragino_fwd log:
Start/stop dragino_fwd via systemctl:
2.2 How to clone Complete OS on the EMMC to SD card
2.3 How to flash SD card to (eMMC) device's built-in Memory
2.3.1 Prepare an SD card with OS.
Preparations:
1. Prepare an SD card and a card reader device
2. Formatting the SD card (Make sure the SD card is empty)
3. Download the OS image from release.image: ( File format dragino-lps8v2-1.7.img )
4. A Flash software tool ( Such as v1.7.9 from balenaEtcher )
2.3.2 Flash SD card to device's eMMC.
1. Open the device's enclosure, and put the SD card into the SD card slot
2. Power on the device and access the gateway's CLI via the serial port.
3. Login and run the below command to flash.
Run command:
Select the "Boot from eMMC - system on eMMC"
Select the "1 ext4"
It takes 4-5 minutes to burn from SD card to eMMC
Note: After the flash is complete, power off the device and then remove the SD card.
3. Package Maintain Note