今天将内核从1.3转到2.0,在编译的时候出现如下错误:
+ make_ext4fs -s -l 536870912 -a system out/target/product/wing-chiphd/system.img out/target/product/wing-chiphd/system
Creating filesystem with parameters:
Size: 536870912
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 2048
Label:
Blocks: 131072
Block groups: 4
Reserved block group size: 31
error: do_inode_allocate_extents: Failed to allocate 3284 blocks
+ '[' 1 -ne 0 ']'
+ exit 4
error: failed to build out/target/product/wing-chiphd/system.img from out/target/product/wing-chiphd/system
make: *** [systemimage-nodeps] 错误 1
而Size: 536870912 为512M,而我在preinstall中引入的apk的大小为138M,并且在1.3中是没有此问题的。对比BoardConfig,也没什么举起出入。所以i感觉不是这个大小的问题。
又试着修改sys_partional中相关的分区大小,还是一样,
在晚上查找---