<
From version < 8.1 >
edited by Kilight Cao
on 2022/05/27 15:43
To version < 27.1 >
edited by Kilight Cao
on 2022/06/02 13:55
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,6 @@
1 -{{box cssClass="floatinginfobox" title="**Contents**"}}
1 +**Table of Contents:**
2 +
2 2  {{toc/}}
3 -{{/box}}
4 4  
5 5  = Overview =
6 6  
... ... @@ -10,13 +10,113 @@
10 10  * HP0C
11 11  * LPS8v2
12 12  
13 -
14 14  = Development Guide =
15 15  
16 -For advance users to develop Driver/ Linux etc
15 +For advanced users to develop Driver/ Linux etc
17 17  
17 +
18 18  == How to recompile LoRaWAN Concentrator Driver ( dragino-fwd package). ==
19 19  
20 +=== Step 1. Clone dragino-fwd package ===
20 20  
21 21  
23 +Run command clone dragino-fwd package:
24 +
25 +(% class="box infomessage" %)
26 +(((
27 +git clone https:~/~/github.com/dragino/dragino_fwd_src.git
28 +)))
29 +
30 +[[image:image-20220527151010-1.png]]
31 +
32 +
33 +=== Step 2. Compile dragino_fwd ===
34 +
35 +
36 +After cloning is complete, Run the command starts compiling:
37 +
38 +(% class="box infomessage" %)
39 +(((
40 +Compile HP0D/rasspberrypi fwd:  ./hp0z-make-deb.sh d
41 +Compile HP0C/HP0A fwd:  ./hp0z-make-deb.sh c
42 +)))
43 +
44 +The following example compilers HP0C fwd.
45 +
46 +[[image:image-20220527153913-3.png]]
47 +
48 +
49 +**When the compilation is complete a draginofwd-*.deb package is generated.**
50 +
51 +[[image:image-20220527154311-4.png||height="385" width="773"]]
52 +
53 +
54 +=== Step 3. Install the dragino_fwd ===
55 +
56 +
57 +Run command:
58 +
59 +(% class="box infomessage" %)
60 +(((
61 +dpkg -i draginofwd-*.deb
62 +)))
63 +
64 +[[image:image-20220527154811-5.png]]
65 +
66 +
67 +=== Step 4. Test ===
68 +
69 +
70 +Check the dragino_fwd log:
71 +
72 +(% class="box infomessage" %)
73 +(((
74 +journalctl -u draginofwd -f
75 +)))
76 +
77 +[[image:image-20220527165221-7.png||height="182" width="931"]]
78 +
79 +Start/stop dragino_fwd via systemctl:
80 +
81 +(% class="box infomessage" %)
82 +(((
83 +systemctl start draginofwd
84 +systemctl stop draginofwd
85 +)))
86 +
87 +== How to flash SD card to eMMC ==
88 +
89 +
90 +Run command:
91 +
92 +(% class="box infomessage" %)
93 +(((
94 +nand-sata-install
95 +)))
96 +
97 +[[image:image-20220602112051-1.png]]
98 +
99 +Select the "Boot from eMMC - system on eMMC"
100 +
101 +[[image:image-20220602112058-2.png||height="292" width="646"]]
102 +
103 +[[image:image-20220602112106-3.png||height="301" width="643"]]
104 +
105 +
106 +Select the "1  ext4"
107 +
108 +[[image:image-20220602112113-4.png||height="271" width="642"]]
109 +
110 +
111 +It takes 4-5 minutes to burn from SD card to eMMC
112 +
113 +[[image:image-20220602112119-5.png||height="309" width="641"]]
114 +
115 +[[image:image-20220602112125-6.png||height="281" width="640"]]
116 +
117 +[[image:image-20220602112131-7.png||height="241" width="638"]]
118 +
119 +
120 +(% style="color:red" %)**Note: After the flash is complete, power off the device and then remove the SD card.**
121 +
22 22  
image-20220527154811-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +23.3 KB
Content
image-20220527155227-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +50.5 KB
Content
image-20220527165221-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +50.3 KB
Content
image-20220602112051-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +17.9 KB
Content
image-20220602112058-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +10.9 KB
Content
image-20220602112106-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +9.1 KB
Content
image-20220602112113-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +8.7 KB
Content
image-20220602112119-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +5.6 KB
Content
image-20220602112125-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +8.3 KB
Content
image-20220602112131-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Kilight
Size
... ... @@ -1,0 +1,1 @@
1 +5.7 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0