打印
[i.MX]

imx6q android 5.0.0 nfs挂载根文件系统问题.

[复制链接]
3477|8
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
gardenhill|  楼主 | 2015-12-22 16:26 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 gardenhill 于 2015-12-22 16:29 编辑

如题:按照官网的手册,已经完成了kernel 和 android rootfs的编译,制作nfs挂载rootfs后,启动log如下:IP-Config: Complete:
     device=eth0, hwaddr=12:32:43:34:21:43, ipaddr=192.168.1.103, mask=255.255.255.0, gw=192.168.1.1
     host=192.168.1.103, domain=, nis-domain=(none)
     bootserver=192.168.1.235, rootserver=192.168.1.235, rootpath=
ALSA device list:
  #0: imx-hdmi-soc
VFS: Mounted root (nfs filesystem) on device 0:13.
devtmpfs: mounted
Freeing unused kernel memory: 328K (80ddb000 - 80e2d000)
init: /dev/hw_random not found
Console: switching to colour dummy device 80x30
init: /dev/hw_random not found
binder: 114:114 transaction failed 29189, size 0-0
init: using deprecated syntax for specifying property 'ro.serialno', use ${name} instead
init: property 'ro.serialno' doesn't exist while expanding '$ro.serialno'
init: cannot expand '$ro.serialno' while writing to '/sys/class/android_usb/android0/iSerial'
init: using deprecated syntax for specifying property 'ro.product.manufacturer', use ${name} instead
init: using deprecated syntax for specifying property 'ro.product.model', use ${name} instead
init: cannot find '/system/bin/debuggerd64', disabling 'debuggerd64'
init: cannot find '/system/bin/install-recovery.sh', disabling 'flash_recovery'
android_usb: already disabled
read descriptors
read strings
mtp_bind_config
root@tqe9_6q:/ # healthd: No charger supplies found
healthd: No battery devices found
nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
ls
^C^C^C

已经正确的mount上了 nfs的rootfs ,过一会出现
nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
ls
^C^C^Cnfs: server 192.168.1.235 not responding, still trying
nfs: server 192.168.1.235 not responding, still trying
nfs: server 192.168.1.235 not responding, still trying
nfs: server 192.168.1.235 not responding, still trying
nfs: server 192.168.1.235 not responding, still trying
nfs: server 192.168.1.235 not responding, still trying
像是在启动不久后 eth0 的ip地址被改掉了.
(nfs环境没有问题的,已经用yocto系统验证过的了).


请问如何处理???

相关帖子

沙发
NXP_TICS_Rita| | 2015-12-22 17:41 | 只看该作者
楼主你好,请问你这里使用的是官网提供的开发板么?

使用特权

评论回复
板凳
gardenhill|  楼主 | 2015-12-22 17:51 | 只看该作者
是的 im6q-SABRESDB @NXP_TICS_Rita

使用特权

评论回复
地板
gardenhill|  楼主 | 2015-12-23 23:00 | 只看该作者
官方的Android 4.4.3 文档中有说明如何设置nfs启动android,可是安装4.4.3的方法好像不行。5.0.0的文档没有说明。不知道有没有解决的办法。

使用特权

评论回复
5
gardenhill|  楼主 | 2015-12-25 09:28 | 只看该作者
顶一下.

使用特权

评论回复
6
mini1986| | 2015-12-30 13:23 | 只看该作者
查一下启动相关的文件,是不是哪里重新配置了,这句话 Use the iptables CT target to attach helpers instead给你提示了......

使用特权

评论回复
7
gardenhill|  楼主 | 2016-2-26 16:28 | 只看该作者
:L 不懂就不要回答,iptables 是 IP 信息包过滤系统,和ip地址改变有半毛钱关系吗.

使用特权

评论回复
8
mini1986| | 2016-3-1 08:59 | 只看该作者
好吧,算我多嘴了......

使用特权

评论回复
9
kris_fei| | 2016-3-25 08:56 | 只看该作者
不太了解nfs,既然是android,为啥不用boot image里的ramdisk

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3

主题

67

帖子

2

粉丝