RevPi Flat S - RS485 Serial Console - documented approach not working.
Posted: 19 Mar 2025, 01:43
Our team have been trying to setup a serial console interface on the RevPi Flat S. We want the backup connectivity for when we need to do on site debugging and there's not network connection to the unit. Ideally we want all of the boot messages and a console login.
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.
I suspect the above was after a hardware or image revision.
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:
Note the use of ttyAMA4 here per earlier mention of ttyRS485-1.
With this change to
Any advice where I might be going wrong or may have misinterpreted a capability? Happy to provide any logs under any configuration.
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.