天嵌 ARM开发社区

 找回密码
 注册
查看: 1947|回复: 0

NFS方式启动TQ210的Android 4.0.4系统出错

[复制链接]
congbupt 发表于 2013-11-22 16:32:19 | 显示全部楼层 |阅读模式
本帖最后由 congbupt 于 2013-11-22 17:02 编辑

使用NFS方式启动Android开发板,出现下面的错误:
dm9000 dm9000: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is notready
ADDRCONF(NETDEV_CHANGE): eth0: link becomesready
IP-Config: Complete:
    device=eth0, addr=192.168.120.186, mask=255.255.255.0,gw=255.255.255.255,
    host=192.168.120.186, domain=, nis-domain=(none),
     bootserver=192.168.120.208,rootserver=192.168.120.186, rootpath=
dm9000 dm9000: eth0: link up, 100Mbps,full-duplex, lpa 0xCDE1
VFS: Unable to mount root fs via NFS,trying floppy.
List of all partitions:
1f00            1024 mtdblock0  (driver?)
1f01           2048 mtdblock1  (driver?)
1f02            5120 mtdblock2  (driver?)
1f03        1038336 mtdblock3  (driver?)
No filesystem could mount root, tried:  nfs
Kernel panic - not syncing: VFS: Unable tomount root fs on unknown-block(2,0)

主机NFS配置没问题,开发板从Nand启动后可以mount上NFS。下面是u-boot环境变量,请问是什么原因呢?

bootcmd=nand read.jffs2 0xc0008000 kernel;bootm 0xc0008000
netmask=255.255.255.0
gatewayip=192.168.120.254
serverip=192.168.120.186
ipaddr=192.168.120.208
bootargs=root=/dev/nfs rw rootfstype=nfs nfsroot=192.168.120.186:/home/zcw/rootfs_dir/ ip=192.168.120.186:192.168.120.208::255.255.255.0::eth0:off  init=/init console=ttySAC0,115200

已解决,参数错误,使用下面的。
bootargs=noinitrd init=/initconsole=ttySAC0 root=/dev/nfs nfsroot=192.168.120.186:/home/zcw/rootfs_dirip=192.168.120.208:192.168.120.186:192.168.120.208:255.255.255.0:::eth0:off






您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-2 21:28 , Processed in 1.062493 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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