九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 4343|回复: 2
打印 上一主题 下一主题

X4412 开发板 android 4.2系统nfs启动问题

[复制链接]
跳转到指定楼层
楼主
发表于 2015-2-6 11:10:17 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
1.我在uboot里面添加DM9000驱动成功. ubuntu上设置TFTP成功.配置内核支持nfs成功.ubuntu上设置nfs成功. 拷贝文件系统的编译结果 root下和system下的所有文件到ubuntu的nfs目录.
2.uboot命令行:
设置参数:setenv bootargs lcd=vs070cxn tp=ft5x06-1024x600 cam=ov2655 mac=00:09:c0:ff:ee:58 root=/dev/nfs nfsroot=192.168.0.11:/home/david/nfs proto=tcp flags=intr rsize=1024 wsize=1024 nfsvers=3 nolock init=/init ip=192.168.0.21::192.168.0.1::255.255.255.0::eth0n loglevel=7
tftp 40008000 zImage-nfs
bootm
系统启动,启动信息太长,我只把最后的部分贴出.

[    3.600000] dm9000 dm9000.0: eth0: link down
[    3.600000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.600000] dm9000 dm9000.0: eth0: link up, 100Mbps, full-duplex, no LPA
[    6.615000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.630000] IP-Config: Guessing netmask 255.255.255.0
[    6.630000] IP-Config: Complete:
[    6.635000]      device=eth0, addr=192.168.0.21, mask=255.255.255.0, gw=192.168.0.1
[    6.640000]      host=255, domain=, nis-domain=255.255.0
[    6.645000]      bootserver=255.255.255.255, rootserver=192.168.0.11, rootpath=
[    6.655000] ALSA device list:
[    6.660000]   No soundcards found.
[    6.675000] VFS: Mounted root (nfs filesystem) on device 0:10.
[    6.680000] Freeing init memory: 344K
[    6.745000] init: /init.x4412.rc: 62: invalid option '-c/data/misc/wifi/wpa_supplicant.conf'
[    6.755000] init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead.
[    8.105000] init: cannot open '/initlogo.rle'
[    8.820000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    8.845000] EXT4-fs (mmcblk0p4): warning: maximal mount count reached, running e2fsck is recommended
[    8.855000] EXT4-fs (mmcblk0p4): recovery complete
[    8.860000] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
[    8.900000] EXT4-fs (mmcblk0p3): warning: maximal mount count reached, running e2fsck is recommended
[    8.910000] EXT4-fs (mmcblk0p3): recovery complete
[    8.915000] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,noauto_da_alloc,errors=panic
[    9.020000] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[    9.075000] android_usb: already disabled
[    9.075000] android_usb: already disabled
[    9.115000] adb_open
[    9.115000] mtp_bind_config
[    9.115000] adb_bind_config
[    9.145000] warning: `rild' uses 32-bit capabilities (legacy support in use)
shell@android:/ $ [    9.520000] pd-cam: Power-on latency exceeded, new value 376291 ns
[    9.525000] s5p-fimc exynos4-fimc.0: start latency exceeded, new value 583 ns
[    9.535000] s5p-fimc exynos4-fimc.0: state restore latency exceeded, new value 23875 ns
[    9.540000] s5p-fimc exynos4-fimc.0: stop latency exceeded, new value 625 ns
[    9.550000] s5p-fimc exynos4-fimc.0: state save latency exceeded, new value 4042 ns
[    9.555000] s5p-fimc exynos4-fimc.0: stop latency exceeded, new value 667 ns
[    9.565000] pd-cam: Power-off latency exceeded, new value 615709 ns
[    9.575000] pd-g3d: Power-on latency exceeded, new value 263667 ns
[    9.580000] mali-utgard mali-utgard.0: start latency exceeded, new value 1250 ns
[    9.585000] mali-utgard mali-utgard.0: state restore latency exceeded, new value 71750 ns
[   18.780000] nfs: server 192.168.0.11 not responding, still trying

根据以上信息分析:
nfs已经挂载成功,只是在启动文件系统过程中网络连接不上了.我在网上查了很多信息,总结后我的初步结论是: 安卓系统启动过程中重新配置网络的IP了, 导致网络断开. 但我没找到在哪里重新设置的?如何禁止这个操作?

请求帮助!
谢谢!

回复

使用道具 举报

沙发
 楼主| 发表于 2015-2-7 09:57:20 | 只看该作者
我的目的就是想自己添加驱动程序,然后调试方便.请求帮助!或者你们有什么另外的办法?
另外,我做QT系统的nfs启动,结果和这个一样,也是卡在这里.

呼叫九鼎的技术支持!请帮助,谢谢!
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2015-2-7 13:36:38 | 只看该作者
X4412开发板 nfs 启动过程中,在ubuntu中起终端 ,运行:tcpdump -nn 检测网络信息,信息太长,粘贴不全。局部结果如下:Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libicui18n.so"
13:16:58.805325 IP 192.168.0.11.2049 > 192.168.0.21.443554710: reply ok 28 lookup ERROR: No such file or directory
13:16:58.826051 IP 192.168.0.21.460331926 > 192.168.0.11.2049: 136 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libnbaio.so"
13:16:58.826179 IP 192.168.0.11.2049 > 192.168.0.21.460331926: reply ok 28 lookup ERROR: No such file or directory
13:16:58.830040 IP 192.168.0.21.477109142 > 192.168.0.11.2049: 140 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libeffects.so"
13:16:58.830233 IP 192.168.0.11.2049 > 192.168.0.21.477109142: reply ok 28 lookup ERROR: No such file or directory
13:16:58.831629 IP 192.168.0.21.493886358 > 192.168.0.11.2049: 144 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libpowermanager.so"
13:16:58.831824 IP 192.168.0.11.2049 > 192.168.0.21.493886358: reply ok 28 lookup ERROR: No such file or directory
13:16:58.842806 IP 192.168.0.21.510663574 > 192.168.0.11.2049: 112 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libdvm.so"
13:16:58.843006 IP 192.168.0.11.2049 > 192.168.0.21.510663574: reply ok 28 lookup ERROR: No such file or directory
13:16:58.845081 IP 192.168.0.21.527440790 > 192.168.0.11.2049: 116 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "drm"
13:16:58.845243 IP 192.168.0.11.2049 > 192.168.0.21.527440790: reply ok 28 lookup ERROR: No such file or directory
13:16:58.848472 IP 192.168.0.21.544218006 > 192.168.0.11.2049: 144 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libcameraservice.so"
13:16:58.848634 IP 192.168.0.11.2049 > 192.168.0.21.544218006: reply ok 28 lookup ERROR: No such file or directory
13:16:58.857729 IP 192.168.0.21.560995222 > 192.168.0.11.2049: 148 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libcamera_metadata.so"
13:16:58.857975 IP 192.168.0.11.2049 > 192.168.0.21.560995222: reply ok 28 lookup ERROR: No such file or directory
13:16:58.868119 IP 192.168.0.21.577772438 > 192.168.0.11.2049: 148 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libmediaplayerservice.so"
13:16:58.868314 IP 192.168.0.11.2049 > 192.168.0.21.577772438: reply ok 28 lookup ERROR: No such file or directory
13:16:58.872409 IP 192.168.0.21.594549654 > 192.168.0.11.2049: 112 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libETC1.so"
13:16:58.872602 IP 192.168.0.11.2049 > 192.168.0.21.594549654: reply ok 28 lookup ERROR: No such file or directory
13:16:58.877965 IP 192.168.0.21.611326870 > 192.168.0.11.2049: 124 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libssl.so"
13:16:58.878161 IP 192.168.0.11.2049 > 192.168.0.21.611326870: reply ok 28 lookup ERROR: No such file or directory
13:16:58.879795 IP 192.168.0.21.628104086 > 192.168.0.11.2049: 144 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libstagefright.so"
13:16:58.879933 IP 192.168.0.11.2049 > 192.168.0.21.628104086: reply ok 28 lookup ERROR: No such file or directory
13:16:58.888044 IP 192.168.0.21.644881302 > 192.168.0.11.2049: 144 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libdrmframework.so"
13:16:58.888249 IP 192.168.0.11.2049 > 192.168.0.21.644881302: reply ok 28 lookup ERROR: No such file or directory
13:16:58.901998 IP 192.168.0.21.661658518 > 192.168.0.11.2049: 148 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libstagefright_omx.so"
13:16:58.902194 IP 192.168.0.11.2049 > 192.168.0.21.661658518: reply ok 28 lookup ERROR: No such file or directory
13:16:58.908865 IP 192.168.0.21.678435734 > 192.168.0.11.2049: 148 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libstagefright_yuv.so"
13:16:58.909059 IP 192.168.0.11.2049 > 192.168.0.21.678435734: reply ok 28 lookup ERROR: No such file or directory
13:16:58.910649 IP 192.168.0.21.695212950 > 192.168.0.11.2049: 140 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libvorbisidec.so"
13:16:58.910809 IP 192.168.0.11.2049 > 192.168.0.21.695212950: reply ok 28 lookup ERROR: No such file or directory
13:16:58.919682 IP 192.168.0.21.711990166 > 192.168.0.11.2049: 152 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libstagefright_enc_common.so"
13:16:58.919883 IP 192.168.0.11.2049 > 192.168.0.21.711990166: reply ok 28 lookup ERROR: No such file or directory
13:16:58.921202 IP 192.168.0.21.728767382 > 192.168.0.11.2049: 152 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libstagefright_avc_common.so"
13:16:58.921381 IP 192.168.0.11.2049 > 192.168.0.21.728767382: reply ok 28 lookup ERROR: No such file or directory
13:16:58.950253 IP 192.168.0.21.745544598 > 192.168.0.11.2049: 148 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libstagefright_wfd.so"
13:16:58.950446 IP 192.168.0.11.2049 > 192.168.0.21.745544598: reply ok 28 lookup ERROR: No such file or directory
13:16:58.952559 IP 192.168.0.21.762321814 > 192.168.0.11.2049: 116 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libharfbuzz.so"
13:16:58.952752 IP 192.168.0.11.2049 > 192.168.0.21.762321814: reply ok 28 lookup ERROR: No such file or directory
13:16:58.963324 IP 192.168.0.21.779099030 > 192.168.0.11.2049: 108 lookup fh Unknown/010004015B01D401337DC38E3B0DD80146D59578000000000000000000000000 "overlay"
13:16:58.963518 IP 192.168.0.11.2049 > 192.168.0.21.779099030: reply ok 28 lookup ERROR: No such file or directory
13:16:58.971191 IP 192.168.0.21.795876246 > 192.168.0.11.2049: 112 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libhwui.so"
13:16:58.971398 IP 192.168.0.11.2049 > 192.168.0.21.795876246: reply ok 28 lookup ERROR: No such file or directory
13:16:59.003777 IP 192.168.0.21.812653462 > 192.168.0.11.2049: 136 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libhwjpeg.so"
13:16:59.003968 IP 192.168.0.11.2049 > 192.168.0.21.812653462: reply ok 28 lookup ERROR: No such file or directory
13:16:59.036021 IP 192.168.0.21.829430678 > 192.168.0.11.2049: 128 lookup fh Unknown/010004015B01D401337DC38E3B0DD80146D59578000000000000000000000000 "etc"
13:16:59.036131 IP 192.168.0.11.2049 > 192.168.0.21.829430678: reply ok 28 lookup ERROR: No such file or directory
13:16:59.042508 IP 192.168.0.21.846207894 > 192.168.0.11.2049: 140 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libtinyalsa.so"
13:16:59.042582 IP 192.168.0.11.2049 > 192.168.0.21.846207894: reply ok 28 lookup ERROR: No such file or directory
13:16:59.048534 IP 192.168.0.21.862985110 > 192.168.0.11.2049: 144 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libsecril-client.so"
13:16:59.048648 IP 192.168.0.11.2049 > 192.168.0.21.862985110: reply ok 28 lookup ERROR: No such file or directory
13:16:59.061367 IP 192.168.0.21.879762326 > 192.168.0.11.2049: 136 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libpower.so"
13:16:59.061475 IP 192.168.0.11.2049 > 192.168.0.21.879762326: reply ok 28 lookup ERROR: No such file or directory
13:16:59.242705 ARP, Request who-has 192.168.0.1 tell 192.168.0.11, length 28
13:16:59.272453 IP 192.168.0.21.896539542 > 192.168.0.11.2049: 116 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libjavacore.so"
13:16:59.272638 IP 192.168.0.11.2049 > 192.168.0.21.896539542: reply ok 28 lookup ERROR: No such file or directory
13:16:59.278056 IP 192.168.0.21.913316758 > 192.168.0.11.2049: 120 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libiprouteutil.so"
13:16:59.278237 IP 192.168.0.11.2049 > 192.168.0.21.913316758: reply ok 28 lookup ERROR: No such file or directory
13:16:59.280989 IP 192.168.0.21.930093974 > 192.168.0.11.2049: 116 lookup fh Unknown/010004015B01D401337DC38E3C0DD80147D59578000000000000000000000000 "libnetlink.so"
13:16:59.281173 IP 192.168.0.11.2049 > 192.168.0.21.930093974: reply ok 28 lookup ERROR: No such file or directory
13:17:00.239117 ARP, Request who-has 192.168.0.1 tell 192.168.0.11, length 28
13:17:00.995119 ARP, Request who-has 192.168.0.21 tell 192.168.0.11, length 28
13:17:00.995469 ARP, Reply 192.168.0.21 is-at 00:09:c0:ff:ee:58, length 46
13:17:01.239121 ARP, Request who-has 192.168.0.1 tell 192.168.0.11, length 28
13:17:04.248004 ARP, Request who-has 192.168.0.1 tell 192.168.0.11, length 28
13:17:05.247115 ARP, Request who-has 192.168.0.1 tell 192.168.0.11, length 28
13:17:06.247118 ARP, Request who-has 192.168.0.1 tell 192.168.0.11, length 28
13:17:09.253107 ARP, Request who-has 192.168.0.1 tell 192.168.0.11, length 28
13:17:10.251071 ARP, Request who-has 192.168.0.1 tell 192.168.0.11, length 28
^C
773 packets captured
773 packets received by filter
0 packets dropped by kernel

根据信息分析:
nfs启动过程中,找一些库文件找不到。我试着到文件系统里找,也没找到这些文件。

请帮助分析,谢谢!
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-11-23 20:19 , Processed in 0.017448 second(s), 17 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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