android210支持nfs挂载android4.0

转载 2013年12月04日 17:28:04

zzzz: http://blog.csdn.net/longtian635241/article/details/9138149
 android210支持nfs挂载android4.0
分类: android 279人阅读 评论(0) 收藏 举报

1】在PC上安装nfs服务

sudoapt-get install nfs-kernel-server

配置nfs服务器,把挂在目录设置在/nfs/rootfs

sudovi /etc/exports

在exports文件最后添加一行:

/xiao/nfs *(rw,sync,no_root_squash)

 启动nfs服务
$sudo /etc/init.d/portmap restart
$sudo /etc/init.d/nfs-kernel-server restart

将android210.tgz文件系统解压到、xiao/nfs目录下!

android210.tgz制作脚本:

#!/bin/sh


rm ./smdkv210_root -rf
mkdir smdkv210_root




#mv ./out/target/product/smdkv210/system/app/TelephonyProvider.apk       ./vendor/urbetter/app_android/
#mv ./out/target/product/smdkv210/system/app/Phone.apk                   ./vendor/urbetter/app_android/
#mv ./out/target/product/smdkv210/system/app/Protips.apk                 ./vendor/urbetter/app_android/
#mv ./out/target/product/smdkv210/system/app/PicoTts.apk                 ./vendor/urbetter/app_android/
#mv ./out/target/product/smdkv210/system/app/TtsService.apk              ./vendor/urbetter/app_android/
#mv ./out/target/product/smdkv210/system/app/SoundRecorder.apk           ./vendor/urbetter/app_android/  
#mv ./out/target/product/smdkv210/system/app/Bluetooth.apk               ./vendor/urbetter/app_android/  
#mv ./out/target/product/smdkv210/system/app/Mms.apk                     ./vendor/urbetter/app_android/
#mv ./out/target/product/smdkv210/system/app/VoiceDialer.apk             ./vendor/urbetter/app_android/
#mv ./out/target/product/smdkv210/system/app/Network3gMonitor.apk        ./vendor/urbetter/utapps/


#mv ./out/target/product/smdkv210/system/app/CalendarProvider.apk         ./vendor/urbetter/app_android/
#mv ./out/target/product/smdkv210/system/app/Calendar.apk                 ./vendor/urbetter/app_android/
#mv ./out/target/product/smdkv210/system/app/QuickSearchBox.apk           ./vendor/urbetter/app_android/


cp ./out/target/product/smdkv210/system/lib/libstagefright*             ./vendor/urbetter/lib/
cp ./out/target/product/smdkv210/system/lib/libinterfaceffmpeg.so       ./vendor/urbetter/lib/




cp ./out/target/product/smdkv210/root/* ./smdkv210_root/ -a
cp ./out/target/product/smdkv210/system ./smdkv210_root/ -a
cp ./vendor/urbetter/app/*                ./smdkv210_root/system/app/ -a
cp ./vendor/urbetter/lib/*                ./smdkv210_root/system/lib/ -a
cp ./vendor/urbetter/etc/*                ./smdkv210_root/system/etc/ -a
cp ./vendor/urbetter/bin/*                ./smdkv210_root/system/bin/ -a
cp ./vendor/urbetter/framework/*          ./smdkv210_root/system/framework/ -a
cp ./vendor/urbetter/media/*              ./smdkv210_root/system/media/ -a
cp ./vendor/urbetter/usr/*              ./smdkv210_root/system/usr/ -a
cp ./vendor/urbetter/utapps/* ./smdkv210_root/system/app/ -a


chmod 777 ./smdkv210_root/system/vendor/bin/pvrsrvinit 


#cp ./vendor/google/gapps/*               ./smdkv210_root/ -a
tar zxvf ./busybox.tgz -C ./smdkv210_root/system/


cd smdkv210_root/
tar zcvf ../android210.tgz *
cd ..
chmod a+rw android210.tgz

2】kernel上配置nfs服务

[*] Networking support  --->

Networking options  --->

 <*> Packet socket                                                                           | | 
  | |                     <*> Unix domain sockets                                                                     | | 
  | |                     <*>   UNIX: socket monitoring interface                                                     | | 
  | |                     < > Transformation user configuration interface (NEW)                                       | | 
  | |                     [ ] Transformation sub policy support (EXPERIMENTAL) (NEW)                                  | | 
  | |                     [ ] Transformation migrate database (EXPERIMENTAL) (NEW)                                    | | 
  | |                     [ ] Transformation statistics (EXPERIMENTAL) (NEW)                                          | | 
  | |                     < > PF_KEY sockets (NEW)                                                                    | | 
  | |                     [*] TCP/IP networking                                                                       | | 
  | |                     [*]   IP: multicasting                                                                      | | 
  | |                     [*]   IP: advanced router                                                                   | | 
  | |                     [*]     FIB TRIE statistics                                                                 | | 
  | |                     [*]     IP: policy routing                                                                  | | 
  | |                     [*]     IP: equal cost multipath                                                            | | 
  | |                     [*]     IP: verbose route monitoring                                                        | | 
  | |                     [*]   IP: kernel level autoconfiguration                                                                        //其他是网络必须,NFS支持这两项一定的选上!

                           [*]     IP: DHCP support      

 Device Drivers  --->

 [*] Network device support  --->

[*]   Ethernet driver support (NEW)  --->

  <*>   DM9000 support                                                                        | | 
  | |                     [ ]     Force simple NSR based PHY polling (NEW)                                            | | 
  | |                     < >   Dave ethernet support (DNET) (NEW)                

File systems  --->

  [*] Network File Systems  --->  

--- Network File Systems                                                                    | | 
  | |                     <*>   NFS client support                                                                    | | 
  | |                     <*>     NFS client support for NFS version 2 (NEW)                                          | | 
  | |                     <*>     NFS client support for NFS version 3 (NEW)                                          | | 
  | |                     [*]       NFS client support for the NFSv3 ACL protocol extension                           | | 
  | |                     <*>     NFS client support for NFS version 4                                                | | 
  | |                     [*]     Provide swap over NFS support                                                       | | 
  | |                     [*]   NFS client support for NFSv4.1 (EXPERIMENTAL)                                         | | 
  | |                     (kernel.org) NFSv4.1 Implementation ID Domain (NEW)                                         | | 
  | |                     [*]   Root file system on NFS                                                               | | 
  | |                     [*]   Use the legacy NFS DNS resolver      

3设置NFS启动 bootargs
setenv bootargs "root=/dev/nfs nfsroot=192.168.1.228:/home/xiao/nfs ip=192.168.1.128:192.168.1.228:192.168.1.1:255.255.255.0:www.urbetter.com:eth0:off init=/init (必须添加)console=ttySAC0,115200"

相关文章推荐

Android210 android4.0 支持200W像素摄像头

Android210 android4.0 支持200W像素摄像头,适合智能家居,人脸识别,来访人员登记等项目开发,以下是详细资料: Android210的用户可以连接电源进入android4....

Android210调试android4.0支持无线模组1--无线wifi

Android210在android4.0系统平台下调试支持wifi无限模块,为嵌入式开发人员和消费类电子设备开发人员调试 无线wifi提供参考和样机演示。 此功能需要选配UT_WIFI_G模块使...

android4.0平台通过IOCTL控制LED-基于x210v3开发板

1.1     使用IOCTL测试LED 前面的实验中,我们通过sys文件系统,在sys/devices/platform/x210-led目录下建立了四个对应led的文件,通过改变这四个文件的状态...
  • armeasy
  • armeasy
  • 2013年09月10日 13:44
  • 3611

Android4.0 nfs配合Eclipse软件adb网络模式调试实验

作者:任老师,华清远见嵌入式学院讲师。 实验目的: 掌握Android4.0 Eclipse软件adb网络模式使用方法。 实验内容: 1.主机网络配置 选择ipv4: 配置主机ip: ...

Android210评估板android4.0特性解析

2 Android210评估板Android4.0新特性体验   2.1锁屏解锁 2.1.1解锁特效 锁屏装天下,解锁的圆圈右边会出现光环,但是那个不是自动的,是你在屏幕上点击一下才出现一下,...

Android4.0 USB挂载内核驱动层流程分析(三)

接上篇《Android4.0 USB挂载内核驱动层流程分析(二)》 1.android_bind static int android_bind(struct usb_composite_de...
  • airk000
  • airk000
  • 2012年08月21日 15:59
  • 6161

Android4.0Sd卡移植之使用vold自动挂载sd卡

Android4.0Sd卡移植之使用vold自动挂载sd卡   在cap631平台上移植android4.0,发现内核驱动没有任何问题,能够读写,当总不能挂载。 后来发现是因为自动挂载需要vol...

Android4.0 USB挂载内核驱动层流程分析(一)

1.platform_device 在arch/arm/mach-msm/Board-xx.c中: static struct platform_device android_usb_device ...
  • airk000
  • airk000
  • 2012年08月20日 17:59
  • 8604

UT-Exynos4412 三星ARM四核旗舰开发平台android4.0体验-9usb功能调试支持

经过2012年的等待,四核的开发平台终于跟广大嵌入从业人员见面了,下面让我们来看下UT-Exynos 4412 开发板的详细参数吧,共广大嵌入式开发人员参考。 一、UT-Exynos 4412开...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:android210支持nfs挂载android4.0
举报原因:
原因补充:

(最多只允许输入30个字)