<
From version < 26.1 >
edited by Kilight Cao
on 2022/06/02 11:59
To version < 9.1 >
edited by Kilight Cao
on 2022/05/27 15:48
>
Change comment: Uploaded new attachment "image-20220527154811-5.png", version {1}

Summary

Details

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