标题: 关于LINUX内核移植的问题 [打印本页] 作者: wangxd5429 时间: 2011-06-15 15:52 标题: 关于LINUX内核移植的问题 各位高手:
小弟正在移植Linux-2.6.26至达芬奇平台。编译后运行内核,采用NFS网络文件系统模式。内核运行时出现“VFS:cannot open root device “nfs” or unknown-block(0,255)”。请教出现此问题的原因。谢谢!作者: T-Bagwell 时间: 2011-06-15 17:03
能多给点信息吗?
这个真不好分析作者: yaohong0225 时间: 2011-06-16 10:22
看看内核编译吧,该是缺个选项,
#make menuconfig
General setup --->
[*] Configure standard kernel features (for small systems) --->
--- Configure standard kernel features (for small systems)
把这个选上。在进去看看这个里面的选项,其余都选上,下面两个别选。然后退出来
[ ] Include all symbols in kallsyms
[ ] Do an extra kallsyms pass
选泽File system ----->进去之后选择所有选项,如下所示
[*] /proc file system support │ │
[*] Sysctl support (/proc/sys)
[*] Enable /proc page monitoring
[*] sysfs file system support
[*] Virtual memory file system support (former shm fs)
[*] Tmpfs POSIX Access Control Lists
<*> Userspace-driven configuration filesystem
试试吧,希望对你有帮助。作者: wangxd5429 时间: 2011-06-23 15:03
感谢yaohong0225,不过,问题仍然未解决。作者: wangxd5429 时间: 2011-06-23 15:36
补充内核启动信息如下:
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