I have had a hard time getting serial console to work on the RevPi Flat S.
Initially I tried to follow the guide in the Serial section of the RevPi Flat S documentation but I found the provided serial port details did not match my unit. With readlink I determinted the port I was after was ttyAMA4.
Code: Select all
RevPi67383:/boot $ readlink /dev/ttyRS485-1
ttyAMA4
RevPi67383:/boot $ readlink /dev/ttyRS485-0
ttyAMA3
I followed the suggestions here viewtopic.php?p=15586&hilit=serial+console#p15586 and tried editing the '/boot/cmdline.txt' with:
Code: Select all
console=ttyAMA4
I found that in this configuraiton I would get a stream of boot messages and then the system would lock up as further services such as bluetooth started initialising.
Excerpt of boot logs below;
Code: Select all
[ 11.820509] mwifiex_sdio mmc3:0001:1: driver_version = mwifiex 1.0 (16.92.21.p11)
[ 12.468464] mwifiex_sdio mmc3:0001:1 wlan0: renamed from mlan0
[ 13.279882] Bluetooth: Core ver 2.22
[ 13.279989] NET: Registered PF_BLUETOOTH protocol family
[ 13.279993] Bluetooth: HCI device and connection manager initialized
[ 13.280009] Bluetooth: HCI socket layer initialized
[ 13.280018] Bluetooth: L2CAP socket layer initialized
[ 13.280034] Bluetooth: SCO socket layer initialized
[ 13.295425] Bluetooth: HCI UART driver ver 2.3
[ 13.295465] Bluetooth: HCI UART protocol H4 registered
[ 13.295606] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 13.295890] Bluetooth: HCI UART protocol Broadcom registered
[ 13.643102] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 13.643116] Bluetooth: BNEP filters: protocol multicast
[ 13.643133] Bluetooth: BNEP socket layer initialized
[ 14.778466] systemd-journald[183]: Time jumped backwards, rotating.
[ 15.331671] Bluetooth: hci0: command 0x1003 tx timeout
[ 15.331671] Bluetooth: hci0: Opcode 0x1003 failed: -110
[ 385.335427] Initializing XFRM netlink socket
[ 385.821671] bridge: filtering via arp/ip/ip6tables is no longer available by default.
Hopefully there is something obvious that I have overlooked or gotten wrong.