- 积分
- 56
贡献84
飞刀0 FD
注册时间2011-9-12
在线时间23 小时
扫一扫,手机访问本帖
|
本帖最后由 liulover5 于 2013-9-9 19:01 编辑
我用系统是 ubuntu(非虚拟机) 12.04 + OK6410B(256m,linux 3.0.1)
1. 文件系统已经正确解压 /home/liujun/arm/share/FileSystem-Yaffs2
liujun@AND:~/arm/share/FileSystem-Yaffs2$ ls
bin dev etc lib mnt nfs.txt opt proc root sbin sdcard sys tmp udisk usr var
2. portmap 和 nfs-kernel-server正常运行(这之前 /etc/exports 中 /home/liujun/arm/share *(rw,sync,no_root_squash) 已经追加 )
iujun@AND:~/arm/share$ service portmap status portmap start/running, process 29386
liujun@AND:~/arm/share$ service nfs-kernel-server status
nfsd running
liujun@AND:~/arm/share$ ifconfig
3.终端 用的是 kermrc,已经正常使用
4.当我在uboot 输入,
setenv bootargs "root=/dev/nfs nfsroot=192.168.1.7:/home/liujun/arm/share/FileSystem-Yaffs2 ip=192.168.1.6:192.168.1.7:192.168.1.1:255.255.255.0:witech.com.cn:wlan0:off console=ttySAC0,115200"
重启之后,就出现图片错误:
mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
usbcore: registered new inte**ce driver usbhid
usbhid: USB HID core driver
asoc: wm9713-hifi <-> samsung-ac97 mapping ok
ALSA device list:
#0: smdk6410
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
s3c-rtc s3c64xx-rtc: setting system clock to 2000-01-01 07:44:40 UTC (946712680)
VFS: Unable to mount root fs via NFS, trying floppy.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[<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 [<c0008fd0>] (mount_block_root+0x204/0x25c)
[<c0008fd0>] (mount_block_root+0x204/0x25c) from [<c00090b0>] (mount_root+0x88/0xd0)
[<c00090b0>] (mount_root+0x88/0xd0) from [<c0009204>] (prepare_namespace+0x10c/0x1a8)
[<c0009204>] (prepare_namespace+0x10c/0x1a8) from [<c00084c4>] (kernel_init+0xf0/0x130)
[<c00084c4>] (kernel_init+0xf0/0x130) from [<c0035a34>] (kernel_thread_exit+0x0/0x8)
换回来下面的重启就正常了:
setenv bootargs "root=/dev/mtdblock2 rootfstype=yaffs2 console=ttySAC0,115200"
|
|