Originally Posted by
steev
You need to add "console=ttyAMA0,115200" to /boot/cmdline.txt (just replace one of the (accidental) duplicate "console=tty1" options) - you will also (if it doesn't exist) need to add ttyAMA0 to /etc/securetty so that root can log in over serial console. One thing to note is that, at some point, the kernel takes over, and I can't recall which order it picks what gets the console output - if you want to be doubly sure, you can just remove the console=tty1 completely and only have console=ttyAMA0,115200 in your cmdline.txt file - you'll still be able to login on tty1 when getty spawns.
Unfortunately this hasn't worked for me. No console on my RP2 with Kali.
This is what I have on /boot/cmdline.txt and /etc/securetty:
Code:
root@kali:~# cat /boot/cmdline.txt
console=ttyAMA0,115200
root@kali:~# ls -lt /boot/cmdline.txt
-rwxr-xr-x 1 root root 120 Oct 29 04:50 /boot/cmdline.txt
root@kali:~# grep ttyAMA0 /etc/securetty
ttyAMA0