On 08/19/2013 05:50 PM, Johannes Nohl wrote:
Does someone know what I have to do to get a login on ttyS0? I can see cubieboard in the serial console booting, from u-boot to kernel, ending with:
[ OK ] Started D-Bus System Message Bus. [ OK ] Started Login Service. [ OK ] Started YaST2 Firstboot.
I tried to utilze systemd by adding serial-getty to the services:
ln -s /usr/lib/systemd/system/serial-getty@.service /etc/systemd/system/getty.target.wants/serial-getty@ttyS0.service
On my Pandaboard, serial console is /dev/ttyO2 I can't recall if I initially tried linking (as above), but currently I have a copy with the following differences. I stopped investigating once it worked :) If there is a cleaner way, please lmk. # diff /etc/systemd/system/getty.target.wants/getty\@ttyO2.service /usr/lib/systemd/system/getty@.service 23c23 < ConditionPathExists=/dev/ttyO2 ---
ConditionPathExists=/dev/tty0 27c27 < ExecStart=-/sbin/agetty --noclear %I 115200 linux
ExecStart=-/sbin/agetty --noclear %I 38400 linux 48c48 < Alias=getty.target.wants/getty@ttyO2.service
Alias= getty.target.wants/getty@tty1.service
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org