02-13-2016, 05:12 PM
(02-13-2016, 11:45 AM)patrickhwood Wrote: Nice. I assume this is with the 4.4.0 kernel?
I tried to boot this with the android kernel, but it doesn't want to start a getty on ttyS0. I haven't worked with systemd before (one of the reasons I'm dreading the upcoming ubuntu LTS release), but I followed the instructions on the Archlinux site to enable it and set the right baud rate. I get a message that it's attempting to start the getty, but no login prompt:
[ *** ] A start job is running for dev-ttyS0.device (15s / 1min 30s)
Eventually, it times out:
[ TIME ] Timed out waiting for device dev-ttyS0.device.
[DEPEND] Dependency failed for Serial Getty on ttyS0.
I use this base image and added Arch on an additional partition. This base image comes with the 4.4 kernel. I've updated the kernel to 4.5 but kept the 4.4 dtb. To activate the serial console on Arch, I've simply added
Code:
c0:2345:respawn:/sbin/agetty 115200 ttyS0 linux
For Ubuntu, please add
Code:
T0:2345:respawn:/sbin/getty -L ttyS0 115200 vt100
How did you build the android kernel?