I have followed what I can from the documented approach here:
https://revolutionpi.com/documentation/ ... ices-rs485
After some investigation I found that the documented /dev/tty interfaces did not matched our installation from Kunbus.
Code: Select all
vrtadmin@RevPi67383:/boot $ readlink /dev/ttyRS485-1
ttyAMA4
vrtadmin@RevPi67383:/boot $ readlink /dev/ttyRS485-0
ttyAMA3
After establishing this I have had success using the interfaces for various purposes, including readings devices and passing through to node-red for Modbus reads.
I have been able to get the serial console with login prompt using the serial-getty service directly.
I have read through other articles on the forum looking at RevPi Core and Connect attempts at the same thing viewtopic.php?p=15498&hilit=serial+console#p15498 and experimented with boot command updates such as:
Code: Select all
dwc_otg.lpm_enable=0 console=ttyAMA4,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 fsck.repair=yes rootwait
With this change to
I receive boot logs but the system starts locking up and then fails to boot into OS. I get no terminal and cannot ping or SSH into the unit./boot/cmdline.txt
Any advice where I might be going wrong or may have misinterpreted a capability? Happy to provide any logs under any configuration.