In my experience if any of your electronics reboot when you start the engine it's probably because they're pulling their power from the start battery instead of the house battery.Is there a tutorial on how to bypass the existing wires to the pushbutton with new wire? (Yanmar 2GM20F)?
The distance from my engine to the starter button is about 4 feet, yet my Raspberry Pi restarts whenever I start the engine (running off the same bank). I assume that could be due to the poor wiring issue.
I am not sure If fixing the wiring or adding the starter solenoid is the best fix.
Greg
A starting battery, when you hit the button to start the engine, will temporarily drop down to something like 9-11 volts even though it's showing 13+ while at rest. A starter draws a massive amount of current for the few seconds it's turning the engine over and that draw will pull the battery voltage below the minimum threshold of the electronics involved - thus, they reboot.
Simple troubleshooting, simple fix: Turn your raspberry pi on then go to your start battery and pull one of the battery cables off. If your electronics shut down, they're wired to the start battery and you need to move them to the house bank. Hope this helps!
P.S. If you don't have separate start/house batteries, replace your battery cables. They're probably ~20 years old anyway. And when you do, look up an ampacity chart or cable sizing guide. Bigger is better as it will minimize the voltage drop and that'll be better for both your starter and your electronics.