问题:linux内核无法挂载rootfs分区,rootfs分区采用ext3格式
但我电脑安装的ubuntu12.04操作系统下是可以正常挂载rootfs分区的
系统采用SD卡启动
SD卡分三个区:
无名分区: uboot.ais
boot分区:内核镜像uImage
rootfs分区: 文件系统
分区文件使用shell脚本如附件mkcard.sh
linux内核采用2.6.3版本
uboot环境变量:
Hit any key to stop autoboot:
0
U-Boot > printenv
baudrate=115200
bootargs=console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 mem=128M
bootcmd=mmcinfo;mmc init;fatload mmc 0 c0700000 uImage;bootm
bootdelay=5
bootfile=uImage
加载的打印信息:
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace: |