|
编译出来的system.img有问题
发表于 2016-7-18 15:04:18
浏览:9151
|
回复:7
打印
只看该作者
[复制链接]
楼主
系统:ubuntu 14.04 x64
RAM:12G
CPU:AMD 8350 8核8线程
硬盘:2T
Android SDK:4.4.2
编译环境搭建:
http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_android
我编译出来的system.img,在ubuntu里提示:不能挂载Android,无法打开MTP设备(无法使用adb)- > adb shell
- - exec '/system/bin/sh' failed: No such file or directory(2) -
复制代码
不能挂载MTP设备和正常的log之间的差异:
[ 3.385519] EXT4-fs (rknand_system): VFS: Can't find ext4 filesystem
[ 3.385679] fs_mgr: Cannot mount filesystem on /dev/block/rknand_system at /system
[ 3.385732] init: fs_mgr_mount_all returned an error
[ 3.386505] fs_mgr: parse_link_device : path = NULL
[ 3.386563] fs_mgr: parse_link_device : path = NULL
[ 3.386607] fs_mgr: parse_link_device : path = NULL
[ 3.388993] Unable to find swap-space signature
[ 3.389101] fs_mgr: swapon failed for /dev/block/zram0
[ 3.399533] init: /dev/hw_random not found
[ 3.407290] init: cannot find '/system/vendor/bin/pvrsrvctl', disabling 'pvrsrvctl'
[ 3.407367] init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
[ 3.407422] init: cannot find '/system/bin/vold', disabling 'vold'
[ 3.407522] init: cannot find '/system/bin/netd', disabling 'netd'
[ 3.407568] init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
[ 3.407644] init: cannot find '/system/bin/rild3', disabling 'ril-daemon3'
[ 3.407689] init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger'
[ 3.407734] init: cannot find '/system/bin/app_process', disabling 'zygote'
[ 3.407771] init: cannot find '/system/bin/drmserver', disabling 'drm'
[ 3.407817] init: cannot find '/system/bin/mediaserver', disabling 'media'
[ 3.407856] init: cannot find '/system/bin/installd', disabling 'installd'
[ 3.407895] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[ 3.407931] init: cannot find '/system/bin/keystore', disabling 'keystore'
[ 3.407974] init: cannot find '/system/bin/drmservice', disabling 'drmservice'
[ 3.408019] init: cannot find '/system/bin/bmd', disabling 'bmd'
[ 3.408088] init: cannot find '/system/bin/sdcard', disabling 'sdcard'
[ 3.408130] init: cannot find '/system/bin/chrome.sh', disabling 'chrome'
[ 3.408197] init: cannot find '/system/bin/akmd', disabling 'akmd'
……
log说明是无法挂载ext4文件系统的原因
然后我用file命令查看了下system.img的文件类型
可以正常使用的system.img显示:
- > file system.img
- system.img: Linux rev 1.0 ext4 filesystem data, UUID=da594c53-9beb-f85c-85c5-cedf76546f7a, volume name "system" (extents) (large files)
复制代码
提示无法挂载MTP设备的system.img显示:
- > file system.img
- system.img : data
复制代码
求助:该怎么编译出是 ext4的 system.img?
重装过系统,重新下载过4.4.2的SDK,也根据教程重新搭建过编译环境,但是问题依旧
|
|