Unable to login console after the system starts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to login console after the system starts

Jump to solution
3,592 Views
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

Labels (3)
0 Kudos
1 Solution
3,192 Views
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!

View solution in original post

0 Kudos
4 Replies
3,192 Views
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 Kudos
3,192 Views
liquanduan
Contributor III

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

0 Kudos
3,193 Views
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 Kudos
3,192 Views
b36401
NXP Employee
NXP Employee

Thanx for letting know it.

Have a great day,
Victor

0 Kudos