|
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了, 导致网络断开. 但我没找到在哪里重新设置的?如何禁止这个操作?
请求帮助!
谢谢!
|
|