From 55d3fe4f6345bb5128b8e9e94bc28d0454a70337 Mon Sep 17 00:00:00 2001 From: Ray Ozzie Date: Fri, 22 Apr 2016 12:07:18 -0400 Subject: [PATCH] added comments about linklabs hacks still needed --- run.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/run.sh b/run.sh index ff25152..c48a3ba 100755 --- a/run.sh +++ b/run.sh @@ -1,5 +1,24 @@ #! /bin/bash +##### COMMENTS ABOUT LINKLABS HACKS still yet to be done +## +## Resin folks (Andrei, on 4/22) are working on some changes +## that will ultimately enable TWO ways of dealing with RPI3: +## +## Option #1: Leave RPi serial on /dev/ttyS0 and bluetooth on /dev/ttyAMA0 +## This would require adding this Fleet Configuration variable, which +## fixes RPi3 serial port speed issues: +## RESIN_HOST_CONFIG_core_freq = 250 +## This option also requires us to change the run.sh +## so that when GW_TYPE==linklabs-dev we default the +## serial port to /dev/ttyS0 rather than /dev/ttyAMA0 +## +## Option #2: Disable bluetooth and put RPi serial back onto /dev/ttyAMA0 +## This would require adding this Fleet Configuration variable: +## RESIN_HOST_CONFIG_dtoverlay=pi3-miniuart-bt +## +##### + # Exit if we're debugging and haven't yet built the gateway. if [ ! -f "ttn-gateway" ]; then