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.