action_for_each_trigger("init", action_add_queue_tail); action_for_each_trigger("early-fs", action_add_queue_tail); action_for_each_trigger("fs", action_add_queue_tail); action_for_each_trigger("post-fs", action_add_queue_tail);
可以看出这里并没有对emmc-fs端做任何处理,老旧的2.3.4呀。。。将其改成
action_for_each_trigger("init", action_add_queue_tail); action_for_each_trigger("early-fs", action_add_queue_tail); action_for_each_trigger("emmc-fs", action_add_queue_tail); action_for_each_trigger("post-fs", action_add_queue_tail);
后解决,这种hardcore方式还是不方便,可以采用宏定义或者运行时从Kernel读取配置来选择fs或emmc-fs的方式灵活配置。
另外还有一个小问题,/data/目录有时候会写不进去东西导致dalvik虚拟机不能把cache放进去一直启动不成功,在init.rc中把
mount rootfs rootfs / ro remount