Firefly开源社区

打印 上一主题 下一主题

UBUNTU 百度云下载的新内核 不能进入控制台

74

积分

0

威望

0

贡献

技术小白

积分
74

UBUNTU 百度云下载的新内核 不能进入控制台

发表于 2016-5-22 16:16:11      浏览:4814 | 回复:4        打印      只看该作者   [复制链接] 楼主
从百度云盘下载的Firefly-RK3288_Ubuntu14.04_201512031755 这个版本串口不能进入控制台该怎么修改
启动以后打印的消息是
* Starting Failsafe Boot Delay[ OK ]                                          
* Starting Turn on/off the ap6335 bluetooth[ OK ]                              
* Starting configure network device[ OK ]                                      
* Stopping Failsafe Boot Delay[ OK ]                                          
* Stopping Mount network filesystems[ OK ]                                    
* Starting System V initialisation compatibility[ OK ]                        
* Starting configure network device security[ OK ]                             
[ OK ]ting up X socket directories...                                          
* Stopping System V initialisation compatibility[ OK ]                        
* Starting System V runlevel compatibility[ OK ]                              
* Starting save kernel messages[ OK ]                                          
* Starting configure network device security[ OK ]                             
* Starting anac(h)ronistic cron[ OK ]                                          
* Starting regular background program processing daemon[ OK ]                  
* Stopping save kernel messages[ OK ]                                          
* Starting configure virtual network devices[ OK ]                             
* Stopping Restore Sound Card State[ OK ]                                      
[    6.633426] turn on mali power                                               
* Stopping System V runlevel compatibility[ OK ]                              
* Starting OpenSSH server[ OK ]                                                
* Starting Bridge file events into upstart[ OK ]                              
* Starting Bridge socket events into upstart[ OK ]                             

回复

使用道具 举报

74

积分

0

威望

0

贡献

技术小白

积分
74
发表于 2016-5-23 08:28:27        只看该作者  沙发
顶一下  没有大神回复
回复

使用道具 举报

74

积分

0

威望

0

贡献

技术小白

积分
74
发表于 2016-5-24 21:47:14        只看该作者  板凳
这个售后就是没有人回复好郁闷。买了板子以后就没有人理了。
回复

使用道具 举报

74

积分

0

威望

0

贡献

技术小白

积分
74
发表于 2016-5-24 23:10:43        只看该作者  地板
终于自己解决了需要修改三个文件
第一步:
修改parameter 参数列表如下:
主要是修改 console=ttyFIQ
CMDLINE:console=tty0 console=ttyFIQ0 earlyprintk root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00008000@0x00002000(resource),0x00008000@0x0000A000(boot),0x00002000@0x00012000(misc),0x0001a000@0x00014000(backup),-@0x0002e000(linuxroot)
第二步: 添加权限在UBUNTU  /etc/securetty 文件添加 ttyFIQ 这个文件控制登陆权限
# UART serial ports
ttyS0
ttyFIQ0
ttyS1
ttyS2
ttyS3
ttyS4
ttyS5
第二步  在/etc/init/ 添加一个配置文件 ttyFIQ0.conf
里面内容

# ttyFIQ0 - getty
#
# This service maintains a getty on ttyFIQ0 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345] and (
            not-container or
            container CONTAINER=lxc or
            container CONTAINER=lxc-libvirt)

stop on runlevel [!2345]

respawn
exec /sbin/getty -a root -L 115200 ttyFIQ0 vt100
还有一个问题没有解决就是没有回显示
回复

使用道具 举报

91

积分

0

威望

0

贡献

技术小白

积分
91
发表于 2016-7-8 09:19:12        只看该作者  5#
260573569 发表于 2016-5-24 23:10
终于自己解决了需要修改三个文件
第一步:
修改parameter 参数列表如下:

牛, 请教怎么找到的方法?
回复

使用道具 举报

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

本版积分规则

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