这个问题是2.3系统的,还没解决。现在弄4.0 的系统,有了新问题。
就是35楼的问题。我的Android是4.0的,在BoardConfig.mk里面没发现有BOARD_SDMMC_BSP这个变量,我就直接编译出来后,使用make_ext4fs制作的system.img镜像,制作成EXT4格式的了。我的u-boot也是1.3.4版本,利用带的工具ext3format格式化的system分区,系统第一次启动之后就出现下面的错误:
Freeing init memory: 176K
init: cannot open '/initlogo.rle'
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p4): warning: checktime reached, running e2fsck is recommended
EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs error (device mmcblk0p3): ext4_mb_generate_buddy:736: group 1, 25600 blocks in bitmap, 32237 in gd
Aborting journal on device mmcblk0p3-8.
EXT4-fs (mmcblk0p3): Remounting filesystem read-only
EXT4-fs error (device mmcblk0p3) in ext4_reserve_inode_write:5641: Journal has aborted
EXT4-fs error (device mmcblk0p3) in ext4_evict_inode:215: Journal has aborted
rtusb init rt2870 --->
usbcore: registered new interface driver rt2870
EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:736: group 1, 25600 blocks in bitmap, 26728 in gd
Aborting journal on device mmcblk0p2-8.
EXT4-fs (mmcblk0p2): Remounting filesystem read-only
EXT4-fs error (device mmcblk0p2) in ext4_reserve_inode_write:5641: Journal has aborted
EXT4-fs error (device mmcblk0p2) in ext4_evict_inode:215: Journal has aborted
init: Unable to open persistent property directory /data/property errno: 2
我用ls查看了一下,发现也挂载上了。但是一直打印下面的信息,停留在ANDROID字样的界面,进入不了系统。
request_suspend_state: wakeup (3->0) at 5335262707 (2014-03-02 08:59:42.414075023 UTC)
init: untracked pid 2179 exited
init: untracked pid 2184 exited
request_suspend_state: wakeup (0->0) at 9111824947 (2014-03-02 08:59:46.190638013 UTC)
init: untracked pid 2230 exited
init: untracked pid 2229 exited
request_suspend_state: wakeup (0->0) at 13894569232 (2014-03-02 08:59:50.973382464 UTC)
init: untracked pid 2290 exited
init: untracked pid 2289 exited
……
要是再次启动的话,错误就会变成:
Freeing init memory: 176K
init: cannot open '/initlogo.rle'
EXT4-fs warning (device mmcblk0p2): ext4_clear_journal_err:4154: Filesystem error recorded from previous mount: IO failure
EXT4-fs warning (device mmcblk0p2): ext4_clear_journal_err:4155: Marking fs in need of filesystem check.
EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs warning (device mmcblk0p3): ext4_clear_journal_err:4154: Filesystem error recorded from previous mount: IO failure
EXT4-fs warning (device mmcblk0p3): ext4_clear_journal_err:4155: Marking fs in need of filesystem check.
EXT4-fs (mmcblk0p3): warning: mounting fs with errors, running e2fsck is recommended
EXT4-fs (mmcblk0p3): recovery complete
EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs (mmcblk0p4): warning: checktime reached, running e2fsck is recommended
EXT4-fs (mmcblk0p4): recovery complete
EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
EXT4-fs error (device mmcblk0p3): ext4_mb_generate_buddy:736: group 1, 25600 blocks in bitmap, 32237 in gd
Aborting journal on device mmcblk0p3-8.
EXT4-fs (mmcblk0p3): Remounting filesystem read-only
EXT4-fs error (device mmcblk0p3) in ext4_reserve_inode_write:5641: Journal has aborted
EXT4-fs error (device mmcblk0p3) in ext4_evict_inode:215: Journal has aborted
rtusb init rt2870 --->
usbcore: registered new interface driver rt2870
EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:736: group 1, 25600 blocks in bitmap, 26728 in gd
Aborting journal on device mmcblk0p2-8.
EXT4-fs (mmcblk0p2): Remounting filesystem read-only
EXT4-fs error (device mmcblk0p2) in ext4_reserve_inode_write:5641: Journal has aborted
EXT4-fs error (device mmcblk0p2) in ext4_evict_inode:215: Journal has aborted
一样是进入不了Android系统。