Hide last authors
Kilight Cao 15.1 1 **Table of Contents:**
2
3 {{toc/}}
4
Edwin Chen 1.1 5 = Overview =
6
7 This is a general instruction for the use of Armbian base OS of Dragino devices. Current models include:
8
9 * HP0A
10 * HP0C
11 * LPS8v2
12
Edwin Chen 4.1 13 = Development Guide =
14
Kilight Cao 11.1 15 For advanced users to develop Driver/ Linux etc
Edwin Chen 4.1 16
Kilight Cao 25.1 17
Edwin Chen 4.1 18 == How to recompile LoRaWAN Concentrator Driver ( dragino-fwd package). ==
19
Kilight Cao 11.1 20 === Step 1. Clone dragino-fwd package ===
Edwin Chen 4.1 21
22
Kilight Cao 30.1 23 **Requirements:**
24
25
26 (% class="box infomessage" %)
27 (((
28 sudo apt install -y libsqlite3-dev
29 sudo apt install -y libftdi1-dev
30 )))
31
Kilight Cao 11.1 32 Run command clone dragino-fwd package:
33
34 (% class="box infomessage" %)
35 (((
36 git clone https:~/~/github.com/dragino/dragino_fwd_src.git
37 )))
38
39 [[image:image-20220527151010-1.png]]
40
41
Kilight Cao 17.1 42 === Step 2. Compile dragino_fwd ===
Kilight Cao 11.1 43
44
Kilight Cao 14.1 45 After cloning is complete, Run the command starts compiling:
Kilight Cao 11.1 46
47 (% class="box infomessage" %)
48 (((
49 Compile HP0D/rasspberrypi fwd:  ./hp0z-make-deb.sh d
50 Compile HP0C/HP0A fwd:  ./hp0z-make-deb.sh c
51 )))
52
53 The following example compilers HP0C fwd.
54
55 [[image:image-20220527153913-3.png]]
56
57
58 **When the compilation is complete a draginofwd-*.deb package is generated.**
59
60 [[image:image-20220527154311-4.png||height="385" width="773"]]
61
Kilight Cao 25.1 62
Kilight Cao 11.1 63 === Step 3. Install the dragino_fwd ===
64
Kilight Cao 14.1 65
Kilight Cao 11.1 66 Run command:
67
68 (% class="box infomessage" %)
69 (((
70 dpkg -i draginofwd-*.deb
71 )))
72
73 [[image:image-20220527154811-5.png]]
74
75
Edwin Chen 16.1 76 === Step 4. Test ===
Kilight Cao 11.1 77
Kilight Cao 14.1 78
Kilight Cao 13.1 79 Check the dragino_fwd log:
Kilight Cao 11.1 80
81 (% class="box infomessage" %)
82 (((
83 journalctl -u draginofwd -f
84 )))
85
Kilight Cao 13.1 86 [[image:image-20220527165221-7.png||height="182" width="931"]]
Kilight Cao 11.1 87
Kilight Cao 13.1 88 Start/stop dragino_fwd via systemctl:
Kilight Cao 11.1 89
Kilight Cao 13.1 90 (% class="box infomessage" %)
91 (((
92 systemctl start draginofwd
93 systemctl stop draginofwd
94 )))
95
Kilight Cao 27.1 96 == How to flash SD card to eMMC ==
Kilight Cao 13.1 97
Kilight Cao 27.1 98
99 Run command:
100
101 (% class="box infomessage" %)
102 (((
103 nand-sata-install
104 )))
105
106 [[image:image-20220602112051-1.png]]
107
Kilight Cao 28.1 108
Kilight Cao 27.1 109 Select the "Boot from eMMC - system on eMMC"
110
111 [[image:image-20220602112058-2.png||height="292" width="646"]]
112
113 [[image:image-20220602112106-3.png||height="301" width="643"]]
114
115
116 Select the "1  ext4"
117
118 [[image:image-20220602112113-4.png||height="271" width="642"]]
119
120
121 It takes 4-5 minutes to burn from SD card to eMMC
122
123 [[image:image-20220602112119-5.png||height="309" width="641"]]
124
125 [[image:image-20220602112125-6.png||height="281" width="640"]]
126
127 [[image:image-20220602112131-7.png||height="241" width="638"]]
128
129
130 (% style="color:red" %)**Note: After the flash is complete, power off the device and then remove the SD card.**
131
Kilight Cao 28.1 132
133 == How to clone Complete OS on the EMMC to SD card ==
134
135
Edwin Chen 1.1 136
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0