[Buildroot] [DEPEND] Dependency failed for Serial Getty on ttyS0.

Karoly Pados kp at tec4data.at
Mon Mar 13 11:13:52 UTC 2017


Hello!

I built a buildroot image, using systemd as the init system. The kernel is built using buildroot too, using a custom kernel-.config that is known to work on same hardware when used outside of buildroot.

Most of the booting process succeeds, but towards the end systemd repeatedly tries to stop and start getty, then after a minute or two outputs:
[DEPEND] Dependency failed for Serial Getty on ttyS0.

Booting then continues with UTMP, but no login prompt is shown. Not on UART and neither on VGA. I've found out that others who got this same phenomenon had to enable CONFIG_FHANDLE for the kernel, but for me it is already enabled.

Steps I used:
- clone buildroot from git
- checkout 2017.02.x branch
- make menuconfig (enabled systemd, disabled busybox, added a whole lot of other stuff)
- make
- flashed/installed images from output/images/

Here is a link to my buildroot-config: http://pastebin.com/W8KnZccU

Any help is appreciated.

Greetings,
Karoly


More information about the buildroot mailing list