lzg371 发表于 2015-8-20 15:02:25

linux启动文件系统后没有命令提示符

我修改了文件系统, 用手册介绍的制作完文件系统, 但是烧写到板子后, 发现无法出现命令提示符, 也就无法用串口操作! 请问如何可以在串口登陆进入命令行操作?
以下是启动的提示

[    4.569098] mux: Failed to setup hwmod io irq -22
[    4.574714] Power Management for AM33XX family
[    4.579563] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    4.586254] Copied the M3 firmware to UMEM
[    4.590601] Cortex M3 Firmware Version = 0x181
[    4.600420] clock: disabling unused clocks to save power
[    4.608128] Detected MACID=d0:39:72:c:d4:5e
[    4.613717] cpsw: Detected MACID = d0:39:72:0c:d4:60
[    4.620927] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    4.629791] rtc-ds1307 1-0068: setting system clock to 2015-09-01 21:19:32 UTC (1441142372)
[    4.724976] UBIFS: recovery needed
[    4.960281] UBIFS: recovery completed
[    4.964142] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    4.970405] UBIFS: file system size:   235540480 bytes (230020 KiB, 224 MiB, 1855 LEBs)
[    4.978773] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[    4.986402] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    4.992489] UBIFS: default compressor: lzo
[    4.996754] UBIFS: reserved for root:0 bytes (0 KiB)
[    5.004949] VFS: Mounted root (ubifs filesystem) on device 0:14.
[    5.013347] devtmpfs: mounted
[    5.016796] Freeing init memory: 244K

INIT: version 2.88 booting

Starting udev
[    6.163926] udev: starting version 164
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
ALSA: Restoring mixer settings...
No state is present for card EVM
Found hardware: "AM335X_EVM" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card EVM
Configuring network inte**ces... [    9.562859] net eth0: CPSW phy found : id is : 0x4dd074
done.

INIT: Entering runlevel: 5

Starting system message bus: dbus.
Starting telnet daemon.
Starting inetd daemon.
Starting syslogd/klogd: done
[   11.563173] PHY: 0:00 - Link is Up - 1000/Full
Stopping Bootlog daemon: bootlogd.

INIT: no more processes left in this runlevel

中国加油 发表于 2015-8-21 08:52:50

lz 你具体说一下修改了什么地方?用串口进行什么操作?输入命令?

lzg371 发表于 2015-8-21 16:17:44

其实我的修改也很简单,就是自己写了一个qt应用程序, 把系统提供默认的程序替换掉. 另外修改了字体文件,删除了原有字体增加了自己的字体.
我关心的是INIT: Entering runlevel: 5 是否系统出错了, 从提示信息能看出系统进入错误状态吗?

中国加油 发表于 2015-8-24 08:39:55

你可以烧写一下板子自带的镜像看看有错误吗?之后再单独的试试,先修改QT程序,出现什么错误?再修改字体呢

turing1992 发表于 2015-10-14 20:42:42

INIT: Entering runlevel: 5不是错误,运行级别
页: [1]
查看完整版本: linux启动文件系统后没有命令提示符