{"id":632,"date":"2019-01-15T14:05:15","date_gmt":"2019-01-15T14:05:15","guid":{"rendered":"http:\/\/lora.vsb.cz\/?page_id=632"},"modified":"2019-11-15T07:37:09","modified_gmt":"2019-11-15T07:37:09","slug":"alternative-pc-boards","status":"publish","type":"page","link":"https:\/\/lora.vsb.cz\/index.php\/alternative-pc-boards\/","title":{"rendered":"Alternative PC boards"},"content":{"rendered":"<h3><strong><span style=\"color: black; background-color: gold;\">Banana Pi M64<\/span><\/strong><\/h3>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-710\" src=\"http:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/02\/bananam64.jpg\" alt=\"\" width=\"361\" height=\"204\" srcset=\"https:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/02\/bananam64.jpg 720w, https:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/02\/bananam64-300x170.jpg 300w\" sizes=\"auto, (max-width: 361px) 100vw, 361px\" \/><\/p>\n<p><span style=\"color: #008000;\"><strong>Advantages:<\/strong><\/span><\/p>\n<ul>\n<li>eMMC (instead of microSD)<\/li>\n<\/ul>\n<p><span style=\"color: #ff0000;\"><strong>Disadvantages:<\/strong><\/span><\/p>\n<ul>\n<li>non-regular RPI instructions (non-100% compatible GPIO wiring PI)<\/li>\n<li>not up-to-date Raspbian OS<\/li>\n<li>purchasing price<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>Install procedure:<\/strong><\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-648 aligncenter\" src=\"http:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/01\/m2u-gpio.jpg\" alt=\"\" width=\"286\" height=\"209\" srcset=\"https:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/01\/m2u-gpio.jpg 568w, https:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/01\/m2u-gpio-300x219.jpg 300w\" sizes=\"auto, (max-width: 286px) 100vw, 286px\" \/><\/h2>\n<hr \/>\n<h3><strong><span style=\"color: black; background-color: gold;\">Raspberry PI Compute Module 3<\/span><\/strong><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-712\" src=\"http:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/02\/rpi3cm.jpg\" alt=\"\" width=\"426\" height=\"327\" srcset=\"https:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/02\/rpi3cm.jpg 1000w, https:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/02\/rpi3cm-300x230.jpg 300w, https:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/02\/rpi3cm-768x588.jpg 768w\" sizes=\"auto, (max-width: 426px) 100vw, 426px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #008000;\"><strong>Advantages:<\/strong><\/span><\/p>\n<ul>\n<li>industry-designed (temperature robustness)<\/li>\n<li>eMMC (instedad microSD)<\/li>\n<li>regular RPI instructions and Raspbian OS<\/li>\n<li>extended GPIO pins (if needed)<\/li>\n<\/ul>\n<p><span style=\"color: #ff0000;\"><strong>Disadvantages:<\/strong><\/span><\/p>\n<ul>\n<li>purchasing price<\/li>\n<li>missing LAN interface (need to be used USB-LAN adapter)<\/li>\n<\/ul>\n<p><strong>Install procedure:<\/strong><\/p>\n<p><a href=\"https:\/\/www.raspberrypi.org\/documentation\/hardware\/computemodule\/cm-emmc-flashing.md\">https:\/\/www.raspberrypi.org\/documentation\/hardware\/computemodule\/cm-emmc-flashing.md<\/a><\/p>\n<pre>Make sure J4 (USB SLAVE BOOT ENABLE)\r\nsudo apt-get install git\r\ngit clone --depth=1 https:\/\/github.com\/raspberrypi\/usbboot\r\ncd usbboot\r\nsudo apt-get install libusb-1.0-0-dev\r\nmake\r\nsudo .\/rpiboot\r\nsudo dd if=raw_os_image_of_your_choice.img of=\/dev\/sdX bs=4MiB\r\n<\/pre>\n<p>TTN installation<br \/>\n==============<br \/>\n1) follow the same steps as in Raspberry PI 2\/3<\/p>\n<p>2) in <strong><code>.\/bin\/start.sh<\/code><\/strong> comment GPIO7 (otherwise PIN7 is in HIGH and iC880 is in restart mode)<\/p>\n<p style=\"text-align: left;\">PINOUT:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-739 alignleft\" src=\"http:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/02\/pinout-rpiCM3.jpg\" alt=\"\" width=\"177\" height=\"217\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h3 class=\"navig\"><strong><span style=\"color: black; background-color: gold;\">UP board 2GB + 32 GB eMMC memory<\/span><\/strong><\/h3>\n<div class=\"col-lg-6 col-sm-6 col-xs-12\"><img loading=\"lazy\" decoding=\"async\" class=\"img-responsive aligncenter\" src=\"https:\/\/www.iqrf.shop\/images\/product\/det\/up-board-2gb-32-gb-emmc-memory4.jpg\" width=\"266\" height=\"266\" \/><\/div>\n<p><span style=\"color: #008000;\"><strong>Advantages:<\/strong><\/span><\/p>\n<ul>\n<li>industry-designed (temperature robustness)<\/li>\n<li>eMMC (instedad microSD)<\/li>\n<li>regular 64bit OS (e.g. Ubuntu 18.04)<\/li>\n<\/ul>\n<p><span style=\"color: #ff0000;\"><strong>Disadvantages:<\/strong><\/span><\/p>\n<ul>\n<li>higher price (more-less 4x higher than RasberryPi)<\/li>\n<li>GPIO emulation<\/li>\n<li>some scripts doesn&#8217;t detect a version of HW (need to debug)\n<ul>\n<li>TTN script <strong><code>\/opt\/ttn-gateway\/start.sh<\/code><\/strong> needs to be updated. UPboard has a default state on GPIO pin no xxx as hight (the original script for RPI expect the low state)<\/li>\n<li>Update of SPI<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>Buy at:<\/strong> <a href=\"https:\/\/www.iqrf.shop\/product\/detail\/?product=2461\">https:\/\/www.iqrf.shop\/product\/detail\/?product=2461<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-650\" src=\"http:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/01\/up.png\" alt=\"\" width=\"501\" height=\"351\" srcset=\"https:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/01\/up.png 854w, https:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/01\/up-300x210.png 300w, https:\/\/lora.vsb.cz\/wp-content\/uploads\/2019\/01\/up-768x539.png 768w\" sizes=\"auto, (max-width: 501px) 100vw, 501px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Install procedure:<\/strong><\/p>\n<p>1) boot <code>USB Rfus<\/code> (<a href=\"https:\/\/rufus.akeo.ie\/\">https:\/\/rufus.akeo.ie\/<\/a>) with <code>ubilinux.iso<\/code> (<a href=\"https:\/\/emutex.com\/products\/ubilinux\">https:\/\/emutex.com\/products\/ubilinux<\/a>), see also <a href=\"http:\/\/wiki.up-community.org\/Ubilinux\">http:\/\/wiki.up-community.org\/Ubilinux<\/a><\/p>\n<p>2) after boot press <strong>F7<\/strong>, choose target disk: usually the default is ok <code>(\/dev\/mmcblk0)<\/code><\/p>\n<p>3) set boot to <code>runlevel_2<\/code><\/p>\n<p>4) connect UP board with iC880, <span style=\"color: #ff0000;\">CAUTION:\u00a0\u00a0<\/span>reset pin (pin13 at iC880) in connected to (=Linux GPIO 7, upBoard pin =22)<\/p>\n<p>5) follow the instructions at <a href=\"http:\/\/lora.vsb.cz\/index.php\/building-ttn-gateway\/\">http:\/\/lora.vsb.cz\/index.php\/building-ttn-gateway\/<\/a><\/p>\n<p>6) if the installation fails go to <code>\/opt\/ttn-gateway<\/code> and manually install <code>packet_forwarder<\/code>\u00a0and <code>lora_gateway<\/code><\/p>\n<p>7) add in <code>.\/bin<\/code>\u00a0<code>ln -s<\/code> with link to <code>reset_pkt_fwd.sh<\/code><\/p>\n<p>8) in\u00a0<code>reset_pkt_fwd.sh<\/code>\u00a0an in <code>start.sh<\/code> change reset pin to <strong>22<\/strong><\/p>\n<p>9) in <code>.\/bin\/start.sh<\/code>\u00a0call <code>.\/restart_pkt_fwd.sh<\/code>\u00a0before <code>pckt_fwd.sh<\/code><\/p>\n<p>10) modify in<br \/>\n<code>.\/lora_gateway\/libloragw\/inc\/lorank.h<\/code><br \/>\n<code>.\/lora_gateway\/libloragw\/inc\/imst_rpi.h<\/code><\/p>\n<pre>#define SPI_DEV_PATH \"\/dev\/spidev0.0\"\r\ncat \/sys\/bus\/spi\/devices\/spi*\r\n#define SPI_DEV_PATH \"\/dev\/spidev2.0\"\r\n<\/pre>\n<p>11) start by: <code>\/opt\/ttn-gateway\/bin\/start.sh<\/code><br \/>\nrestart by: <code>\/opt\/ttn-gateway\/bin\/restart_pkt_fwd.sh start<\/code><\/p>\n<p>12) <span style=\"color: #ff0000;\">make backup via bootable USB<\/span>\u00a0with Ubuntu 18.04 (in GPT) by <code>dd<\/code><\/p>\n<p>14) DEBUG: enable in <code>.\/lora_gateway\/libloragw\/inc\/config.h<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Banana Pi M64 Advantages: eMMC (instead of microSD) Disadvantages: non-regular RPI instructions (non-100% compatible GPIO wiring PI) not up-to-date Raspbian OS purchasing price &nbsp; Install procedure: Raspberry PI Compute Module 3 &nbsp; Advantages: industry-designed (temperature robustness) eMMC (instedad microSD) regular RPI instructions and Raspbian OS extended GPIO pins (if needed) Disadvantages: purchasing price missing LAN [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-632","page","type-page","status-publish","hentry","post"],"_links":{"self":[{"href":"https:\/\/lora.vsb.cz\/index.php\/wp-json\/wp\/v2\/pages\/632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lora.vsb.cz\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lora.vsb.cz\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lora.vsb.cz\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lora.vsb.cz\/index.php\/wp-json\/wp\/v2\/comments?post=632"}],"version-history":[{"count":43,"href":"https:\/\/lora.vsb.cz\/index.php\/wp-json\/wp\/v2\/pages\/632\/revisions"}],"predecessor-version":[{"id":893,"href":"https:\/\/lora.vsb.cz\/index.php\/wp-json\/wp\/v2\/pages\/632\/revisions\/893"}],"wp:attachment":[{"href":"https:\/\/lora.vsb.cz\/index.php\/wp-json\/wp\/v2\/media?parent=632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}