Firefly开源社区

ubuntu15.04根文件系统进不了串口控制台

78

积分

0

威望

0

贡献

技术小白

积分
78
发表于 2016-1-20 14:35:10     
按照教程http://wiki.t-firefly.com/index.php/FirePrime/Build_Ubuntu_rfs 制作ubuntu core15.04根文件 系统,完成后可以进入桌面,但是串口控制台进不去,打印下面内容,知道的大神给点指点!!!
[  OK  ] Started OpenBSD Secure Shell server.
         Starting OpenBSD Secure Shell server...
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started /etc/rc.local Compatibility.
         Starting Wait for Plymouth Boot Screen to Quit...
[  OK  ] Started Wait for Plymouth Boot Screen to Quit.
[  OK  ] Started Getty on tty1.
         Starting Getty on tty1...
[  OK  ] Created slice user-1000.slice.
         Starting User Manager for UID 1000...
[  OK  ] Started User Manager for UID 1000.
         Starting Disk Manager...
[  OK  ] Started Disk Manager.
[  OK  ] Started Load Broadcom bluetooth firmware.
[ TIME ] Timed out waiting for device dev-ttyS2.device.
[DEPEND] Dependency failed for Serial Getty on ttyS2.
[  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.

[  OK  ] Started Update UTMP about System Boot/Shutdown.
[   ***] (2 of 2) A start job is running for...ork interfaces. (10s / no limit)

回复

使用道具 举报

600

积分

21

威望

25

贡献

技术大神

Rank: 3Rank: 3

积分
600

活跃会员

发表于 2016-1-20 16:54:22     
本帖最后由 linjc 于 2016-1-20 16:56 编辑

ubuntu15.04是用systemd的,可以这样做:
  1. cp /lib/systemd/system/serial-getty@.service /lib/systemd/system/serial-getty@ttyS2.service

  2. ln -s /lib/systemd/system/serial-getty@ttyS2.service /etc/systemd/system/getty.target.wants/

  3. 再修改/lib/systemd/system/serial-getty@ttyS2.service把里面的“%i.device”改为“%i”
复制代码
回复

使用道具 举报

78

积分

0

威望

0

贡献

技术小白

积分
78
发表于 2016-1-28 11:05:39     
linjc 发表于 2016-1-20 16:54
ubuntu15.04是用systemd的,可以这样做:

谢谢你的回复,已经解决!
回复

使用道具 举报

166

积分

0

威望

0

贡献

技术小白

积分
166
发表于 2016-9-8 16:53:17     
LZ解决了吗?求分享!
回复

使用道具 举报

10

积分

0

威望

0

贡献

游客

积分
10
发表于 2017-7-14 11:50:17     
同求分享
回复

使用道具 举报

78

积分

0

威望

0

贡献

技术小白

积分
78
发表于 2017-9-18 16:07:13     
按照linjc的方法解决的。
回复

使用道具 举报

149

积分

0

威望

0

贡献

技术小白

积分
149
发表于 2018-6-4 09:48:56     
16.04也可以按照这个方法来吗?
回复

使用道具 举报

69

积分

0

威望

0

贡献

技术小白

积分
69
发表于 2018-8-13 23:16:56     
rk3399 ubuntu16.04
这样解决的:

cp /lib/systemd/system/serial-getty@.service /lib/systemd/system/serial-getty@ttyFIQ0.service
ln -s /lib/systemd/system/serial-getty@ttyFIQ0.service /etc/systemd/system/getty.target.wants/serial-getty@ttyFIQ0.service
再修改/lib/systemd/system/serial-getty@ttyS2.service把里面的“%i.device”改为“%i”

888888888.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表