{"id":2158,"date":"2016-05-15T05:12:22","date_gmt":"2016-05-14T20:12:22","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=2158"},"modified":"2016-05-15T05:12:22","modified_gmt":"2016-05-14T20:12:22","slug":"post-2158","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2016\/05\/15\/post-2158.html","title":{"rendered":"DietPi \u3092 Orange Pi PC \u3067\u8a66\u3059"},"content":{"rendered":"

\u4ee5\u524d\u3001\u30d5\u30a9\u30fc\u30e9\u30e0\u3067\u77e5\u3063\u305f DietPi \u3068\u3044\u3046\u306e\u3092 Orange PI PC \u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n

\"DietPi\"<\/a> Kernel \u306f 3.4.39-01-lobo \u306a\u306e\u3067\u3001lobo\u30ab\u30fc\u30cd\u30eb\u3067\u3059\u3002<\/p>\n

\u30d5\u30c3\u30c8\u30d7\u30ea\u30f3\u30c8\u304c\u5c0f\u3055\u304f\u306a\u3063\u3066\u3044\u308b\u3068\u306e\u3053\u3068\u3067\u3001LXDE Desktop \u3092\u5165\u308c\u3066\u3082\u4f7f\u7528\u30b5\u30a4\u30ba\u306f\u30011.6GB \u7a0b\u5ea6\u306e\u3088\u3046\u3067\u3059\u30028G \u306e SDCard \u306a\u3093\u3067\u3059\u304c\u3001\u7528\u9014\u306b\u3088\u3063\u3066\u306f\u5341\u5206\u3067\u3059\u306d\u3002<\/p>\n

Linux DietPi 3.4.39-01-lobo #1 SMP PREEMPT Sun Oct 25 14:46:41 CET 2015 armv7l GNU\/Linux\nroot@DietPi:\/usr\/local\/src# df -hT\nFilesystem     Type      Size  Used Avail Use% Mounted on\n\/dev\/mmcblk0p2 ext4      7.3G  1.6G  5.8G  22% \/\nudev           devtmpfs   10M     0   10M   0% \/dev\ntmpfs          tmpfs     201M  4.7M  196M   3% \/run\ntmpfs          tmpfs     502M     0  502M   0% \/dev\/shm\ntmpfs          tmpfs     5.0M  4.0K  5.0M   1% \/run\/lock\ntmpfs          tmpfs     502M     0  502M   0% \/sys\/fs\/cgroup\ntmpfs          tmpfs      10M  1.1M  9.0M  11% \/DietPi\ntmpfs          tmpfs      20M   24K   20M   1% \/var\/log\ntmpfs          tmpfs     502M   28K  502M   1% \/tmp\n\/dev\/mmcblk0p1 vfat       63M   35M   29M  56% \/boot\ntmpfs          tmpfs     101M  4.0K  101M   1% \/run\/user\/0<\/pre>\n

\u3068\u308a\u3042\u3048\u305a\u3001UnixBench\u3092\u8a08\u6e2c\u3002<\/p>\n

========================================================================\n   BYTE UNIX Benchmarks (Version 5.1.3)\n\n   System: DietPi: GNU\/Linux\n   OS: GNU\/Linux -- 3.4.39-01-lobo -- #1 SMP PREEMPT Sun Oct 25 14:46:41 CET 2015\n   Machine: armv7l (unknown)\n   Language: en_US.utf8 (charmap="ANSI_X3.4-1968", collate="ANSI_X3.4-1968")\n   18:43:35 up  1:33,  1 user,  load average: 0.26, 0.95, 0.59; runlevel 5\n\n------------------------------------------------------------------------\nBenchmark Run: Sat May 14 2016 18:43:35 - 19:12:08\n0 CPUs in system; running 4 parallel copies of tests\n\nDhrystone 2 using register variables       18226050.3 lps   (10.0 s, 7 samples)\nDouble-Precision Whetstone                     2710.4 MWIPS (10.5 s, 7 samples)\nExecl Throughput                               2233.2 lps   (29.8 s, 2 samples)\nFile Copy 1024 bufsize 2000 maxblocks        192414.4 KBps  (30.0 s, 2 samples)\nFile Copy 256 bufsize 500 maxblocks           47352.3 KBps  (30.0 s, 2 samples)\nFile Copy 4096 bufsize 8000 maxblocks        489199.2 KBps  (30.2 s, 2 samples)\nPipe Throughput                              913270.5 lps   (10.0 s, 7 samples)\nPipe-based Context Switching                 165224.5 lps   (10.0 s, 7 samples)\nProcess Creation                               5433.4 lps   (30.0 s, 2 samples)\nShell Scripts (1 concurrent)                   4580.1 lpm   (60.0 s, 2 samples)\nShell Scripts (8 concurrent)                    650.2 lpm   (60.2 s, 2 samples)\nSystem Call Overhead                        3176710.9 lps   (10.0 s, 7 samples)\n\nSystem Benchmarks Index Values               BASELINE       RESULT    INDEX\nDhrystone 2 using register variables         116700.0   18226050.3   1561.8\nDouble-Precision Whetstone                       55.0       2710.4    492.8\nExecl Throughput                                 43.0       2233.2    519.3\nFile Copy 1024 bufsize 2000 maxblocks          3960.0     192414.4    485.9\nFile Copy 256 bufsize 500 maxblocks            1655.0      47352.3    286.1\nFile Copy 4096 bufsize 8000 maxblocks          5800.0     489199.2    843.4\nPipe Throughput                               12440.0     913270.5    734.1\nPipe-based Context Switching                   4000.0     165224.5    413.1\nProcess Creation                                126.0       5433.4    431.2\nShell Scripts (1 concurrent)                     42.4       4580.1   1080.2\nShell Scripts (8 concurrent)                      6.0        650.2   1083.7\nSystem Call Overhead                          15000.0    3176710.9   2117.8\n                                                                   ========\nSystem Benchmarks Index Score                                         705.5<\/pre>\n

\u3061\u3087\u3063\u3068\u901f\u3044\u3067\u3059\u306d\u3002<\/p>\n

\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u4e2d\u3001\u6e29\u5ea6\u306fFAN \u3092\u4ed8\u3051\u3066\u3044\u3066\u308275\u5ea6\u306b\u306f\u306a\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n

root@DietPi:\/usr\/local\/src\/WiringOP\/examples# cpu\n\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n DietPi CPU Info\n Use dietpi-config to change CPU \/ performance options\n \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n Architecture |     armv7l\n Temp         |     Warning: 75'c | Reducing the life of your device.\n Governor     |     interactive\n\n                 Current Freq    Min Freq   Max Freq\n CPU0         |      1200 Mhz      480 Mhz    1200 Mhz\n CPU1         |      1200 Mhz      480 Mhz    1200 Mhz\n CPU2         |      1200 Mhz      480 Mhz    1200 Mhz\n CPU3         |      1200 Mhz      480 Mhz    1200 Mhz<\/pre>\n

\u5bff\u547d\u3092\u6e1b\u3089\u3057\u307e\u3059\u3088\u3063\u3066\u8868\u793a\u304c\u3002\u307e\u3041\u300175\u5ea6\u306f\u71b1\u3044\u3067\u3059\u304b\u3089\u306d\u3002<\/p>\n

\u30ed\u30fc\u30c9\u3055\u308c\u3066\u3044\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001<\/p>\n

root@DietPi:~# lsmod\nModule                  Size  Used by\ngpio_sunxi              8233  0 \n8189es                901572  0 \n8188eu                915632  0 \nmali_drm                6634  0 \ndrm                   180399  1 mali_drm\nmali                  213192  0 \nump                    41069  1 mali<\/pre>\n

\u3068\u3044\u3046\u611f\u3058\u3002mali \u95a2\u9023\u304c\u8aad\u307e\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u666e\u901a\u306bYouTube \u3082\u898b\u308c\u307e\u3057\u305f\u3088\u3002\"root_s_X_desktop__DietPi_0_\"<\/p>\n

GPIO \u3082\u8aad\u307e\u308c\u3066\u3044\u3066\u3001WiringOP \u3082\u4f7f\u3048\u307e\u3059\u3002<\/p>\n

root@DietPi:~# gpio readall\n +-----+-----+----------+------+---+--OrangePiPC--+---+------+---------+-----+--+\n | BCM | wPi |   Name   | Mode | V | Physical | V | Mode | Name     | wPi | BCM |\n +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+\n |     |     |     3.3v |      |   |  1 || 2  |   |      | 5v       |     |     |\n |   2 |   8 |    SDA.0 | ALT5 | 0 |  3 || 4  |   |      | 5V       |     |     |\n |   3 |   9 |    SCL.0 | ALT5 | 0 |  5 || 6  |   |      | 0v       |     |     |\n |   4 |   7 |   GPIO.7 |  OUT | 0 |  7 || 8  | 0 | OUT  | TxD3     | 15  | 14  |\n |     |     |       0v |      |   |  9 || 10 | 0 | OUT  | RxD3     | 16  | 15  |\n |  17 |   0 |     RxD2 |  OUT | 0 | 11 || 12 | 0 | OUT  | GPIO.1   | 1   | 18  |\n |  27 |   2 |     TxD2 |  OUT | 0 | 13 || 14 |   |      | 0v       |     |     |\n |  22 |   3 |     CTS2 |  OUT | 0 | 15 || 16 | 0 | OUT  | GPIO.4   | 4   | 23  |\n |     |     |     3.3v |      |   | 17 || 18 | 0 | OUT  | GPIO.5   | 5   | 24  |\n |  10 |  12 |     MOSI | ALT4 | 0 | 19 || 20 |   |      | 0v       |     |     |\n |   9 |  13 |     MISO | ALT4 | 0 | 21 || 22 | 0 | OUT  | RTS2     | 6   | 25  |\n |  11 |  14 |     SCLK | ALT4 | 0 | 23 || 24 | 0 | OUT  | CE0      | 10  | 8   |\n |     |     |       0v |      |   | 25 || 26 | 0 | OUT  | GPIO.11  | 11  | 7   |\n |   0 |  30 |    SDA.1 | ALT4 | 0 | 27 || 28 | 0 | ALT4 | SCL.1    | 31  | 1   |\n |   5 |  21 |  GPIO.21 |  OUT | 0 | 29 || 30 |   |      | 0v       |     |     |\n |   6 |  22 |  GPIO.22 |  OUT | 0 | 31 || 32 | 0 | OUT  | RTS1     | 26  | 12  |\n |  13 |  23 |  GPIO.23 |  OUT | 0 | 33 || 34 |   |      | 0v       |     |     |\n |  19 |  24 |  GPIO.24 |  OUT | 0 | 35 || 36 | 0 | OUT  | CTS1     | 27  | 16  |\n |  26 |  25 |  GPIO.25 | ALT3 | 0 | 37 || 38 | 0 | OUT  | TxD1     | 28  | 20  |\n |     |     |       0v |      |   | 39 || 40 | 0 | OUT  | RxD1     | 29  | 21  |\n +-----+-----+----------+------+---+----++----+---+------+----------+-----+-----+\n | BCM | wPi |   Name   | Mode | V | Physical | V | Mode | Name     | wPi | BCM |\n +-----+-----+----------+------+---+--OrangePIPC--+------+----------+-----+-----+<\/pre>\n

WiringOP \u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u66f4\u65b0\u3055\u308c\u3066\u3044\u3066\u3001\u8aad\u3081\u308b\u30d4\u30f3\u304c\u5897\u3048\u3066\u3044\u308b\u3088\u3046\u306a\u611f\u3058\u3067\u3059\u306d\u3002<\/p>\n

 <\/p>\n

\u4f7f\u3044\u3069\u3053\u308d\u306f\u3001\u5c11\u306a\u3044OS \u4f7f\u7528\u91cf\u3067\u3055\u304f\u3063\u3068\u4f55\u304b\u306b\u4f7f\u3044\u305f\u3044\u7528\u9014\u306b\u306f\u4fbf\u5229\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n

\u4eca\u3060\u3068\u3001Armbian \u306e OS \u3082 Orange Pi PC\u3068 one \u306e\u3068\u304c\u51fa\u3066\u3044\u308b\u306e\u3067\u305d\u3063\u3061\u3082\u4f7f\u3063\u3066\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4ee5\u524d\u3001\u30d5\u30a9\u30fc\u30e9\u30e0\u3067\u77e5\u3063\u305f DietPi \u3068\u3044\u3046\u306e\u3092 Orange PI PC \u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002 Kernel \u306f 3.4.39-01-lobo \u306a\u306e\u3067\u3001lobo\u30ab\u30fc\u30cd\u30eb\u3067\u3059\u3002 \u30d5\u30c3\u30c8\u30d7\u30ea\u30f3\u30c8\u304c\u5c0f\u3055\u304f\u306a\u3063\u3066\u3044\u308b\u3068\u306e\u3053\u3068\u3067 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[57,60],"tags":[],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":0,"uagb_excerpt":"\u4ee5\u524d\u3001\u30d5\u30a9\u30fc\u30e9\u30e0\u3067\u77e5\u3063\u305f DietPi \u3068\u3044\u3046\u306e\u3092 Orange PI PC \u3067\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002 Kernel…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/2158"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=2158"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/2158\/revisions"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=2158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=2158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=2158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}