No.64871 作者:wangxd5429 邮件:wangxd5429@sohu.com ID:30288 登陆:55次 文章数:56篇 最后登陆IP:211.103.220.197 最后登陆:2017/1/4 14:21:50 注册:2005/1/21 11:46:15 财富:452 发帖时间:2011/6/28 14:58:40 发贴者IP:211.103.220.197 标题:wangxd5429:[求助]关于嵌入式Linux移植的问题1 摘要:No.64871[求助]关于嵌入式Linux移植的问题1 各位高手: 小弟正在移植Linux-2.6.26至达芬奇平台。编译后运行内核,采用NFS网络文件系统模式。内核运行时出现“VFS:cannot open root device “nfs” or unknown-block(0,255)”。请教出现此问题的原因。谢谢!内核启动信息如下: U-Boot 1.1.3 (Jul 16 2009 - 15:15:33) U-Boot code: 81080000 -> 810976AC BSS: -> 810A009C RAM Configuration: Bank #0: 80000000 256 MB MY S29 FLASH Flash: 32 MB In: serial Out: serial Err: serial ARM Clock :- 297MHz DDR Clock :- 189MHz I2C read: I/O error Hit key %to stop autoboot: 0 TFTP from server 192.168.8.102; our IP address is 192.168.8.146 Filename 'uImage'. Load address: 0x80700000 Loading: WARN: emac_send_packet: No link T ################################################################# ################################################################# ################################################################# ################################################################# ############################################# done Bytes transferred = 1557628 (17c47c hex) ## Booting image at 80700000 ... Image Name: Linux-2.6.26.5 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1557564 Bytes = 1.5 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK OK Starting kernel ... Uncompressing Linux.................................................................................................... done, booting the kernel. Linux version 2.6.26.5 (root@axyf.localdomain) (gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #8 Thu Jun 23 15:13:54 CST 2011 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 Machine: DaVinci EVM Memory policy: ECC disabled, Data cache writeback DaVinci DM6446 variant 0x1 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 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.8.146:192.168.8.102:192.168.8.102:255.255.0.0:::off root=/dev/nfs nfsroot=192.168.8.102:/home/davinciuser/workdir/filesys, nolock PID hash table entries: 1024 (order: 10, 4096 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 256MB = 256MB total Memory: 256512KB available (2916K code, 206K data, 88K init) SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok net_namespace: 192 bytes NET: Registered protocol family 16 DaVinci: 71 gpio irqs NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered NET: Registered protocol family 1 Installing ......
>>返回讨论的主题
|