This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can bus/NMEA 2000
#21
(2024-10-12, 10:48 AM)Sailoog Wrote: New boat and new home port. 
Could you please open a new thread on the OpenPlotter forum to collect all user reports?

I, for one, was wondering what happened to you!! Glad you're OK.
We missed you!!


See here: https://forum.openmarine.net/showthread....8#pid31708
Pi5 8GB, NVME SSD 512GB, MacArthur hat, OP4,
Reply
#22
I have set up a temporary test environment on the boat and noticed that the offending commands are in the file  /etc/network/interfaces.d/can0

If you remove that file you can left "dtoverlay=mcp251xfd,spi0-1,oscillator=20000000,interrupt=25" in config.txt and the system will boot as usual.

can0 file is created by openplotter when defining an mcp251xfd device and this is the content:

Code:
#physical can interfaces
allow-hotplug can0
iface can0 can static
bitrate 250000
down /sbin/ip link set $IFACE down
up /sbin/ifconfig $IFACE txqueuelen 10000

This explains why the system hangs in the networking process during boot.

I guess we should play around with these arguments to get it working again or use an alternative method to bring up the interface.
Reply
#23
Let's continue the conversation here: https://forum.openmarine.net/showthread.php?tid=5740
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)