我是这个发展的新手。我试图在embest devkit上移植android。我为Android根目录和系统目录创建了ubi图像。我正在尝试在启动板时将系统ubi映像挂载到root的系统目录中。为此,我修改了init.rc
并添加了命令mount mount.img:
mount ubifs ubi1:androidhome /system ro remount
这里,“androidhome”是system.img ubi image的名称。
但是在启动主板时,这个过程在Android服务开始时就会挂起:
init: reading config file
init: device init
init: cannot open '/initlogo.rle'
init: processing action 0x29a40 (init)
init: command 'sysclktz' r=0
init: cannot find '/bin/sh', disabling 'console'
init: cannot find '/system/bin/sgx/rc.pvr', disabling 'pvr'
init: cannot find '/system/bin/vold', disabling 'vold'
init: cannot find '/system/bin/netd', disabling 'netd'
init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
init: cannot find '/system/bin/rild', disabling 'ril-daemon'
init: cannot find '/system/bin/app_process', disabling 'zygote'
init: cannot find '/system/bin/mediaserver', disabling 'media'
init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
init: cannot find '/system/bin/installd', disabling 'installd'
init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
init: cannot find '/system/bin/keystore', disabling 'keystore'
谁能告诉我哪里犯了错误?
答案 0 :(得分:0)
从日志中看,系统分区似乎没有按预期正确安装。 但我发现你正在使用“重装”,你已经安装了/系统吗?
以下是示例:
mount ubifs ubi@system /system
与此同时,对于ubifs,也应修改init的源代码,从互联网上找到补丁非常容易。