I have built the core-image-full-cmdline image using the fido branch of the congatec yocto git repository. I basically didn't change anything in the configuration apart from adding the following lines in local.conf :
DISTRO_FEATURES_append = " systemd" VIRTUAL-RUNTIME_init_manager = "systemd" When I boot the congatec board with this image the [email protected] <https://webmail.xmsnet.nl/src/compose.php?send_to=serial-getty%40ttymxc1.service> times out because the ttymxc1 device is not available according to systemd: Sep 04 10:29:55 cgtqmx6 systemd[1]: Job dev-ttymxc1.device/start timed out. Sep 04 10:29:55 cgtqmx6 systemd[1]: Timed out waiting for device dev-ttymxc1.device. -- Subject: Unit dev-ttymxc1.device has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel <http://lists.freedesktop.org/mailman/listinfo/systemd-devel> -- -- Unit dev-ttymxc1.device has failed. -- -- The result is timeout. Sep 04 10:29:55 cgtqmx6 systemd[1]: Dependency failed for Serial Getty on ttymxc1. -- Subject: Unit [email protected] <https://webmail.xmsnet.nl/src/compose.php?send_to=serial-getty%40ttymxc1.service> has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel <http://lists.freedesktop.org/mailman/listinfo/systemd-devel> -- -- Unit [email protected] <https://webmail.xmsnet.nl/src/compose.php?send_to=serial-getty%40ttymxc1.service> has failed. -- -- The result is dependency. Sep 04 10:29:55 cgtqmx6 systemd[1]: Job [email protected] <https://webmail.xmsnet.nl/src/compose.php?send_to=serial-getty%40ttymxc1.service>/start failed with result 'dependency'. Sep 04 10:29:55 cgtqmx6 systemd[1]: Job dev-ttymxc1.device/start failed with result 'timeout'. However the ttymxc1.device is available in the udev database: root@cgtqmx6:~# udevadm info -e <snip> P: /devices/soc0/soc.0/2100000.aips-bus/21e8000.serial/tty/ttymxc1 N: ttymxc1 E: DEVNAME=/dev/ttymxc1 E: DEVPATH=/devices/soc0/soc.0/2100000.aips-bus/21e8000.serial/tty/ttymxc1 E: MAJOR=207 E: MINOR=17 E: SUBSYSTEM=tty E: TAGS=:systemd: E: USEC_INITIALIZED=19333 Starting the [email protected] <https://webmail.xmsnet.nl/src/compose.php?send_to=serial-getty%40ttymxc1.service> manually after logging in via ssh gives the same result. The service link in /etc/systemd seems ok: root@cgtqmx6:~# ls -l /etc/systemd/system/getty.target.wants/ total 0 lrwxrwxrwx 1 root root 45 Sep 8 2015 [email protected] <https://webmail.xmsnet.nl/src/compose.php?send_to=getty%40tty1.service> -> ../../../../lib/systemd/system/[email protected] lrwxrwxrwx 1 root root 41 Sep 8 2015 [email protected] <https://webmail.xmsnet.nl/src/compose.php?send_to=serial-getty%40ttymxc1.service> -> /lib/systemd/system/[email protected] However when I then give a seemingly random systemctl command like "systemctl disable lighttpd.service" and then start the ttymxc1 service again with "systemctl start [email protected] <https://webmail.xmsnet.nl/src/compose.php?send_to=serial-getty%40ttymxc1.service>" the login prompt appears on the console and everything works as expected until the next reboot. I tried the same with the fido branch from the freescale fsl-community-bsp-platform repository for the wandboard-quad board. The problem doesn't occur with that image / board. Any suggestions how to fix this or investigate further are greatly appreciated. best regards, Winfried
-- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
