日期:2014-05-16  浏览次数:20732 次

petalinux系统启动出现Cannot open root device "<NULL>" 问题
大家好!最近我在学习petalinux系统移植,所用开发板是Xilinx的ML505,Linux版本是petalinux-v0.40-final

内核是linux-2.6。在Red Hat下定制好带MMU的petalinux系统后,从开发板启动,出现下面错误:

Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=255
erase region 1: offset=0x1fe0000,size=0x8000,blocks=4
RedBoot partition parsing not available
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Cannot open root device "<NULL>" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
<0>Rebooting in 120 seconds..Machine restart...
上面问题可能与文件系统有关,我在网上找了很多资料,也没有解决。请各位大侠指点一下,多谢!!

------解决方案--------------------
无所谓了 根文件系统跟mmu没有直接关系
你看看原linux的Kernel command line 是什么,以及原linux的flash驱动配置和mtd分区
后面2点可以参考http://topic.csdn.net/u/20120516/15/7cdfc886-785b-4dc6-87d8-17f0c8f23d97.html的三楼