关于OK6410 nfs启动文件系统出错求助
tftp 和nfs都配置好了,且虚拟机和开发板之间测试过都可以使用,我用tftp启动内核成功,
但是我在使用nfs启动文件系统的时候出错了
dm9000 dm9000.0: eth0: link down
dm9000 dm9000.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
VFS: Mounted root (nfs filesystem) on device 0:14.
devtmpfs: error mounting -2
Freeing init memory: 176K
Kernel panic - not syncing: No init found.Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[<c003aca8>] (unwind_backtrace+0x0/0xfc) from [<c04a7f2c>] (dump_stack+0x18/0x1c)
[<c04a7f2c>] (dump_stack+0x18/0x1c) from [<c04a7f90>] (panic+0x60/0x1ac)
[<c04a7f90>] (panic+0x60/0x1ac) from [<c00345dc>] (init_post+0xc8/0x140)
[<c00345dc>] (init_post+0xc8/0x140) from [<c00084c8>] (kernel_init+0xf4/0x130)
[<c00084c8>] (kernel_init+0xf4/0x130) from [<c0035a34>] (kernel_thread_exit+0x0/0x8)
下面是我的环境变量设置
baudrate=115200
ethaddr=00:40:5c:26:0a:5b
rverip=192.168.0.88
filesize=378540
fileaddr=C0008000
gatewayip=192.168.0.1
netmask=255.255.255.0
ipaddr=192.168.0.100
serverip=192.168.0.88
bootcmd=tftp 0xc0008000 zImage; bootm 0xc0008000
bootargs=root=/dev/nfs nfsroot=192.168.0.88:/home/zq/work/nfs_work ip=192.168.0.100:192.168.0.88:192.168.0.1:255.255.255.0::eth0:off console=ttySAC0,115200
bootdelay=5
stdin=serial
stdout=serial
stderr=serial
在网上也查不到解决方案,请各位指点下怎么弄呀?
可能是文件系统有问题 yexingdehuxi 发表于 2014-8-12 15:06 static/image/common/back.gif
可能是文件系统有问题
从nand 启动没问题,我用的是同一个文件系统, 还有一个就是我的开发板一旦重启后,就得再mount -t nfs ...一下 这算正常吗
页:
[1]