08-26-2016, 06:10 PM
Not every UART-to-USB cable will work, you need specifically a 3.3V one, anything else may fry your Pine64. This one worked for me: Adafruit 954.
Instead of screen, it's better to use tio, it allows scrollback. You do want to read those boot-up messages that scrolled away...
To be able to login on the console (if ethernet is hosed...), /etc/inittab on the Pine64 should include:
The console will mangle output beyond a 80x24 region, to fix this you can compile and run this program:sizetty.c or stty the correct size by hand
Instead of screen, it's better to use tio, it allows scrollback. You do want to read those boot-up messages that scrolled away...
To be able to login on the console (if ethernet is hosed...), /etc/inittab on the Pine64 should include:
Code:
T0:23:respawn:/sbin/getty -L ttyS0 115200 xterm
The console will mangle output beyond a 80x24 region, to fix this you can compile and run this program:sizetty.c or stty the correct size by hand