{"id":13754,"date":"2019-05-31T19:12:59","date_gmt":"2019-05-31T10:12:59","guid":{"rendered":"https:\/\/www.appliot.co.jp\/lazurite-jp\/?p=13754"},"modified":"2020-05-29T14:12:38","modified_gmt":"2020-05-29T05:12:38","slug":"raspberry-pi%e3%81%ablazurite%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.appliot.co.jp\/lazurite-jp\/lazurite\/13754.html","title":{"rendered":"Raspberry Pi\u306bLazurite\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<p>\u4eca\u56de\u306e\u4f5c\u696d\u3092\u3059\u308b\u524d\u306b\u3001\u4e0a\u8a18 1., 2.\u306e\u4f5c\u696d\u306f\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>Lazurite\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/h3>\n<p>cd ~<br \/>\ngit clone git:\/\/github.com\/LAPIS-Lazurite\/LazuriteInstaller<\/p>\n<p>\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001Lazurite\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u4f7f\u7528\u3059\u308bIO\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u63db\u3048\u308b<\/h3>\n<p>2019\/7\/10\u306b\u66f4\u65b0\u3057\u305fLazuriteInstaller\u3067\u306f\u81ea\u52d5\u8a2d\u5b9a\u3059\u308b\u3088\u3046\u306b\u4fee\u6b63\u3092\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><s><br \/>\nRaspberry Pi\u306e\u30e1\u30cb\u30e5\u306e\u8a2d\u5b9a\u304b\u3089\u300cRaspberry Pi\u306e\u8a2d\u5b9a\u300d\u3092\u9078\u629e<\/s><\/p>\n<p><a href=\"https:\/\/www.appliot.co.jp\/lazurite-jp\/lapis_admin\/wp-content\/uploads\/raspberrypi_setting.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13852 size-medium\" src=\"https:\/\/www.appliot.co.jp\/lazurite-jp\/lapis_admin\/wp-content\/uploads\/raspberrypi_setting-187x200.png\" alt=\"\" width=\"187\" height=\"200\" srcset=\"https:\/\/www.appliot.co.jp\/lazurite-jp\/lapis_admin\/wp-content\/uploads\/raspberrypi_setting-187x200.png 187w, https:\/\/www.appliot.co.jp\/lazurite-jp\/lapis_admin\/wp-content\/uploads\/raspberrypi_setting.png 572w\" sizes=\"auto, (max-width: 187px) 100vw, 187px\" \/><\/a><\/p>\n<p>\u300c\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u300d\u306e\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001SPI\u3068I2C\u3092\u6709\u52b9\u306b\u3059\u308b<\/p>\n<h3><a href=\"https:\/\/www.appliot.co.jp\/lazurite-jp\/lapis_admin\/wp-content\/uploads\/raspberrypi_settinginterface.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-13855 size-medium alignnone\" src=\"https:\/\/www.appliot.co.jp\/lazurite-jp\/lapis_admin\/wp-content\/uploads\/raspberrypi_settinginterface-300x190.png\" alt=\"\" width=\"300\" height=\"190\" srcset=\"https:\/\/www.appliot.co.jp\/lazurite-jp\/lapis_admin\/wp-content\/uploads\/raspberrypi_settinginterface-300x190.png 300w, https:\/\/www.appliot.co.jp\/lazurite-jp\/lapis_admin\/wp-content\/uploads\/raspberrypi_settinginterface.png 618w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h3>\n<p>&nbsp;<\/p>\n<h3>setup.sh\u306e\u5b9f\u884c\u3092\u884c\u3046\u3002<\/h3>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>cd LazuriteInstaller<br \/>\n.\/setup.sh<\/p>\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u4ee5\u4e0b\u306e\u4f5c\u696d\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>Raspberry Pi\u306e\u30ab\u30fc\u30cd\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001Lazurite\u306e\u7121\u7dda\u7528\u30c9\u30e9\u30a4\u30d0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b<\/li>\n<li>IO\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb(DTB\u30d5\u30a1\u30a4\u30eb)\u3092\u30d3\u30eb\u30c9\u3057\u3066\u3001\u8d77\u52d5\u6642\u306b\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<\/ul>\n<p>\u5b8c\u4e86\u3057\u305f\u3089\u518d\u8d77\u52d5\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>install.sh\u306e\u5b9f\u884c\u3092\u884c\u3046<\/h3>\n<p>\u518d\u8d77\u52d5\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>cd LazuriteInstaller<br \/>\n.\/install.sh<\/p>\n<h2 id=\"troubleshooting\">(\u304a\u307e\u3051)\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h2>\n<h3>lazdriver.ko\u304c\u6b63\u3057\u304f\u3067\u304d\u3066\u3044\u306a\u3044\u5834\u5408<\/h3>\n<p>\u2460 sudo apt-get upgrade\u3092\u3057\u305f\u3042\u3068\u306b\u518d\u8d77\u52d5\u3057\u306a\u304b\u3063\u305f<\/p>\n<p>\u305d\u306e\u6642\u306f\u3053\u306e\u3088\u3046\u306a\u30ef\u30fc\u30cb\u30f3\u30b0\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u307e\u3059\u3002<\/p>\n<p>[code language=&#8221;bash&#8221;]<\/p>\n<p>pi@raspberrypi:~\/driver\/LazDriver $ make<br \/>\necho drv-lazurite.c subghz_api.c aes\/aes.c mach.c arib_lazurite.c macl.c phy\/phy_ml7396.c hwif\/hal-lzpi.c hwif\/random-lzpi.c hwif\/spi-lzpi.c hwif\/i2c-lzpi.c<br \/>\ndrv-lazurite.c subghz_api.c aes\/aes.c mach.c arib_lazurite.c macl.c phy\/phy_ml7396.c hwif\/hal-lzpi.c hwif\/random-lzpi.c hwif\/spi-lzpi.c hwif\/i2c-lzpi.c<br \/>\nmake -C \/lib\/modules\/4.19.42-v7+\/build SUBDIRS=\/home\/pi\/driver\/LazDriver modules<br \/>\nmake[1]: *** \/lib\/modules\/4.19.42-v7+\/build: \u305d\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3042\u308a\u307e\u305b\u3093. \u4e2d\u6b62.<br \/>\nMakefile:32: \u30bf\u30fc\u30b2\u30c3\u30c8 &#8216;all&#8217; \u306e\u30ec\u30b7\u30d4\u3067\u5931\u6557\u3057\u307e\u3057\u305f<br \/>\nmake: *** [all] \u30a8\u30e9\u30fc 2<\/p>\n<p>[\/code]<\/p>\n<p>\u305d\u306e\u5834\u5408\u306f\u3001linux\u306e\u30ab\u30fc\u30cd\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5bfe\u5fdc\u3057\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c&#8221;\/lib\/modules&#8221;\u306b\u7121\u3044\u306e\u304c\u539f\u56e0\u3067\u3059\u3002<\/p>\n<p>[code language=&#8221;bash&#8221;]<br \/>\npi@raspberrypi:~\/driver\/LazDriver $ cd \/lib\/modules\/<br \/>\npi@raspberrypi:\/lib\/modules $ ls<br \/>\n4.19.42+ 4.19.42-v7+<br \/>\npi@raspberrypi:\/lib\/modules $ uname -r<br \/>\n4.19.42-v7+<br \/>\npi@raspberrypi:\/lib\/modules $<br \/>\n[\/code]<\/p>\n<p>\u305d\u306e\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5bfe\u51e6\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>[code language=&#8221;bash&#8221;]<\/p>\n<p>#\u30ab\u30fc\u30cd\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u5bfe\u5fdc\u3057\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210<br \/>\npi@raspberrypi:\/lib\/modules $ sudo mkdir 4.19.42-v7+<br \/>\npi@raspberrypi:\/lib\/modules $ cd 4.19.42-v7+<\/p>\n<p>#sorce\u3068build\u306e\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u4f5c\u6210<br \/>\npi@raspberrypi:\/lib\/modules\/4.19.42-v7+ $ sudo ln -s \/home\/pi\/linux source<br \/>\npi@raspberrypi:\/lib\/modules\/4.19.42-v7+ $ sudo ln -s \/home\/pi\/linux build<\/p>\n<p>#sorce\u3068build\u306e\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u306e\u78ba\u8a8d<br \/>\npi@raspberrypi:\/lib\/modules\/4.19.42-v7+ $ ls -l<br \/>\n\u5408\u8a08 0<br \/>\nlrwxrwxrwx 1 root root 14 5\u6708 30 20:10 build -&gt; \/home\/pi\/linux<br \/>\nlrwxrwxrwx 1 root root 14 5\u6708 30 20:10 source -&gt; \/home\/pi\/linux<\/p>\n<p>#lazdriver\u306e\u30d3\u30eb\u30c9<br \/>\npi@raspberrypi:\/lib\/modules\/4.19.42-v7+ $ cd ~\/driver\/LazDriver<br \/>\npi@raspberrypi:\/lib\/modules\/4.19.42-v7+ $ make<\/p>\n<p>[\/code]<\/p>\n<h3>\u30d3\u30eb\u30c9\u306f\u3067\u304d\u305f\u304c\u30ed\u30b0\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u30b0\u30c1\u30e3\u30b0\u30c1\u30e3\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408<\/h3>\n<p>\uff12\uff0e\u306e\u4f5c\u696d\u3092\u5fd8\u308c\u305f\u30013. \u306e\u4f5c\u696d\u306b\u5931\u6557\u3057\u305f\u3001\u3068\u3044\u3063\u305f\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3042\u3089\u305f\u3081\u3066\u30012.\u30683.\u306e\u4f5c\u696d\u3092\u3084\u308a\u76f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306e\u4f5c\u696d\u3092\u3059\u308b\u524d\u306b\u3001\u4e0a\u8a18 1., 2.\u306e\u4f5c\u696d\u306f\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002 Lazurite\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002 cd ~ git clone git:\/\/github.com\/LAPIS-Lazurite\/LazuriteInstaller \u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001Lazurite\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u4f7f\u7528\u3059\u308bIO\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u66f8\u304d\u63db\u3048\u308b 2019\/7\/10\u306b\u66f4\u65b0\u3057\u305fLazuriteInstaller\u3067\u306f\u81ea\u52d5\u8a2d\u5b9a\u3059\u308b\u3088\u3046\u306b\u4fee\u6b63\u3092\u3057\u307e\u3057\u305f\u3002 Raspberry Pi\u306e\u30e1\u30cb\u30e5\u306e\u8a2d\u5b9a\u304b\u3089\u300cRaspberry Pi\u306e\u8a2d\u5b9a\u300d\u3092\u9078\u629e \u300c\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u300d\u306e\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001SPI\u3068I2C\u3092\u6709\u52b9\u306b\u3059\u308b &nbsp; setup.sh\u306e\u5b9f\u884c\u3092\u884c\u3046\u3002 \u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002 cd LazuriteInstaller .\/setup.sh \u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u4ee5\u4e0b\u306e\u4f5c\u696d\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002 Raspberry Pi\u306e\u30ab\u30fc\u30cd\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u3001Lazurite\u306e\u7121\u7dda\u7528\u30c9\u30e9\u30a4\u30d0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b IO\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb(DTB\u30d5\u30a1\u30a4\u30eb)\u3092\u30d3\u30eb\u30c9\u3057\u3066\u3001\u8d77\u52d5\u6642\u306b\u8aad\u307f\u8fbc\u307e\u308c\u308b\u3088\u3046\u306b\u3059\u308b \u5b8c\u4e86\u3057\u305f\u3089\u518d\u8d77\u52d5\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002 &nbsp; install.sh\u306e\u5b9f\u884c\u3092\u884c\u3046 \u518d\u8d77\u52d5\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002 cd LazuriteInstaller .\/ [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[11,20],"tags":[],"class_list":["post-13754","post","type-post","status-publish","format-standard","hentry","category-lazurite","category-raspberry-pi"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.appliot.co.jp\/lazurite-jp\/wp-json\/wp\/v2\/posts\/13754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appliot.co.jp\/lazurite-jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appliot.co.jp\/lazurite-jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appliot.co.jp\/lazurite-jp\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appliot.co.jp\/lazurite-jp\/wp-json\/wp\/v2\/comments?post=13754"}],"version-history":[{"count":12,"href":"https:\/\/www.appliot.co.jp\/lazurite-jp\/wp-json\/wp\/v2\/posts\/13754\/revisions"}],"predecessor-version":[{"id":14337,"href":"https:\/\/www.appliot.co.jp\/lazurite-jp\/wp-json\/wp\/v2\/posts\/13754\/revisions\/14337"}],"wp:attachment":[{"href":"https:\/\/www.appliot.co.jp\/lazurite-jp\/wp-json\/wp\/v2\/media?parent=13754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appliot.co.jp\/lazurite-jp\/wp-json\/wp\/v2\/categories?post=13754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appliot.co.jp\/lazurite-jp\/wp-json\/wp\/v2\/tags?post=13754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}