天嵌 ARM开发社区

 找回密码
 注册
查看: 1673|回复: 1

开发板 +Vmwatr+ubuntu 挂载文件系统问题

[复制链接]
wang12zhedi 发表于 2015-12-12 13:38:43 | 显示全部楼层 |阅读模式

这几天一直想实现开发板挂载虚拟机里的文件系统,这样就很方便学习内核驱动开发了,

现状是:
使用光盘自带的 u-boot-1.1.6_Q43_20100601.bin     zImage_Q43_2.6.30.4_20100531.bin   root_qtopia_2.2.0_2.6.30.4_256MB_20100601.bin
在nand里没有 u-boot,而是通过Nor的u-boot ,选择命令8启动的内核,
现在Nor的uboot 能ping通虚拟机里的Ubuntu,

参数设置 :setenv bootargs root=/dev/nfs nfsroot=192.168.2.100:/home/a123/kernel,tcp ip=192.168.2.20:192.168.2.100:192.168.2.1:255.255.255.0:a123:eth0:off console=ttySAC0

在ubuntu里使用命令 mount 192.168.2.100:/home/ubuntu/nfsroot /mnt   测试NFS安装正常,

然后启动内核,出现如下问题,该怎么解决才能实现挂载虚拟机里的文件系统

lib80211: common routines for IEEE802.11 drivers
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
IP-Config: Complete:
     device=eth0, addr=192.168.2.20, mask=255.255.255.0, gw=192.168.2.1,
     host=a123, domain=, nis-domain=(none),
     bootserver=192.168.2.100, rootserver=192.168.2.100, rootpath=
Looking up port of RPC 100003/2 on 192.168.2.100
Looking up port of RPC 100005/1 on 192.168.2.100
VFS: Mounted root (nfs filesystem) on device 0:11.
Freeing init memory: 240K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
Backtrace:
[<c0048fd4>] (dump_backtrace+0x0/0x10c) from [<c0349710>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c04b7d40 r5:c04b7700 r4:c0480248
[<c03496f8>] (dump_stack+0x0/0x1c) from [<c0349760>] (panic+0x4c/0x124)
[<c0349714>] (panic+0x0/0x124) from [<c00444f0>] (init_post+0xec/0x178)
r3:00000000 r2:c38ec200 r1:c04ee000 r0:c0411a8c
[<c0044404>] (init_post+0x0/0x178) from [<c000847c>] (kernel_init+0xcc/0xf4)
r5:c001ec40 r4:c001f05c
[<c00083b0>] (kernel_init+0x0/0xf4) from [<c0059f30>] (do_exit+0x0/0x620)
r7:00000000 r6:00000000 r5:00000000 r4:00000000
jevin 发表于 2017-1-2 23:50:41 | 显示全部楼层
我使用其他平台也碰到类似这样的问题,请问楼主解决了吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-23 21:26 , Processed in 1.023372 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表