Table of Contents:
1. Overview
This is a general instruction for the use of Armbian base OS of Dragino devices. Current models include:
- HP0A
- HP0C
- LPS8v2
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
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: ( Such as draginohp0d-1.9img )
4. A Flash software tool ( Such as balenaEtcher )
5. Open the LPS8-V2 shell, and put the SD card into the card slot
6. Power on the device and access the gateway's CLI via the serial port.
7. 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.