免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4344 | 回复: 9
打印 上一主题 下一主题

android nfs boot problem [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-09-28 16:47 |只看该作者 |倒序浏览
Any one, who use NFS boot android?

I set the configs:
  1. bootargs=console=ttyS0,115200n8 root=/dev/nfs nfsroot=10.126.34.43:/mydroid/myfs
  2. /rootfs,nolock mem=256M noinitrd androidboot.console=ttyS0 ip=10.126.34.158:10.1
  3. 26.34.43:10.126.34.1:255.255.255.0:devkit8000:eth0:offinit=/init rw
复制代码
but I can't boot into the UI, and the kernel is ok.

from logcat
  1. 417 I/EthernetMonitor( 2632): go poll events
  2. 418 I/ethernet( 2632): Poll events from ethernet devices
  3. 419 W/dalvikvm( 2632): threadid=47: thread exiting with uncaught exception (group=0x4001b188)
  4. 420 E/AndroidRuntime( 2632): Uncaught handler: thread ConnectivityThread exiting due to uncaught exception
  5. 421 E/AndroidRuntime( 2632): *** EXCEPTION IN SYSTEM PROCESS.  System will crash.
复制代码
any suggestion?

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
2 [报告]
发表于 2010-09-28 20:22 |只看该作者
是不是system.img里面的网络需要配置一下呢?

论坛徽章:
0
3 [报告]
发表于 2010-09-28 21:32 |只看该作者
是不是system.img里面的网络需要配置一下呢?
T-Bagwell 发表于 2010-09-28 20:22



    我没用 system.img
    就是把编译出来的 /root/* /system 这两个东西 直接放在NFS的root文件夹下面用
   搞了好几天了 还是没弄好

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
4 [报告]
发表于 2010-09-29 09:16 |只看该作者
我没用 system.img
    就是把编译出来的 /root/* /system 这两个东西 直接放在NFS的root文件夹 ...
starT_T 发表于 2010-09-28 21:32



    我知道,思想不要太死
你的rootfs里面的网络需要设置,我说的是这个意思

你的boot里面的ip是没问题了
但是进入fs以后,网络貌似就不应该由你的bootloader来管理了吧?

论坛徽章:
0
5 [报告]
发表于 2010-09-30 09:31 |只看该作者
我知道,思想不要太死
你的rootfs里面的网络需要设置,我说的是这个意思

你的boot里面的ip是 ...
T-Bagwell 发表于 2010-09-29 09:16



    yes, I also think the problem caused by the file system
    Thanks a lot

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
6 [报告]
发表于 2010-09-30 09:33 |只看该作者
yes, I also think the problem caused by the file system
    Thanks a lot
starT_T 发表于 2010-09-30 09:31



    What about your system now?

论坛徽章:
0
7 [报告]
发表于 2010-09-30 09:35 |只看该作者
What about your system now?
T-Bagwell 发表于 2010-09-30 09:33



    I will try to pull the File system form the board, and put it into the NFS server, then do NFS boot

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
8 [报告]
发表于 2010-09-30 09:43 |只看该作者
I will try to pull the File system form the board, and put it into the NFS server, then do ...
starT_T 发表于 2010-09-30 09:35



   
you are very awesomeness

论坛徽章:
0
9 [报告]
发表于 2010-09-30 10:15 |只看该作者
you are very awesomeness
T-Bagwell 发表于 2010-09-30 09:43



    I don't know what does this wold 'awesomeness' mean?

论坛徽章:
0
10 [报告]
发表于 2010-10-07 21:36 |只看该作者
权限 权限 我靠 搞定
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP