I can't find an appropriate thread on this forum to address the apparent difference between the raspi2 and raspi3 serial console setup.
According to various sources, including elinux.org, the raspi3 has the Bluetooth console setup to "/dev/ttyAMA0". It is advised to change the cmdline.txt to remove that, as the "/dev/ttyS0" is used instead. However, I can't seem to figure out how to get this to work on alarm.
Removing the cmdline still only shows "/dev/ttyAMA0" as the available console.
$this->bbcode_second_pass_code('', '# cat /proc/tty/driver/ttyAMA
serinfo:1.0 driver revision:
0: uart:PL011 rev2 mmio:0x3F201000 irq:87 tx:2 rx:1 brk:1 CTS')
$this->bbcode_second_pass_code('', '# cat /proc/devices |grep tty
4 tty
5 /dev/tty
5 ttyprintk
204 ttyAMA')
$this->bbcode_second_pass_code('', '# cat /proc/cmdline
8250.nr_uarts=0 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa22082 bcm2709.serial=0x1e7298a4 smsc95xx.macaddr=B8:27:EB:72:98:A4 bcm2708_fb.fbswap=1 bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 root=/dev/mmcblk0p2 rw rootwait console=ttyS0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 elevator=noop')