Changes for page Armbian OS instruction
Last modified by Edwin Chen on 2025/02/26 08:18
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 10 added, 0 removed)
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,126 @@ 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 +**Requirements:** 24 + 25 +(% class="box infomessage" %) 26 +((( 27 +sudo apt install -y libsqlite3-dev 28 +sudo apt install -y libftdi1-dev 29 +))) 30 + 31 +Run command clone dragino-fwd package: 32 + 33 +(% class="box infomessage" %) 34 +((( 35 +git clone https:~/~/github.com/dragino/dragino_fwd_src.git 36 +))) 37 + 38 +[[image:image-20220527151010-1.png]] 39 + 40 + 41 +=== Step 2. Compile dragino_fwd === 42 + 43 + 44 +After cloning is complete, Run the command starts compiling: 45 + 46 +(% class="box infomessage" %) 47 +((( 48 +Compile HP0D/rasspberrypi fwd: ./hp0z-make-deb.sh d 49 +Compile HP0C/HP0A fwd: ./hp0z-make-deb.sh c 50 +))) 51 + 52 +The following example compilers HP0C fwd. 53 + 54 +[[image:image-20220527153913-3.png]] 55 + 56 + 57 +**When the compilation is complete a draginofwd-*.deb package is generated.** 58 + 59 +[[image:image-20220527154311-4.png||height="385" width="773"]] 60 + 61 + 62 +=== Step 3. Install the dragino_fwd === 63 + 64 + 65 +Run command: 66 + 67 +(% class="box infomessage" %) 68 +((( 69 +dpkg -i draginofwd-*.deb 70 +))) 71 + 72 +[[image:image-20220527154811-5.png]] 73 + 74 + 75 +=== Step 4. Test === 76 + 77 + 78 +Check the dragino_fwd log: 79 + 80 +(% class="box infomessage" %) 81 +((( 82 +journalctl -u draginofwd -f 83 +))) 84 + 85 +[[image:image-20220527165221-7.png||height="182" width="931"]] 86 + 87 +Start/stop dragino_fwd via systemctl: 88 + 89 +(% class="box infomessage" %) 90 +((( 91 +systemctl start draginofwd 92 +systemctl stop draginofwd 93 +))) 94 + 95 +== How to flash SD card to eMMC == 96 + 97 + 98 +Run command: 99 + 100 +(% class="box infomessage" %) 101 +((( 102 +nand-sata-install 103 +))) 104 + 105 +[[image:image-20220602112051-1.png]] 106 + 107 + 108 +Select the "Boot from eMMC - system on eMMC" 109 + 110 +[[image:image-20220602112058-2.png||height="292" width="646"]] 111 + 112 +[[image:image-20220602112106-3.png||height="301" width="643"]] 113 + 114 + 115 +Select the "1 ext4" 116 + 117 +[[image:image-20220602112113-4.png||height="271" width="642"]] 118 + 119 + 120 +It takes 4-5 minutes to burn from SD card to eMMC 121 + 122 +[[image:image-20220602112119-5.png||height="309" width="641"]] 123 + 124 +[[image:image-20220602112125-6.png||height="281" width="640"]] 125 + 126 +[[image:image-20220602112131-7.png||height="241" width="638"]] 127 + 128 + 129 +(% style="color:red" %)**Note: After the flash is complete, power off the device and then remove the SD card.** 130 + 131 + 132 +== How to clone Complete OS on the EMMC to SD card == 133 + 134 + 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