Unable to login console after the system starts

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Unable to login console after the system starts

跳至解决方案
5,718 次查看
liquanduan
Contributor III

I use default configurations to bitbake a rootfs files for i.mxSolo target board.

bitbake image-core-base

when i download it to the target device, and power on, the system seems run well but no login console.

I try to press "Enter" but no any response on the screen.

I can text "setenv" or "printenv" command during the u-boot step but no in kernel period.

So the hardware of UART might be well.

 

 

Here are some informations from console, full infos attached in the end:

 

......

kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk3p2): using internal journal
EXT3-fs (mmcblk3p2): recovery complete
EXT3-fs (mmcblk3p2): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 296K (808ec000 - 80936000)
INIT: version 2.88 booting
Starting udev
udevd[172]: starting version 3.1.5
random: udevd urandom read with 18 bits of entropy available
bootlogd: cannot allocate pseudo tty: No such file or directory
Mon Jun 26 06:13:15 UTC 2017

 

//message printing stopped here for a while and then print next line info:

random: nonblocking pool is initialized

It seems system is not crashed but working.

 

What's the problem?Anyone can give me helps? Thanks!

Original Attachment has been moved to: tty_unable_to_login.txt.zip

标签 (3)
0 项奖励
回复
1 解答
5,318 次查看
liquanduan
Contributor III

Problem solved! Because "hwclock -w" command execute failed while bootmisc.sh running, and it blocked the process. Configure the RTC Driver the target board in the kernel or disable the RTC function can fix it!

在原帖中查看解决方案

0 项奖励
回复
4 回复数
5,318 次查看
1182614726
Contributor III

Hello Liquan Duan

now my board log has the same problem with you, but i have check the RTC module is loaded normally, and after the log "random: udevd urandom read with 18 bits of entropy available", it still stops for 2 seconds, do you know what's wrong with my software?thank you very much

0 项奖励
回复
5,318 次查看
liquanduan
Contributor III

可以尝试修改一下rootfs里面的默认启动项或服务;之间我的是因为RTC的服务一直没有加载起来问题,你的板子可能是其它问题导致启动项一直没有成功加载完;/etc/rc*.d/ (*是运行等级,有多个文件夹,包括rcS)里面的S开头的文件,尝试关闭或删除一些 再试试。

0 项奖励
回复
5,319 次查看
liquanduan
Contributor III

Problem solved! Because "hwclock -w" command execute failed while bootmisc.sh running, and it blocked the process. Configure the RTC Driver the target board in the kernel or disable the RTC function can fix it!

0 项奖励
回复
5,318 次查看
b36401
NXP Employee
NXP Employee

Thanx for letting know it.

Have a great day,
Victor

0 项奖励
回复