[讨论] 为什么我明明按照三星的官方文档把yaffs 改成ext4文件系统,但是生成的还是yaffs

Wince.Android   2013-5-24 12:37 楼主
3.050782] yaffs: dev is 32505860 name is "mtdblock4" rw
[    3.054725] yaffs: passed flags ""
[    3.072633] yaffs: dev is 32505862 name is "mtdblock6" rw
烧写进SD卡和inand ,一直提示下面的信息
[    3.077577] yaffs: passed flags ""
[    3.900842] android_usb gadget: high speed config #1: Android Composite
[    3.995988] yaffs: dev is 32505861 name is "mtdblock5" rw
[    3.999926] yaffs: passed flags ""
[    4.194272] init: cannot find '/system/bin/netcfg', disabling 'ethernet_on'
[    4.201849] init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
[    4.211366] init: cannot find '/system/bin/vold', disabling 'vold'
[    4.217117] init: cannot find '/system/bin/netd', disabling 'netd'
[    4.223246] init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
[    4.230269] init: cannot find '/system/bin/rild', disabling 'ril-daemon'
[    4.243173] init: cannot find '/system/bin/app_process', disabling 'zygote'
[    4.249687] init: cannot find '/system/bin/mediaserver', disabling 'media'
[    4.256548] init: cannot find '/system/bin/ifconfig', disabling 'ifcfg_ralink'
[    4.263722] init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
[    4.270484] init: cannot find '/system/bin/installd', disabling 'installd'
[    4.277333] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[    4.285653] init: cannot find '/system/bin/keystore', disabling 'keystore'
[    4.291484] init: cannot find '/system/vendor/bin/pvrsrvinit', disabling 'pvrsrvinit'
[    4.299549] init: cannot find '/system/bin/sh', disabling 'console'

后来看android 下的build/core/makefile 居然没调用ext4 制作工具!汗,估计是这里了搞了我半天了。
init.rc 删除了yaffs mount 也不行。
如果对linux,Android,wince 等嵌入式底层有兴趣的,请加这个QQ群吧,群号:27100460

回复评论 (2)

on fs
# mount mtd partitions
    # Mount /system rw first to give the filesystem a chance to save a checkpoint
    mount ext4 /dev/block/mmcblk0p2 /system
    mount ext4 /dev/block/mmcblk0p2 /system ro wait remount
    mount ext4 /dev/block/mmcblk0p3 /data wait nosuid nodev noatime
    mount ext4 /dev/block/mmcblk0p4 /cache nosuid nodev noatime
如果对linux,Android,wince 等嵌入式底层有兴趣的,请加这个QQ群吧,群号:27100460
点赞  2013-5-24 13:44
问题已经解决,这个应该算是我经验不足。
也算是android2.3.1 的一些功能做的不足,不如android2.3.4 智能化。
老的init.rc文件是在android2.3.4 上会自动更新,但是在android2.3.1 上却不会的!,所以比较坑爹。
所以在android2.3.1 上需要手动删除init.rc 文件,然后重新在root 目录生成init.rc 就是新的有效的文件了。坑爹啊,不过这个玩意比较OK,还是比较正常,把问题给解决了。呵呵,Sate210 现在支持inand 和SDMMC 运行,烧写,真是太棒了。wince和android双系统,稳定运行了!
如果对linux,Android,wince 等嵌入式底层有兴趣的,请加这个QQ群吧,群号:27100460
点赞  2013-5-24 16:43
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复