Wiki source code of Armbian OS instruction
Version 12.1 by Kilight Cao on 2022/05/27 16:52
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 | |||
31 | **After cloning is complete, Run the command starts compiling:** | ||
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 | |||
50 | Run command: | ||
51 | |||
52 | (% class="box infomessage" %) | ||
53 | ((( | ||
54 | dpkg -i draginofwd-*.deb | ||
55 | ))) | ||
56 | |||
57 | [[image:image-20220527154811-5.png]] | ||
58 | |||
59 | |||
60 | === Step 3. Trouble Shootings === | ||
61 | |||
62 | Check the pkt-fwd log: | ||
63 | |||
64 | (% class="box infomessage" %) | ||
65 | ((( | ||
66 | journalctl -u draginofwd -f | ||
67 | ))) | ||
68 | |||
69 | [[image:image-20220527155227-6.png||height="105" width="952"]] | ||
70 | |||
71 | |||
![]() |
1.1 | 72 |