{"id":1172,"date":"2014-01-02T09:17:19","date_gmt":"2014-01-02T00:17:19","guid":{"rendered":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/?p=1172"},"modified":"2014-02-03T06:24:55","modified_gmt":"2014-02-02T21:24:55","slug":"beaglebone-black-1","status":"publish","type":"post","link":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/2014\/01\/beaglebone-black-1\/","title":{"rendered":"<!--:ja-->BeagleBone Black \u306e\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30cf\u30c3\u30af(1) <!--:--><!--:en-->Hacking BeagleBone Black, part 1<!--:-->"},"content":{"rendered":"<p><!--:ja--><\/p>\n<h2>1. \u306f\u3058\u3081\u306b<\/h2>\n<p>BeagleBone Black(BBB)\u306fARM\u3092\u30d9\u30fc\u30b9\u306b\u3057\u305f\u5c0f\u578bLinux\u30b5\u30fc\u30d0\u3067\u3059\u3002\u6559\u80b2\u7528\u306b\u30d6\u30ec\u30fc\u30af\u4e2d\u306eRasPi\u3068\u985e\u4f3c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>RasPi\u306b\u6bd4\u3079\u3066\u6027\u80fd\u304c\u9ad8\u304f\u3001\u62e1\u5f35\u7528\u306b\u4f7f\u3048\u308b\u30d4\u30f3\u6570\u304c\u591a\u3044\u3068\u3044\u3063\u305f\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u65e5\u672c\u8a9e\u306e\u60c5\u5831\u304c\u5c11\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>BBB\u306b\u95a2\u3059\u308b\u60c5\u5831\u5171\u6709\u306e\u305f\u3081\u3001\u30cf\u30c3\u30af\u306e\u8a18\u9332\u3092\u66f8\u3044\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div id=\"attachment_1187\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2014\/01\/IMGP9681.jpg\"><img aria-describedby=\"caption-attachment-1187\" loading=\"lazy\" class=\"size-medium wp-image-1187\" title=\"BBB\" src=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2014\/01\/IMGP9681-400x264.jpg\" alt=\"BeagleBone Black\" width=\"400\" height=\"264\" srcset=\"http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2014\/01\/IMGP9681-400x264.jpg 400w, http:\/\/morecatlab.akiba.coocan.jp\/lab\/wp-content\/uploads\/2014\/01\/IMGP9681.jpg 640w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-1187\" class=\"wp-caption-text\">BeagleBone Black<\/p><\/div>\n<p><!--:--><!--more--><!--:ja--><\/p>\n<h2>2. \u4f55\u306b\u4f7f\u3046\u304b\uff1f<\/h2>\n<p>BBB\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3092\u5185\u8535\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306a\u30c7\u30d0\u30a4\u30b9\u4f5c\u6210\u7b49\u306e\u5fdc\u7528\u304c\u53ef\u80fd\u3067\u3059\u3002\u307e\u305fArduino\u306b\u6bd4\u3079\u3066CPU\u3082\u305d\u308c\u306a\u308a\u306b\u5f37\u529b\u306a\u306e\u3067\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b7\u30f3\u30bb\u3084\u753b\u50cf\u51e6\u7406\u306a\u3069\u6f14\u7b97\u51e6\u7406\u3092\u4f34\u3046\u88c5\u7f6e\u306b\u3082\u597d\u9069\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001\u4ee5\u4e0b\u306e\uff12\u3064\u306e\u4f7f\u3044\u65b9\u3092\u76ee\u6307\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fb\u6c17\u8c61\u89b3\u6e2c\u30b9\u30c6\u30fc\u30b7\u30e7\u30f3\uff08\u53d6\u308a\u4ed8\u3051\u305f\u30bb\u30f3\u30b5\u3092\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7d4c\u7531\u3067\u78ba\u8a8d\u3067\u304d\u308b\u88c5\u7f6e\uff09<\/p>\n<p>\u30fbMIDI\u30b7\u30fc\u30b1\u30f3\u30b5\uff08\u8a73\u7d30\u672a\u5b9a\uff09<\/p>\n<h2>3. Angstrorm Linux\u3092\u4f7f\u3046<\/h2>\n<p>BBB\u306e\u5185\u8535\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306b\u5c0e\u5165\u6e08\u306eAngstrom Linux\u306f\u3001\u7d44\u307f\u8fbc\u307f\u7528\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<p>\u4ed6\u306bSD\u30ab\u30fc\u30c9\u3092\u4f7f\u3063\u3066Ubuntu\u306a\u3069\u306e\u30e1\u30b8\u30e3\u30fc\u306a\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3082\u9078\u629e\u53ef\u80fd\u3067\u3059\u3002\uff08\u306a\u304b\u306b\u306fNetBSD\u3092\u79fb\u690d\u3057\u3066\u3044\u308b\u4eba\u3082\u5c45\u308b\u69d8\u3067\u3059\u3002\u3002\u3002\uff09<\/p>\n<p>\u65b0\u9bae\u3055\u304c\u306a\u3044\u306e\u3068\u52c9\u5f37\u306e\u305f\u3081\u30b3\u30f3\u30d1\u30af\u30c8\u306aAngstrom\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>3.1 OS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u3068\u3082\u3042\u308c\u3001Angstrom Linux \u3092\u4f7f\u3046\u305f\u3081\u306b\u3001OS\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u958b\u59cb\u3057\u307e\u3057\u305f\u3002<\/p>\n<h4>(1) \u307e\u305a\u306f\u6700\u65b0\u306e\u30d9\u30fc\u30b9\u30a4\u30e1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/h4>\n<p>BBB\u51fa\u8377\u6642\u306b\u5185\u8535\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306b\u306fAngstrom Linux\u304c\u65e2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u307e\u307e\u4f7f\u3063\u3066\u3082\u826f\u3044\u306e\u3067\u3059\u304c\u3001\u6700\u65b0\u7248OS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u8a73\u7d30\u624b\u9806\u306f\u3001Adadruit\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"http:\/\/learn.adafruit.com\/beaglebone-black-installing-operating-systems\">http:\/\/learn.adafruit.com\/beaglebone-black-installing-operating-systems<\/a><\/p>\n<p>\u624b\u9806\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u30db\u30b9\u30c8(MacOSX)\u3078\u306e\u30a4\u30e1\u30fc\u30b8\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/li>\n<li>\u5185\u8535\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306e\u66f8\u304d\u63db\u3048\u4f5c\u696d\u7528\u306e\u30de\u30a4\u30af\u30edSD\u30ab\u30fc\u30c9\u4f5c\u6210<\/li>\n<li>BBB\u306e\u5185\u8535\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u3078\u306e\u66f8\u304d\u8fbc\u307f<\/li>\n<\/ol>\n<p>\u6700\u65b0\u30a4\u30e1\u30fc\u30b8\u306f\u6b21\u306e\u5834\u6240\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/beagleboard.org\/latest-images\/\">http:\/\/beagleboard.org\/latest-images\/<\/a><\/p>\n<p>\u4f7f\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306f2013\/09\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\u3002\u300cBBB-eMMC-flasher-2013.09.04.img.xz\u300d\u5727\u7e2e\u3055\u308c\u305f\u72b6\u614b\u3067370MB\u7a0b\u5ea6\u3067\u3059\u3002<\/p>\n<p><div class=\"note\"><div class=\"notewarning\"><\/p>\n<p>\u5185\u8535\u30d5\u30e9\u30c3\u30b7\u30e5\u30e1\u30e2\u30ea\u306e\u66f8\u304d\u63db\u3048\u306b\u306f\uff11\u6642\u9593\u7a0b\u5ea6\u304b\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><\/div><\/div><\/p>\n<h4>(2) \u7d9a\u3044\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\uff06\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3092\u3057\u307e\u3059\u3002<\/h4>\n<p>BBB\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u63a5\u7d9a\u3057\u3001\u30db\u30b9\u30c8\u304b\u3089\u30ea\u30e2\u30fc\u30c8\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002BBB\u306fDHCP\u3092\u4f7f\u3063\u3066IP\u30a2\u30c9\u30ec\u30b9\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u306e\u3067\u3001DHCP\u30b5\u30fc\u30d0\u7b49\u304b\u3089\u30a2\u30c9\u30ec\u30b9\u3092\u8abf\u3079\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u305f\u3089\u3001root\u30e6\u30fc\u30b6\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u30b7\u30b9\u30c6\u30e0\u3092\u4f7f\u3063\u3066\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\uff08BeagleBone Black\u4e0a\u3067\uff09\r\n\r\n# opkg update\r\n# opkg upgrade\r\n<\/pre>\n<p><div class=\"note\"><div class=\"notewarning\"><\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u6570\u6642\u9593\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><\/div><\/div><\/p>\n<h3>3.2 Emacs\u306e\u5c0e\u5165<\/h3>\n<p>\u30a8\u30c7\u30a3\u30bf\u304c\u7121\u3044\u3068\u59cb\u307e\u3089\u306a\u3044\u306e\u3067\u3068\u308a\u3042\u3048\u305aEmacs\u3092\u5165\u308c\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\uff08BeagleBone Black\u4e0a\u3067\uff09\r\n\r\n# opkg install emacs\r\n<\/pre>\n<p>\u3082\u3068\u304b\u3089nano\u3068\u3044\u3046\u30a8\u30c7\u30a3\u30bf\u304c\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u308c\u3067\u3082\u826f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h3>3.3 ssh\u3067\u306e\u30ea\u30e2\u30fc\u30c8\u30ed\u30b0\u30a4\u30f3<\/h3>\n<p>\u306a\u305c\u304b\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u3067Emacs\u304c\u6b63\u5e38\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u56de\u907f\u7b56\u3068\u3057\u3066\u3001X Windows\u7248\u306eEmacs\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>ssh\u3067\u306e\u30ed\u30b0\u30a4\u30f3\u6642\u306b -X\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u3053\u3068\u3067\u3001\u30db\u30b9\u30c8\u5074\u306eX\u30b5\u30fc\u30d0\u306b\u30ea\u30e2\u30fc\u30c8\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n\uff08\u30db\u30b9\u30c8\u4e0a\u3067\uff09\r\n\r\nmac% ssh -X -l user 192.168.0.16\r\n\r\n<\/pre>\n<p>\uff08\u7d9a\u304f\uff09<!--:--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u306f\u3058\u3081\u306b BeagleBone Black(BBB)\u306fARM\u3092\u30d9\u30fc\u30b9\u306b\u3057\u305f\u5c0f\u578bLinux\u30b5\u30fc\u30d0\u3067\u3059\u3002\u6559\u80b2\u7528\u306b\u30d6\u30ec\u30fc\u30af\u4e2d\u306eRasPi\u3068\u985e\u4f3c\u3057\u3066\u3044\u307e\u3059\u3002 RasPi\u306b\u6bd4\u3079\u3066\u6027\u80fd\u304c\u9ad8\u304f\u3001\u62e1\u5f35\u7528\u306b\u4f7f\u3048\u308b\u30d4\u30f3\u6570\u304c\u591a\u3044\u3068\u3044\u3063\u305f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[18,7],"tags":[],"_links":{"self":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/1172"}],"collection":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/comments?post=1172"}],"version-history":[{"count":20,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/1172\/revisions"}],"predecessor-version":[{"id":1190,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/posts\/1172\/revisions\/1190"}],"wp:attachment":[{"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/media?parent=1172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/categories?post=1172"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/morecatlab.akiba.coocan.jp\/lab\/index.php\/wp-json\/wp\/v2\/tags?post=1172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}