Wiki source code of Armbian OS instruction
Version 14.1 by Kilight Cao on 2022/05/27 16:55
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | = Overview = |
2 | |||
3 | This is a general instruction for the use of Armbian base OS of Dragino devices. Current models include: | ||
4 | |||
5 | * HP0A | ||
6 | * HP0C | ||
7 | * LPS8v2 | ||
8 | |||
![]() |
4.1 | 9 | = Development Guide = |
10 | |||
![]() |
11.1 | 11 | For advanced users to develop Driver/ Linux etc |
![]() |
4.1 | 12 | |
13 | == How to recompile LoRaWAN Concentrator Driver ( dragino-fwd package). == | ||
14 | |||
![]() |
11.1 | 15 | === Step 1. Clone dragino-fwd package === |
![]() |
4.1 | 16 | |
17 | |||
![]() |
11.1 | 18 | Run command clone dragino-fwd package: |
19 | |||
20 | (% class="box infomessage" %) | ||
21 | ((( | ||
22 | git clone https:~/~/github.com/dragino/dragino_fwd_src.git | ||
23 | ))) | ||
24 | |||
25 | [[image:image-20220527151010-1.png]] | ||
26 | |||
27 | |||
28 | === Step 2.Compile dragino_fwd === | ||
29 | |||
30 | |||
![]() |
14.1 | 31 | After cloning is complete, Run the command starts compiling: |
![]() |
11.1 | 32 | |
33 | (% class="box infomessage" %) | ||
34 | ((( | ||
35 | Compile HP0D/rasspberrypi fwd: ./hp0z-make-deb.sh d | ||
36 | Compile HP0C/HP0A fwd: ./hp0z-make-deb.sh c | ||
37 | ))) | ||
38 | |||
39 | The following example compilers HP0C fwd. | ||
40 | |||
41 | [[image:image-20220527153913-3.png]] | ||
42 | |||
43 | |||
44 | **When the compilation is complete a draginofwd-*.deb package is generated.** | ||
45 | |||
46 | [[image:image-20220527154311-4.png||height="385" width="773"]] | ||
47 | |||
48 | === Step 3. Install the dragino_fwd === | ||
49 | |||
![]() |
14.1 | 50 | |
![]() |
11.1 | 51 | Run command: |
52 | |||
53 | (% class="box infomessage" %) | ||
54 | ((( | ||
55 | dpkg -i draginofwd-*.deb | ||
56 | ))) | ||
57 | |||
58 | [[image:image-20220527154811-5.png]] | ||
59 | |||
60 | |||
![]() |
13.1 | 61 | === Trouble Shootings === |
![]() |
11.1 | 62 | |
![]() |
14.1 | 63 | |
![]() |
13.1 | 64 | Check the dragino_fwd log: |
![]() |
11.1 | 65 | |
66 | (% class="box infomessage" %) | ||
67 | ((( | ||
68 | journalctl -u draginofwd -f | ||
69 | ))) | ||
70 | |||
![]() |
13.1 | 71 | [[image:image-20220527165221-7.png||height="182" width="931"]] |
![]() |
11.1 | 72 | |
![]() |
13.1 | 73 | Start/stop dragino_fwd via systemctl: |
![]() |
11.1 | 74 | |
![]() |
13.1 | 75 | (% class="box infomessage" %) |
76 | ((( | ||
77 | systemctl start draginofwd | ||
78 | systemctl stop draginofwd | ||
79 | ))) | ||
80 | |||
81 | |||
![]() |
1.1 | 82 |