Signal K doesn't start on pi zero - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: Signal K doesn't start on pi zero (/showthread.php?tid=3767) |
Signal K doesn't start on pi zero - mika - 2021-11-12 Hi, first of all thanks to everybody for spending time and efforts for this wonderful project. I've been using openplotter 1 on a pi3 together with the original 7'' screen as main navigation system for the last years. Together with the option to have cheap oesenc charts, openplotter+opencpn+raspberry is for me an extremely effective system. Project for this winter is to add my Raymarine instruments/seatalk using the GPIO app new in openplotter 2. I updated therefore to openplotter 2 and installed the GPIO app: On the pi3, everything seems ok. Doing the same procedure for the pi zero which I plan to connect to the seatalk bus, I have the problem that I cannot connect to signalk: After boot, there's no signalk. Starting signalk then through the terminal with Code: signalk-server run gives as answer "Illegal instruction". Reinstalling signalk doesn't help. Thanks for any suggestions! Michael RE: Signal K doesn't start on pi zero - PaddyB - 2021-11-12 Not sure openplotter will run on a Pi zero? But..... splash out on a Pi zero 2 - loads faster and still very low power draw. I had a zero running for a while running headless with just the raspberry pi software, no openplotter and installed signalk which worked but it was running maxed out at 100% most of the time. You could try just installing signalk if you want to persevere with the zero you have, might be OK without influx database & app running - https://github.com/SignalK/signalk-server/blob/master/raspberry_pi_installation.md RE: Signal K doesn't start on pi zero - MatsA - 2021-11-13 Hi ! As Paddy indicates I think its wise to just install Signal K manually without OpenPlotter. Instructions here https://github.com/SignalK/signalk-server/blob/master/raspberry_pi_installation.md But please note that Nodejs can NOT be installed via "apt". I wrote some hints at the end of this post https://pysselilivet.blogspot.com/2021/02/victron-vedirect-with-raspberry.html that maybe helps ? /Mats RE: Signal K doesn't start on pi zero - mika - 2021-11-14 (2021-11-12, 05:16 PM)PaddyB Wrote: Not sure openplotter will run on a Pi zero? hhmm, I naively thought that a slower CPU just means slower command execution... or are the 512k RAM the problem? But then a pi zero 2 would have the same problem. Michael (2021-11-13, 06:56 PM)MatsA Wrote: Hi ! As Paddy indicates I think its wise to just install Signal K manually without OpenPlotter. Instructions here https://github.com/SignalK/signalk-server/blob/master/raspberry_pi_installation.md thanks both for the suggestion -- I'll try to follow your hint... Best, Michael RE: Signal K doesn't start on pi zero - PaddyB - 2021-11-15 (2021-11-14, 08:20 PM)mika Wrote: hhmm, I naively thought that a slower CPU just means slower command execution... or are the 512k RAM the problem? But then a pi zero 2 would have the same problem. The Zero 2 is a Pi3 chip with 4 cores so quite a bit faster. Power is much lower than a Pi2 though _ meter is showing mA Pi2 - Pi zero_ Pi zero 2- RE: Signal K doesn't start on pi zero - BlackSea - 2021-11-16 Pi Zero ( not pi zero 2) hast "old" CPU, that supports only arm6 instructions. Nodejs packages from nodesource.com are optimized for >= arm7 instructions. For Signalk on Zero you need packages from Debian Code: pi@pi0:~ $ uname -m RE: Signal K doesn't start on pi zero - mika - 2021-11-17 (2021-11-16, 06:13 PM)BlackSea Wrote: Pi Zero ( not pi zero 2) hast "old" CPU, that supports only arm6 instructions. Nodejs packages from nodesource.com are optimized for >= arm7 instructions. For Signalk on Zero you need packages from Debian thanks! The smaller instruction set explains the failure... and now I understand also why it should work with the pi zero 2. Best, Michael |