<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 20, 2016, at 6:19 PM, Frank Nicholas <<a href="mailto:frank@nicholasfamilycentral.com" class="">frank@nicholasfamilycentral.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class=""><div class=""><br class="Apple-interchange-newline">On May 20, 2016, at 2:39 PM, Eric S. Raymond <<a href="mailto:esr@thyrsus.com" class="">esr@thyrsus.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Anthony Stirk <<a href="mailto:upuaut@gmail.com" class="">upuaut@gmail.com</a>>:<br class=""><blockquote type="cite" class="">Will respond more later but serial port thing fixed here :<br class=""><br class=""><a href="https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=148515" class="">https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=148515</a><br class=""></blockquote><br class="">I attempted to follow one set of those directions. Specifically,<br class="">I changed /boot/config.txt so enable_uart=1 and disabled auto because<br class="">the enable for it was on the line above rthat - seems like they might<br class="">have both been put there by raspi-config.<br class=""><br class="">That looked like it ought to work, But it didn't. Sigh.<br class=""><br class="">If anyone has a /boot/config.txt and /boot/cmdline.txt that makes<br class="">the GPS visible under 2016-05-10-raspbian-jessie-lite, I'd love to see it.<br class=""></div></div></blockquote><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Please see this page:</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141195" class="">https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=141195</a></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">It explains the change in UART behavior & what the options are used for. “<span class="" style="font-family: Menlo; font-size: 11px;">enable_uart=1</span>” is used if you want a UART **console** on boot-up. I suspect this would prevent the use of the UART for other purposes (GPS hat).</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">I’m working on a good set of boot options now.</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Thanks,</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Frank</div></div></blockquote></div><br class=""><div class="">I have a solution, and it’s non-intuitive. The link I sent above clearly states that “enable_uart=1” is if you want a UART console. However, it appears that with the latest firmware, **without** the “enable_uart=1” option, NO UARTs are created/initialized on boot up. Without the “enable_uart=1”, the devices are never created.</div><div class=""><br class=""></div><div class="">Note that I never did a `rpi-update` - I don’t even find that command on the 2016-05-10 Raspbian Lite image. Regarding updates I did the following:</div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 49 sudo </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">apt</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> update</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 50 sudo </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">apt</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> list --upgradable</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> 51 sudo </span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">apt</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> upgrade</span></div></div><div class=""><br class=""></div><div class="">The following is required in “/boot/config.txt” (I have NOTHING else in “/boot/config.txt" - everything else is commented out):</div>dtoverlay=pi3-disable-bt<br class=""><div class="">enable_uart=1<br class=""><br class=""></div><div class="">Then from the other link sent earlier by Anthony Stirk (<a href="https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=148515" class="">https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=148515</a>), you must do a `<span style="font-family: Menlo; font-size: 11px;" class="">sudo systemctl mask <a href="mailto:serial-getty@ttyama0.service" class="">serial-getty@ttyAMA0.service</a></span>` to stop systemd from using the serial port (note that I haven’t removed anything like systemd, etc.) </div><div class=""><br class=""></div><div class="">After adding the above 2 x lines to “/boot/config.txt” and rebooting, here is my output:</div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #34bd26" class=""><b class="">pi@ntp-rpi</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #5330e1" class=""><b class="">~ $</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> ls -l /dev/ttyAMA0 </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">crw-rw---- 1 root dialout 204, 64 May 20 22:52 </span><span style="font-variant-ligatures: no-common-ligatures; color: #999900; background-color: #000000" class=""><b class="">/dev/ttyAMA0</b></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #34bd26" class=""><b class="">pi@ntp-rpi</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #5330e1" class=""><b class="">~ $</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> sudo systemctl mask <a href="mailto:serial-getty@ttyama0.service" class="">serial-getty@ttyAMA0.service</a></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #34bd26" class=""><b class="">pi@ntp-rpi</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #5330e1" class=""><b class="">~ $</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> stty -F /dev/ttyAMA0 raw 9600 cs8 clocal -cstopb</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #34bd26" class=""><b class="">pi@ntp-rpi</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #5330e1" class=""><b class="">~ $</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> cat /dev/ttyAMA0 </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$GPGGA,225404.000,3909.1291,N,08543.4894,W,2,10,0.87,227.7,M,-33.5,M,0000,0000*5D</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$GPGSA,A,3,01,19,24,06,22,28,17,30,03,11,,,1.51,0.87,1.24*0A</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$GPRMC,225404.000,A,3909.1291,N,08543.4894,W,0.01,346.44,200516,,,D*7F</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$GPVTG,346.44,T,,M,0.01,N,0.01,K,D*39</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$GPGGA,225405.000,3909.1291,N,08543.4894,W,2,10,0.87,227.7,M,-33.5,M,0000,0000*5C</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$GPGSA,A,3,01,19,24,06,22,28,17,30,03,11,,,1.51,0.87,1.24*0A</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">I’m sure this isn’t the “correct” way to make these things happen. I’m not sure what happens if you don’t have systemd (it’s been removed). For those that have removed systemd, do you now have an “/etc/inittab”? If so, is this there a “getty” line that uses "/dev/ttyAMA0”? Check for that and comment it out if it exists.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">I’ll do some more testing by starting from a fresh image install, following the latest HowTo, removing systemd, and see how this can be fixed if the issue still exists.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Thanks,</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Frank</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div></body></html>