主机平台: UBUNTU14.04
硬件平台:明远智睿MY-IMX6-EK200 (其他平台也是)
编译器: gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
ARM ubuntu版本: 16.04
内核版本: linux-4.1.15
很多人遇到移植ubuntu core 16.04的文件系统
启动时遇到长时间等待。如下:
[ OK ] Started Getty on tty4.
[ OK ] Started Getty on tty3.
[ OK ] Started Getty on tty2.
[ OK ] Started Getty on tty1.
[ OK ] Started Getty on tty5.
[ OK ] Started Getty on tty6.
[* ] A start job is running for dev-ttymx0.device (7s / 1min 30s)
...
...
[ *] A start job is running for dev-ttyPS0.device (1min 29s / 1min 30s)
[ TIME ] Timed out waiting for device dev-ttyPS0.device.
[DEPEND] Dependency failed for Serial Getty on ttyPS0.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
1.在/etc/init/ 增加 ttymxc0.conf文件
# console - getty#
# This service maintains a getty on console from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345] and container CONTAINER=lxc