在PC机器上安装了redhat linux9.0和板EVM,编译了内核后,设置板卡用tftp方式启动。又通过serial连接了嵌入式开发板,然后通过secureCRT软件监视板卡显示,启动板卡后,内核能够启动,出现login,输入root后不能登录,提示login incorrect。不知会是什么原因???以下为板卡启动后的提示:
Linux version 2.6.10_mvl401-davinci_evm (davinci@localhost.localdomain) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #6 Wed Sep 19 15:59:49 CST 2007
CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.0.225 root=/dev/nfs nfsroot=192.168.0.241:/home/davinci/workdir/filesys,nolock mem=28M
PID hash table entries: 128 (order: 7, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 28MB = 28MB total
Memory: 25396KB available (2311K code, 487K data, 156K init)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
spawn_desched_task(00000000)
desched cpu_callback 3/00000000
ksoftirqd started up.
desched cpu_callback 2/00000000
desched thread 0 started up.
NET: Registered protocol family 16
Registering platform device 'nor_davinci.0'. Parent at platform
Registering platform device 'nand_davinci.0'. Parent at platform
Registering platform device 'musb_hdrc'. Parent at platform
DaVinci I2C DEBUG: 14:39:06 Sep 19 2007
Registering platform device 'i2c'. Parent at platform
usbcore: registered new driver usbfs
usbcore: registered new driver hub
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Sep 19 2007 14:38:10 Installing.
Registering platform device 'davincifb.0'. Parent at platform
Console: switching to colour frame buffer device 90x30
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Registering platform device 'serial8250'. Parent at platform
ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
Registering platform device 'ti_davinci_emac'. Parent at platform
TI DaVinci EMAC: MAC address is 00:0e:99:02:50:00
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
netconsole: not configured, aborting
i2c /dev entries driver
Linux video capture interface: v1.00
Registering platform device 'vpfe.1'. Parent at platform
DaVinci v4l2 capture driver V1.0 loaded
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Palm Chip BK3710 IDE Register Fail
elevator: using anticipatory as default io scheduler
mice: PS/2 mouse device common for all mice
musb_hdrc: version 2.2a/db-0.4.8 [pio] [host] [debug=0]
musb_hdrc: USB Host mode controller at c2060000 using PIO, IRQ 12
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Registering platform device 'davinci-audio.0'. Parent at platform
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.0.225, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.0.225, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=192.168.0.241, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.241
Looking up port of RPC 100005/1 on 192.168.0.241
VFS: Mounted root (nfs filesystem).
Freeing init memory: 156K
INIT: version 2.85 booting
Mounting a tmpfs over /dev...done.
Creating initial device nodes...done.
Activating swap...done.
Remounting root filesystem...done.
Calculating module dependencies
Loading modules:
Starting checking all file systems: fsck
fsck 1.35 (28-Feb-2004)
Starting mounting local filesystems: mount nothing was mounted
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Disable TCP/IP Explicit Congestion Notification: done.
Starting network interfaces: done.
Starting hotplug subsystem:
pci
pci [success]
usb
usb [success]
isapnp
isapnp [success]
ide
ide [success]
input
input [success]
scsi
scsi [success]
done.
Starting portmap daemon: portmap.
Cleaning: /tmp /var/lock /var/run done.
Setting pseudo-terminal access permissions...done.
Updating /etc/motd...done.
INIT: Entering runlevel: 3
Starting system log daemon: syslogd klogd.
Starting NFS common utilities: statd lockd.
Starting internet superserver: inetd.
Starting MontaVista target tools daemon: mvltdmvltd version 2.1 MontaVista Software,Inc.
mvltd[998]: can't send broadcast message: Network is unreachable
.
MontaVista(R) Linux(R) Professional Edition 4.0 (0501140)
192.168.0.225 login: root
Login incorrect
192.168.0.225 login:
Login timed out after 60 seconds.
MontaVista(R) Linux(R) Professional Edition 4.0 (0501140)
192.168.0.225 login:
|
可以把
"Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.0.225 root=/dev/nfs nfsroot=192.168.0.241:/home/davinci/workdir/filesys,nolock mem=28M"
加个 init=/bin/bash参数试试吗?